|
From: Eric H. <eha...@rh...> - 2005-08-23 07:34:26
|
Hi Jörg, It is loaded from driver.properties and it is the version displayed in the maven banner : http://maven.apache.org/xref/org/apache/maven/cli/App.html#936 I found it while browsing the maven sources and this propertie is used in artifact and pdf plugins ( http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/artifact/plugin.jelly?view=markup, http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/pdf/plugin.jelly?view=markup) It would be great to release a new version compatible with m1.1 ! -eric Jörg Schaible wrote: > Hi Eric, > > Eric Hartmann wrote on Monday, August 22, 2005 4:59 PM: > > >>Hi, >> >>I've tried maven-1.1 and Javaapp. And I was unable to make it >>works, it seems that the following code : >> >><j:getStatic var="mavenVersion" >>className="org.apache.maven.MavenSession" field="APP_VERSION"/> >> >>does not work anymore (There is a nosuchfieldexception while >>running maven -X). >> >>The correction may be quite simple by replacing the line >>with: <j:set var="mavenVersion" >>value="${maven.application.version}"/> > > > Do you know, where this property comes from? At least it is not documented: http://maven.apache.org/reference/properties.html > > >>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örg > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Maven-plugins-developer mailing list > Mav...@li... > https://lists.sourceforge.net/lists/listinfo/maven-plugins-developer > |