Allow customizing of MANIFEST.MF.
Add test cases for the customization git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114957 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
96cb1d5a48
commit
c9f3ef25d4
8 files changed
+39
-15
No files matched your search
@@ -56,6 +56,9 @@
|
||||
|
||||
<ant:echo>Building WAR ${pom.artifactId}</ant:echo>
|
||||
|
||||
<ant:available property="maven.war.manifest.available"
|
||||
file="${maven.war.manifest}"/>
|
||||
|
||||
<ant:mkdir dir="${maven.war.build.dir}" />
|
||||
<ant:jar
|
||||
destfile="${maven.war.build.dir}/${maven.war.final.name}"
|
||||
@@ -66,6 +69,10 @@
|
||||
<ant:include name="${licenseFile.canonicalFile.name}"/>
|
||||
</ant:metainf>
|
||||
|
||||
<j:if test="${maven.war.manifest.available}">
|
||||
<ant:setProperty name="manifest" value="${maven.war.manifest}" />
|
||||
</j:if>
|
||||
|
||||
<ant:manifest>
|
||||
<ant:attribute name="Built-By" value="${user.name}" />
|
||||
<ant:section name="${pom.package}">
|
||||
|
||||
Reference in new issue
Block a user