Still getting the same issue, with mvn -U archetype:generate \ -DarchetypeRepository=http://scala-tools.org/repo-snapshots \ -DarchetypeGroupId=net.liftweb \ -DarchetypeArtifactId=lift-archetype-jpa-basic \ -DarchetypeVersion=1.1-SNAPSHOT \ -DgroupId=com.foo.jpaweb \ -DartifactId=JPADemo \ -Dversion=1.0-SNAPSHOT
On Oct 20, 7:58 pm, David Pollak <[email protected]> wrote: > For some reason the pom.xml files in the JPA archetypes referred to lift M4 > rather than SNAPSHOT. I've pushed a change. Once the build > (http://hudson.scala-tools.org/job/Lift/1298/) is done, try re-executing > your mvn command (make sure you do a mvn -U to pull the latest). > > To the committers - sorry for not going through review board on this one, > but it was a clear problem with a clear fix (kind of like pushing a fix to a > type-o in documentation) > > > > On Tue, Oct 20, 2009 at 4:28 PM, AndyM <[email protected]> wrote: > > > I'm having trouble doing an mvn install on the JPA example from the > > book... > > > > mvn archetype:generate \ > > -DarchetypeRepository=http://scala-tools.org/repo-snapshots\ > > -DarchetypeGroupId=net.liftweb \ > > -DarchetypeArtifactId=lift-archetype-jpa-basic \ > > -DarchetypeVersion=1.1-SNAPSHOT \ > > -DgroupId=com.foo.jpaweb \ > > -DartifactId=JPADemo \ > > -Dversion=1.0-SNAPSHOT > > > >cd JPADemo > > >mvn install > > > org.apache.maven.reactor.MavenExecutionException: The POM expression: $ > > {scala.version} could not be evaluated. Reason: Expression value '$ > > {scala.version}' references itself in 'com.foo.jpaweb:JPADemo:pom:1.0- > > SNAPSHOT'. for project com.foo.jpaweb:JPADemo at /home/amast/lift/ > > bookexample/JPADemo/pom.xml > > at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378) > > .... [deleted for brevity] > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > Caused by: org.apache.maven.project.InvalidProjectModelException: The > > POM expression: ${scala.version} could not be evaluated. Reason: > > Expression value '${scala.version}' references itself in > > 'com.foo.jpaweb:JPADemo:pom:1.0-SNAPSHOT'. for project > > com.foo.jpaweb:JPADemo at /home/amast/lift/bookexample/JPADemo/pom.xml > > at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal > > (DefaultMavenProjectBuilder.java:882) > > at > > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal > > (DefaultMavenProjectBuilder.java:506) > > ... [deleted for brevity] > > Caused by: > > org.apache.maven.project.interpolation.ModelInterpolationException: > > The POM expression: ${scala.version} could not be evaluated. Reason: > > Expression value '${scala.version}' references itself in > > 'com.foo.jpaweb:JPADemo:pom:1.0-SNAPSHOT'. > > at > > > org.apache.maven.project.interpolation.RegexBasedModelInterpolator.interpolateInternal > > (RegexBasedModelInterpolator.java:172) > > ...[deleted for brevity] > > > Any help would be greatly appreciated. > > -- > Lift, the simply functional web frameworkhttp://liftweb.net > Beginning Scalahttp://www.apress.com/book/view/1430219890 > Follow me:http://twitter.com/dpp > Surf the harmonics --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
