Martin,

I think the jetty version is incorrect in the pom.xml in test:sample.

It should be:

         <groupId>org.mortbay.jetty</groupId>
         <artifactId>jetty</artifactId>
         <version>[6.1.6,7.0)</version>

See if that works.

Regards, Indrajit


On 22/12/09 10:14 PM, martin odersky wrote:
> Thanks for all the help. I tried to do
>
> mvn clean
> mvn install
>
> After upgrading to maven 2.2.1, I got somewhere. It compiled a bunch
> of packages including lift-mapper, so it seems it did not in fact take
> RC6 as its compiler?
>
> But then it stopped due to a build error here.
>
> Any idea what I need to do to solve this?
>
> Thanks
>
>   -- martin
>
>
>
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] [ERROR] BUILD ERROR
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] [INFO] Failed to resolve artifact.
> [INFO]
> [INFO] Couldn't find a version in [6.1H.22, 6.1.17, 6.1.18, 6.1.19,
> 6.1.20, 6.1.21, 6.1.22] to match range [6.1.6,6.1.6]
> [INFO]   org.mortbay.jetty:jetty:jar:null
> [INFO]
> [INFO] from the specified remote repositories:
> [INFO]   scala-tools.org (http://scala-tools.org/repo-releases),
> [INFO]   central (http://repo1.maven.org/maven2),
> [INFO]   scala-tools.org.snapshots (http://scala-tools.org/repo-snapshots)
> [INFO]
> [INFO] Path to dependency:
> [INFO]  1) test:sample:war:0.1
> [INFO]
> [INFO]
> [INFO]
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] [INFO] Trace
> [INFO] org.apache.maven.lifecycle.LifecycleExecutionException:
> Couldn't find a version in [6.1H.22, 6.1.17, 6.1.18, 6.1.19, 6.1.20,
> 6.1.21, 6.1.22] to match range [6.1.6,6.1.6]
> [INFO]   org.mortbay.jetty:jetty:jar:null
> [INFO]
> [INFO] from the specified remote repositories:
> [INFO]   scala-tools.org (http://scala-tools.org/repo-releases),
> [INFO]   central (http://repo1.maven.org/maven2),
> [INFO]   scala-tools.org.snapshots (http://scala-tools.org/repo-snapshots)
> [INFO]
> [INFO] Path to dependency:
> [INFO]  1) test:sample:war:0.1
> [INFO]
> [INFO]
> [INFO]  at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711)
> [INFO]  at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> [INFO]  at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
> [INFO]  at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> [INFO]  at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> [INFO]  at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> [INFO]  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> [INFO]  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> [INFO]  at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> [INFO]  at 
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> [INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [INFO]  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [INFO]  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [INFO]  at java.lang.reflect.Method.invoke(Method.java:597)
> [INFO]  at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> [INFO]  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> [INFO]  at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> [INFO]  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO] Caused by:
> org.apache.maven.artifact.versioning.OverConstrainedVersionException:
> Couldn't find a version in [6.1H.22, 6.1.17, 6.1.18, 6.1.19, 6.1.20,
> 6.1.21, 6.1.22] to match range [6.1.6,6.1.6]
> [INFO]   org.mortbay.jetty:jetty:jar:null
> [INFO]
> [INFO] from the specified remote repositories:
> [INFO]   scala-tools.org (http://scala-tools.org/repo-releases),
> [INFO]   central (http://repo1.maven.org/maven2),
> [INFO]   scala-tools.org.snapshots (http://scala-tools.org/repo-snapshots)
> [INFO]
> [INFO] Path to dependency:
> [INFO]  1) test:sample:war:0.1
> [INFO]
> [INFO]
> [INFO]  at 
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:374)
> [INFO]  at 
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:74)
> [INFO]  at 
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:316)
> [INFO]  at 
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304)
> [INFO]  at 
> org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1499)
> [INFO]  at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442)
> [INFO]  at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> [INFO]  ... 17 more
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] [INFO] Total time: 6 seconds
> [INFO] [INFO] Finished at: Tue Dec 22 17:26:55 CET 2009
> [INFO] [INFO] Final Memory: 12M/127M
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Result of /bin/sh -c cd
> /home/odersky/workspace/scalax/lift/lift-archetype-blank/target/sample
> &&  /home/linuxsoft/apps/maven/bin/mvn -e package execution is: '1'.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 16 minutes 36 seconds
> [INFO] Finished at: Tue Dec 22 17:26:55 CET 2009
> [INFO] Final Memory: 57M/127M

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to