You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/10/28 23:19:59 UTC

cvs commit: maven/src/plugins-build/jar plugin.jelly

dion        2003/10/28 14:19:59

  Modified:    src/plugins-build/jar plugin.jelly
  Log:
  Start using tag instead of ${pom.getPluginContext(....)}
  
  Revision  Changes    Path
  1.22      +1 -1      maven/src/plugins-build/jar/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/jar/plugin.jelly,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- plugin.jelly	5 Sep 2003 21:22:26 -0000	1.21
  +++ plugin.jelly	28 Oct 2003 22:19:58 -0000	1.22
  @@ -53,7 +53,7 @@
           <ant:attribute name="Implementation-Version" value="${pom.currentVersion}"/>
           <ant:attribute name="Implementation-Vendor" value="${pom.organization.name}"/>
           <ant:attribute name="Implementation-Vendor-Id" value="${pom.organization.identifier}"/>
  -        <j:set var="mainclass" value="${pom.getPluginContext('maven-java-plugin').getVariable('maven.jar.mainclass')}"/>
  +        <maven:pluginVar var="mainClass" plugin="maven-java-plugin" property="maven.jar.mainclass" />
           <j:if test="${!empty(mainclass)}">
               <ant:attribute name="Main-Class" value="${mainclass}"/>
           </j:if>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org