From: Siegfried G. <sie...@it...> - 2005-08-23 08:45:25
|
Hi Eric, lovely work - I will apply the changes next week ... Thanks in advance Siegfried Goeschl mav...@li... wrote: >Send Maven-plugins-developer mailing list submissions to > mav...@li... > >To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/maven-plugins-developer >or, via email, send a message with subject or body 'help' to > mav...@li... > >You can reach the person managing the list at > mav...@li... > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of Maven-plugins-developer digest..." > > >Today's Topics: > > 1. [javaapp] Javaapp stop working with Maven-1.1-beta-1 (Eric Hartmann) > >--__--__-- > >Message: 1 >Date: Mon, 22 Aug 2005 16:58:51 +0200 >From: Eric Hartmann <eha...@rh...> >Organization: Shared Value >To: Mav...@li... >Subject: [Maven-plugins-developer] [javaapp] Javaapp stop working with Maven-1.1-beta-1 > >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}"/> > >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). > >If someone can test this modification on maven-1.0 or 1.0.1 it may be >usefull to replace : > <!-- getStatic tag does not work in Maven 1.0 & 1.0.1 --> > <j:getStatic var="mavenVersion" >className="org.apache.maven.MavenSession" field="APP_VERSION"/> > <j:if test="${mavenVersion == null}"> > <j:set var="mavenVersion" value="1.0"/> > </j:if> > <ant:attribute name="Maven-Version" value="${mavenVersion}"/> > >by > <ant:attribute name="Maven-Version" >value="${maven.application.version}"/> > > >Regards, > >-eric > > > > > >--__--__-- > >_______________________________________________ >Maven-plugins-developer mailing list >Mav...@li... >https://lists.sourceforge.net/lists/listinfo/maven-plugins-developer > > >End of Maven-plugins-developer Digest > > > |