More Info:

In my war pom, I have the following:

...
        <dependencies>
                <dependency>
                        <groupId>com.test</groupId>
                        <artifactId>my-ejb</artifactId>
                        <type>ejb-client</type>
                </dependency>
...
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-war-plugin</artifactId>
                                <version>2.0.1</version>
                                <configuration>
                                        
<warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
                                        <archive>
                                                <manifest>
                                                        
<addClasspath>true</addClasspath>
                                                        
<classpathPrefix>lib/</classpathPrefix>
                                                </manifest>
                                        </archive>
                                </configuration>
                        </plugin>


So I have on ear root the war, the ejb and the ejb-client archives, but the
manifest of the war as all entries prefixed with "lib/" so it doesn't find
the client ... I would need a way of forcing the ejb-client entry to have no
prefix (or "/" prefix).

I'm still looking for examples, but without success so far.


Thanks
-- 
View this message in context: 
http://old.nabble.com/Maven-EAR-%2B-EJB-...-jars-with-prefixed-%22lib-%22-except-for-EJB-tp28618592p28619438.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to