Fix MPEJB-9.

Don't add a Class-Path to the manifest if the entry is empty


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114959 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion
2004-03-31 05:45:37 +00:00
parent 02eb42021b
commit 2130debb7c
2 changed files with 10 additions and 1 deletions

View File

@@ -108,7 +108,10 @@
<ant:attribute name="Built-By" value="${user.name}"/>
<ant:attribute name="Created-By" value="Apache Jakarta Maven"/>
<ant:attribute name="Package" value="${pom.package}"/>
<ant:attribute name="Class-Path" value="${maven.ejb.classpath}"/>
<j:set var="classPath" value="${maven.ejb.classpath}"/>
<j:if test="${!empty(classPath)}">
<ant:attribute name="Class-Path" value="${maven.ejb.classpath}"/>
</j:if>
<ant:section name="${pom.package}">
<ant:attribute name="Specification-Title" value="${pom.artifactId}"/>
<ant:attribute name="Specification-Vendor" value="${pom.organization.name}"/>

View File

@@ -24,6 +24,12 @@
</properties>
<body>
<release version="1.4" date="in CVS">
<action dev="dion" type="fix">
Don't generate a Class-Path manfiest entry if there are no jars with ejb.manifest.classpath set to true
</action>
</release>
<release version="1.3" date="2004-01-29">
<action dev="dion" type="fix">
Only include maven.ejb.src if it exists