You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/09/14 11:42:15 UTC
[jira] Created: (MPEJB-15) ejb-client should use a correct manifest and should have an include propertie
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPEJB-15
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPEJB-15
Summary: ejb-client should use a correct manifest and should have an include propertie
Type: Improvement
Status: Unassigned
Priority: Major
Original Estimate: 30 minutes
Time Spent: Unknown
Remaining: 30 minutes
Project: maven-ejb-plugin
Versions:
1.5
Assignee:
Reporter: Yann
Created: Tue, 14 Sep 2004 5:41 AM
Updated: Tue, 14 Sep 2004 5:41 AM
Description:
this goal should create a manifest file describing the version...
And should use a propertie: maven.ejb.client.base.includes
here is the full change for this goal:
<goal name="ejb:ejb-client" prereqs="ejb:ejb" description="Build a client ejb file">
<ant:jar jarfile="${maven.build.dir}/${maven.final.name}-client.jar" index="${maven.ejb.client.index}">
<j:if test="${maven.ejb.manifest.available}">
<ant:setProperty name="manifest" value="${maven.ejb.manifest}" />
</j:if>
<j:set var="licenseFileName"><license:fileName/></j:set>
<util:file name="${licenseFileName}" var="licenseFile"/>
<ant:metainf dir="${licenseFile.canonicalFile.parent}">
<ant:include name="${licenseFile.canonicalFile.name}"/>
</ant:metainf>
<ant:manifest>
<ant:attribute name="Built-By" value="${user.name}"/>
<ant:attribute name="Created-By" value="Apache Maven"/>
<ant:attribute name="Package" value="${pom.package}"/>
<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}"/>
<!--
<ant:attribute name="Specification-Version" value="${pom.currentVersion}"/>
-->
<ant:attribute name="Implementation-Title" value="${pom.package}"/>
<ant:attribute name="Implementation-Vendor" value="${pom.organization.name}"/>
<ant:attribute name="Implementation-Version" value="${pom.currentVersion}"/>
</ant:section>
</ant:manifest>
<ant:fileset dir="${maven.build.dest}"
includes="${maven.ejb.client.base.includes}"
excludes="${maven.ejb.client.base.excludes},${maven.ejb.client.excludes}">
</ant:fileset>
</ant:jar>
</goal>
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MPEJB-15) ejb-client should use a correct manifest and should have an include propertie
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPEJB-15?page=all ]
Brett Porter closed MPEJB-15:
-----------------------------
Resolution: Cannot Reproduce
this manifest looks the same to me as what is already generated. maybe this was done in the past?
> ejb-client should use a correct manifest and should have an include propertie
> -----------------------------------------------------------------------------
>
> Key: MPEJB-15
> URL: http://jira.codehaus.org/browse/MPEJB-15
> Project: maven-ejb-plugin
> Type: Improvement
> Versions: 1.5
> Reporter: Yann
>
> Original Estimate: 30 minutes
> Remaining: 30 minutes
>
> this goal should create a manifest file describing the version...
> And should use a propertie: maven.ejb.client.base.includes
> here is the full change for this goal:
> <goal name="ejb:ejb-client" prereqs="ejb:ejb" description="Build a client ejb file">
> <ant:jar jarfile="${maven.build.dir}/${maven.final.name}-client.jar" index="${maven.ejb.client.index}">
> <j:if test="${maven.ejb.manifest.available}">
> <ant:setProperty name="manifest" value="${maven.ejb.manifest}" />
> </j:if>
> <j:set var="licenseFileName"><license:fileName/></j:set>
> <util:file name="${licenseFileName}" var="licenseFile"/>
> <ant:metainf dir="${licenseFile.canonicalFile.parent}">
> <ant:include name="${licenseFile.canonicalFile.name}"/>
> </ant:metainf>
> <ant:manifest>
> <ant:attribute name="Built-By" value="${user.name}"/>
> <ant:attribute name="Created-By" value="Apache Maven"/>
> <ant:attribute name="Package" value="${pom.package}"/>
> <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}"/>
> <!--
> <ant:attribute name="Specification-Version" value="${pom.currentVersion}"/>
> -->
> <ant:attribute name="Implementation-Title" value="${pom.package}"/>
> <ant:attribute name="Implementation-Vendor" value="${pom.organization.name}"/>
> <ant:attribute name="Implementation-Version" value="${pom.currentVersion}"/>
> </ant:section>
> </ant:manifest>
>
> <ant:fileset dir="${maven.build.dest}"
> includes="${maven.ejb.client.base.includes}"
> excludes="${maven.ejb.client.base.excludes},${maven.ejb.client.excludes}">
> </ant:fileset>
> </ant:jar>
> </goal>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org