[ https://issues.apache.org/jira/browse/MEJB-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17966049#comment-17966049 ]
Olivier Lamy commented on MEJB-22: ---------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-ejb-plugin#58|https://github.com/apache/maven-ejb-plugin/issues/58]. > Cannot specify additional classpath entries in ejb manifest when using > addClasspath > ----------------------------------------------------------------------------------- > > Key: MEJB-22 > URL: https://issues.apache.org/jira/browse/MEJB-22 > Project: Maven EJB Plugin (Moved to GitHub Issues) > Issue Type: Bug > Affects Versions: 2.1 > Environment: Windows Xp, JDK 1.4, maven 2.0.4 > Reporter: Wisniewski Eric > Assignee: Stephane Nicoll > Priority: Major > > 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 was sent by Atlassian Jira (v8.20.10#820010)