move properties to jar plugin as specified.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114995 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett 2004-04-10 02:22:12 +00:00
parent 4492f57684
commit cdc899ecb6
3 changed files with 4 additions and 5 deletions

View File

@ -93,7 +93,7 @@
<ant:attribute name="Implementation-Title" value="${pom.package}"/>
<ant:attribute name="Implementation-Vendor" value="${pom.organization.name}"/>
<ant:attribute name="Implementation-Version" value="${pom.currentVersion}"/>
<maven:pluginVar var="mainclass" plugin="maven-java-plugin" property="maven.jar.mainclass" />
<j:set var="mainclass" value="${maven.jar.mainclass}" />
<j:if test="${!empty(mainclass)}">
<ant:attribute name="Main-Class" value="${mainclass}"/>
</j:if>

View File

@ -17,6 +17,8 @@
# -------------------------------------------------------------------
# P L U G I N P R O P E R T I E S
# -------------------------------------------------------------------
maven.jar.manifest = ${maven.conf.dir}/Manifest.mf
maven.jar.mainclass =
maven.jar.manifest.extensions.add=false
#maven.jar.includes=
maven.jar.excludes = **/package.html

View File

@ -18,8 +18,5 @@
# P L U G I N P R O P E R T I E S
# -------------------------------------------------------------------
# FIXME: Need to move these to the jar plugin
maven.jar.manifest = ${maven.conf.dir}/Manifest.mf
maven.jar.mainclass =
maven.compile.target = 1.1
maven.compile.source = 1.3