Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Packaging type 'bundle' prevents 'Maven Dependencies' from being created

Does the project build successfully on command line using maven 3.0.2?
What compiler does the project use (pax:compile, for example, is NOT
supported by m2e at the moment).

Generally, m2e is expected to resolve project dependencies and setup
Maven Dependencies classpath container for all projects that use
maven-compiler-plugin with compilerId=javac.

--
Regards,
Igor

On 11-07-25 7:31 AM, Lindsay Smith wrote:
Hi there,

I’m experimenting with a clean eclipse 3.7 installation, and I’ve
installed m2e from the eclipse update site. On the whole it looks slick,
very nice.

However I have an issue – my projects have packaging type ‘bundle’. It
should be treated like a Java project, but when the project is set up I
don’t the ‘Maven Dependencies’. I’ve seen some comments around this
area, such as this bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=337010

However this problem is still happening for these ‘bundle’ projects.
They have, naturally, plugins configured in the pom that handle this
packaging type.

If I switch the packaging type to ‘jar’ and update the project
configuration, I get the correct dependency group. I can then switch it
back and it stays around, so that’s my workaround at this stage.

Thanks

Lindsay



Back to the top