[ http://jira.codehaus.org/browse/MEJB-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_85957 ]
Stephane Nicoll commented on MEJB-22: ------------------------------------- It has certainly nothing to do with the EJB plugin per se. If it still an issue it's in the plexus archiver. > Cannot specify additional classpath entries in ejb manifest when using > addClasspath > ----------------------------------------------------------------------------------- > > Key: MEJB-22 > URL: http://jira.codehaus.org/browse/MEJB-22 > Project: Maven 2.x Ejb Plugin > Issue Type: Bug > Affects Versions: 2.1 > Environment: Windows Xp, JDK 1.4, maven 2.0.4 > Reporter: Wisniewski Eric > Fix For: 2.1 > > > The plugin configuration snippet below leads to the generation of an illegal > jar manifest file, as it contains two Class-Path entries. This works in Maven > 1.1b2 by adding the following to project.properties: > maven.jar.manifest.classpath.add=true > maven.jar.classpath=help/ resources/ > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-jar-plugin</artifactId> > <configuration> > <archive> > <manifest> > <addClasspath>true</addClasspath> > </manifest> > <manifestEntries> > <Class-Path>resources/</Class-Path> > </manifestEntries> > </archive> > </configuration> > </plugin> > And the generating manifest : > Manifest-Version: 1.0 > Archiver-Version: Plexus Archiver > Created-By: Apache Maven > Built-By: 1691694 > Build-Jdk: 1.4.2_06 > Extension-Name: cfp-ejb > Implementation-Title: cfp-ejb > Implementation-Version: 1.0-SNAPSHOT > Class-Path: junit-3.8.1.jar > Class-Path: resources/ -- 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