maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Chis (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MEJB-27) duplicated ejb-jar.xml
Date Mon, 10 Sep 2007 14:30:11 GMT
duplicated ejb-jar.xml
----------------------

                 Key: MEJB-27
                 URL: http://jira.codehaus.org/browse/MEJB-27
             Project: Maven 2.x Ejb Plugin
          Issue Type: Bug
    Affects Versions: 2.1, 2.0
         Environment: Windows XP, jdk 1.4.2, maven 2.0.7
            Reporter: Stefan Chis
         Attachments: trainingwall_mdb-1.0.0.jar

The ejb-jar.xml descriptor is duplicated in the generated jar file (the ejb archive). The
project is a J2EE multi-module project. The weird thing, is this project is the only one affected,
other J2EE multi-module project are built just fine.

Anyway, I am attaching the generated artifact, as evidence of the problem.

Also, here is the relevant snippet from the child pom:

    <resources>
      <resource>
        <directory>src/main/resources/meta-inf</directory>
        <targetPath>meta-inf</targetPath>
      </resource>
    </resources>

    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-ejb-plugin</artifactId>
        <configuration>
          <archive>
           <manifest>
               <addClasspath>true</addClasspath>
           </manifest>
          </archive>
        </configuration>
      </plugin>
    </plugins>

Problem affects the versions 2.0, 2.1of the ejb plugin.


-- 
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

        

Mime
View raw message