Rollback to version 1.9

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113498 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
michal
2003-06-16 20:41:36 +00:00
parent 6e4245a3a1
commit e8e576fbea
2 changed files with 1 additions and 68 deletions

View File

@@ -9,47 +9,7 @@
xmlns:resources="resources"
xmlns:util="jelly:util"
xmlns:doc="doc"
xmlns:m="maven"
xmlns:define="jelly:define"
xmlns:velocity="jelly:velocity"
>
<define:taglib uri="manifest">
<!--
|
| @destFile
|
-->
<define:tag name="create-file">
<j:set
var="templatePath"
value="${pom.getPluginContext('maven-jar-plugin').getVariable('plugin.dir')}/plugin-resources/templates"/>
<j:set
var="mainclass"
value="${$pom.getPluginContext('maven-java-plugin').getVariable('maven.jar.mainclass')}"/>
<j:set
var="addExtension"
value="${pom.getPluginContext('maven-jar-plugin').getVariable('${maven.jar.manifest.extensions.add')}"/>
<ant:echo>Creating MANIFEST file:${destFile}</ant:echo>
<velocity:merge
name="${destFile}"
basedir="${templatePath}"
template="manifest.vm"/>
</define:tag>
</define:taglib>
xmlns:m="maven">
<!-- ================================================================== -->
<!-- J A R -->

View File

@@ -1,27 +0,0 @@
Built-By="${user.name}
Created-By=Apache Jakarta Maven
Package=${pom.package}
Build-Jdk=${java.version}
Extension-Name=${pom.artifactId}
Specification-Version=${pom.specificationVersion}
Specification-Vendor=${pom.organization.name}
Specification-Title=${pom.shortDescription}
Implementation-Version=${pom.currentVersion}
Implementation-Vendor=${pom.organization.name}
Implementation-Vendor-Id=${pom.organization.identifier}
#if(${mainclass})
Main-Class=${mainclass}
#end
#if( ${addExtension})
#foreach($artifact in $project.artifacts)
#set($extensionList = $artifact.artifactId)
#end
Extension-List ${extensionList}
#foreach($artifact in $project.artifacts)
${dep.artifactId}-Extension-Name${dep.artifactId}
${dep.artifactId}-Implementation-Version${dep.version}
${dep.artifactId}-Implementation-URLhttp://www.ibiblio.org/maven${artifact.urlPath}
#end
#end