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

Reply via email to