[
http://jira.codehaus.org/browse/MEJB-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149391#action_149391
]
Ludovic Claude commented on MEJB-27:
------------------------------------
Why is there no fast-fail in the Ejb plugin when you try to add a lowercase
meta-inf/ folder from the resources? This would avoid this type of issues
completely.
> 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.0, 2.1
> 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