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:
parent
4492f57684
commit
cdc899ecb6
@ -93,7 +93,7 @@
|
|||||||
<ant:attribute name="Implementation-Title" value="${pom.package}"/>
|
<ant:attribute name="Implementation-Title" value="${pom.package}"/>
|
||||||
<ant:attribute name="Implementation-Vendor" value="${pom.organization.name}"/>
|
<ant:attribute name="Implementation-Vendor" value="${pom.organization.name}"/>
|
||||||
<ant:attribute name="Implementation-Version" value="${pom.currentVersion}"/>
|
<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)}">
|
<j:if test="${!empty(mainclass)}">
|
||||||
<ant:attribute name="Main-Class" value="${mainclass}"/>
|
<ant:attribute name="Main-Class" value="${mainclass}"/>
|
||||||
</j:if>
|
</j:if>
|
||||||
|
|||||||
@ -17,6 +17,8 @@
|
|||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
# P L U G I N P R O P E R T I E S
|
# 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.manifest.extensions.add=false
|
||||||
#maven.jar.includes=
|
#maven.jar.includes=
|
||||||
maven.jar.excludes = **/package.html
|
maven.jar.excludes = **/package.html
|
||||||
|
|||||||
@ -18,8 +18,5 @@
|
|||||||
# P L U G I N P R O P E R T I E S
|
# 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.target = 1.1
|
||||||
maven.compile.source = 1.3
|
maven.compile.source = 1.3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user