Is there any way to reset maven's repository? I think there is
something corrupt because the behavior is really strange. I think this
is the cause of my error.
Thanks,
On Oct 15, 2009, at 5:52 PM, GA wrote:
It is strange. I do not have the entries that you are saying in the
pom.xml
Just remove ~/.m2
The next time you make a maven call it'll then download all the new
JAR files.
Cheers, Tim
On 16 Oct 2009, at 09:35, GA wrote:
Is there any way to reset maven's repository? I think there is
something corrupt because the behavior is really strange. I think
this is the
Thanks for the info. I downloaded all the jars again, but it did not
solved my problem. Now for some reason, if I initiate everything from
scratch even with version 1.0 it does not work anymore.
If I add the entry:
dependency
groupIdnet.liftweb/groupId
You must be missing the correct repository tag. Check that you have:
repositories
repository
idscala-tools/id
urlhttp://scala-tools.org/repo-snapshots/url
/repository
repository
idscala-tools-releases/id
urlhttp://scala-tools.org/repo-releases/url
This is what it comes with my pom.xml
repositories
repository
idscala-tools.org/id
nameScala-Tools Maven2 Repository/name
urlhttp://scala-tools.org/repo-releases/url
/repository
/repositories
pluginRepositories
pluginRepository
Hmm, as Tim pointed out, ensure that you have another repository/
section for the snapshots. Looks like that's missing in your pom.xml
Put this one within repositories/ section and you'd be good to go:
repository
idscala-tools-snapshots/id
urlhttp://scala-tools.org/repo-snapshots/url
No - 1.1-SNAPSHOT is (surprisingly) in the snapshot repository. Make
your repositories node look like the one I pasted and you should find
your project working ones more.
Cheers, Tim
On 16 Oct 2009, at 11:59, GA wrote:
This is what it comes with my pom.xml
repositories
repository
Yes, the error is important.
Can you try a:
mvn clean jetty:run
Cheers, Tim
On 16 Oct 2009, at 12:40, GA wrote:
Ok, now we have an improvement. I did the following:
I replaced the following part of my pom.xml:
repositories
repository
idscala-tools.org/id
More errors. Shouldn't this be working right after the creation? I am
talking about brand new projects. It is absolutely empty. It has only
the delivered User model.
[WARNING] Multiple versions of scala libraries detected!
[INFO] includes = [**/*.scala,]
[INFO] excludes = []
[INFO] Compiling
Try creating a blank project, not a basic one... Lets see what happens
then.
Cheers, Tim
On 16 Oct 2009, at 13:39, GA wrote:
More errors. Shouldn't this be working right after the creation? I
am talking about brand new projects. It is absolutely empty. It has
only the delivered User
I did it. This is the first par of my pom.xml
modelVersion4.0.0/modelVersion
groupIdcom.server/groupId
artifactIdServer/artifactId
version1.1-SNAPSHOT/version
packagingwar/packaging
nameServer/name
inceptionYear2007/inceptionYear
properties
You have to make sure that the version of Scala in your pom.xml file is
2.7.5.
On Fri, Oct 16, 2009 at 4:40 AM, GA my_li...@me.com wrote:
Ok, now we have an improvement. I did the following:
I replaced the following part of my pom.xml:
repositories
repository
Why is it getting the 2.7.1 version in first place? The pom.xml is
created by maven from the archetype and repository right?
Is it perhaps some environment setup that I have or I should have?
On Oct 16, 2009, at 4:24 PM, David Pollak wrote:
You have to make sure that the version of Scala
Could you please send me a pom.xml example for lift 1.1?
Cheers,
GA
On Oct 16, 2009, at 4:28 PM, GA wrote:
Why is it getting the 2.7.1 version in first place? The pom.xml is
created by maven from the archetype and repository right?
Is it perhaps some environment setup that I have or I
On Fri, Oct 16, 2009 at 7:28 AM, GA my_li...@me.com wrote:
Why is it getting the 2.7.1 version in first place? The pom.xml is created
by maven from the archetype and repository right?
It seems that you created your project against the Lift 1.0 archetype and
are try to upgrade it to 1.1-X.
You were right. I was making things complicated.
the mvn command I was writing was wrong... I stopped and started all
over. I retyped it from scratch and I found the errors.
Thanks for your help guys. My project works in 1.1-M6 just fine.
Cheers,
GA
On Oct 16, 2009, at 5:04 PM, David
Here you have the complete model file.
It is just a test class. The error I have is Not found: Type IdPK. I
get it when I try to compile the file. Also NetBeans is showing the
error. The same file was working fine in Lift 1.0.
I have created a new project based on the Lift snapshot 1.1
I'm not sure what's going on. This code worked for me in a brand new
archetype-basic 1.1-SNAPSHOT project.
Please make sure the following entry is in your pom.xml file:
dependency
groupIdnet.liftweb/groupId
artifactIdlift-mapper/artifactId
version1.1-SNAPSHOT/version
18 matches
Mail list logo