Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.6
-
Labels:None
-
Number of attachments :
Description
In the ejb-plugin we have the possibility to set the manifest Class-Path - Entry. The war-plugin should be able to do this accordingly.
It should be possible to set the Class-Path-Entry WITHOUT bundling the dependencies.
Generally it would be a good idea to centralize the manifest-Building somehow; currently manifest-buildung is done in different ways in
jar, war, ear - plugins
My simplified change of war:war is
"
<j:forEach var="dep" items="$
">
<j:if test="$
">
<j:set var="tmobile.maven.war.classpath" value="$
</j:if>
</j:forEach>
"
AND
<ant:attribute name="Class-Path" value="${tmobile.maven.war.classpath}
"/>
Issue Links
- is duplicated by
-
MPWAR-2
Include dependency as manifest-classpath
-
I would suggest that the name of the depepency property is "de-pluginalized" from ejb.manifest.classpath to manifest.classpath, so that the name could be shared across all J2EE module types (although I wouldn't include the ear in the list
. Anyway, prio 1 is definitely to get the functionality into the war plug-in - with or without cleaning up the naming (so that as a next step, the ear plug-in could automatically collect dependent jars by scanning the poms of its dependent modules).