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 19:16:41 UTC
cvs commit: maven/src/plugins-build/artifact plugin.jelly
dion 2003/10/28 10:16:41
Modified: src/plugins-build/artifact plugin.jelly
Log:
Remove unnecessary pom.getPluginContext stuff
Revision Changes Path
1.3 +5 -18 maven/src/plugins-build/artifact/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/artifact/plugin.jelly,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- plugin.jelly 19 Aug 2003 05:06:30 -0000 1.2
+++ plugin.jelly 28 Oct 2003 18:16:41 -0000 1.3
@@ -48,29 +48,16 @@
<define:tag name="manifest-file">
<j:if test="${templateBasedir == null}">
- <j:set
- var="templateBasedir"
- value="${pom.getPluginContext('maven-artifact-plugin').getVariable('maven.artifact.manifest.basedir')}"/>
+ <j:set var="templateBasedir" value="${maven.artifact.manifest.basedir}"/>
</j:if>
-
<j:if test="${template == null}">
- <j:set
- var="template"
- value="${pom.getPluginContext('maven-artifact-plugin').getVariable('maven.artifact.manifest.template')}"/>
+ <j:set var="template" value="${maven.artifact.manifest.template}"/>
</j:if>
-
-
-
-
- <j:set
- var="mainclass"
- value="${pom.getPluginContext('maven-artifact-plugin').getVariable('maven.artifact.manifest.mainclass')}"/>
+
+ <j:set var="mainclass" value="${maven.artifact.manifest.mainclass}"/>
- <j:set
- var="addExtensions"
- value="${pom.getPluginContext('maven-artifact-plugin').getVariable('maven.artifact.manifest.extensions.add')}"/>
-
+ <j:set var="addExtensions" value="${maven.artifact.manifest.extensions.add}"/>
<ant:echo>Creating MANIFEST file:${filename}</ant:echo>
<ant:echo>Mainclass: ${mainclass}</ant:echo>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org