From: <Joe...@El...> - 2005-08-23 07:01:54
|
Hi Eric, Eric Hartmann wrote on Monday, August 22, 2005 4:59 PM: > Hi, >=20 > I've tried maven-1.1 and Javaapp. And I was unable to make it > works, it seems that the following code : >=20 > <j:getStatic var=3D"mavenVersion" > className=3D"org.apache.maven.MavenSession" field=3D"APP_VERSION"/> >=20 > does not work anymore (There is a nosuchfieldexception while > running maven -X). >=20 > The correction may be quite simple by replacing the line > with: <j:set var=3D"mavenVersion" > value=3D"${maven.application.version}"/> Do you know, where this property comes from? At least it is not = documented: http://maven.apache.org/reference/properties.html =20 > I've tested this with Maven-1.0.2 and it works well (I cannot > test it with maven-1.0 and maven-1.0.1 since they are not > available on the maven site). I don't have it also anymore. For me it's just the question, if it is = really relevant ... the version is only used to set the "Maven-Version" = entry in the Manifest. If nobody objects I would release javaapp 1.3.1 = to ensure M1.1 compatibility. [snip] WDYT? - J=F6rg |