[ 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to