Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Embed-Dependency are not copied to the project anymore

How do you run your app and/or tests that "do cannot see" the classes
from embedded dependencies?

--
Regards,
Igor

On 12-03-22 5:52 PM, Yves Langisch wrote:
Hi,

I use the maven-bundle-plugin to generate a wrapper bundle. Before
the reworked<Embed-Dependency>  support [1] I was able to properly
import the project into Eclipse using m2e. With the appropriate
lifecycle mapping the MANIFEST.MF was created and the dependencies
have been copied into the project directory (folder jar
with<Embed-Directory>jars<Embed-Directory>).

Now with the new version I had to remove the mapping. The MANIFEST.MF
is generated but the Embed-Directory is missing now. My classpath
entries in the manifest look like e.g. 'jars/restlet.jar,...' which
is fine. But since the jars are not in place the path is not valid
and the referencing plugins cannot see the exported restlet classes.

How can I make this work again with m2e 1.0 / 0.6.0 ?

[1]
https://github.com/sonatype/m2eclipse-tycho/commit/52acd659504dfb55306f6d06d569f7d2f8752cfc

 Thanks Yves



_______________________________________________ m2e-users mailing
list m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top