[
https://jira.codehaus.org/browse/MECLIPSE-459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=313726#comment-313726
]
Christian Gossart commented on MECLIPSE-459:
--------------------------------------------
Same problem here with slf4j-api-1.6.1 which is an OSGi bundle: dependency is
not in provided scope, and PDE mode is enabled.
I used the patch against the 2.9 tagged source of the plugin, and it worked as
expected: the .project and the .classpath contain now the slf4j-api reference.
Is there any hope to see this issue fixed in future release? Either not
skipping the OSGi artefacts or a config option as proposed by Eugene.
Maintaining a custom MEP will not be easy in my current project context.
> missing artifact references with pde mode enabled
> -------------------------------------------------
>
> Key: MECLIPSE-459
> URL: https://jira.codehaus.org/browse/MECLIPSE-459
> Project: Maven 2.x Eclipse Plugin
> Issue Type: Bug
> Components: Core : Dependencies resolution and build path
> (.classpath), PDE support
> Affects Versions: 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.5.1
> Environment: Maven version: 2.0.9
> Java version: 1.5.0_11
> OS name: "linux" version: "2.6.15-51-686" arch: "i386" Family: "unix"
> Reporter: Benjamin Voigt
> Priority: Critical
> Attachments: pde_dep_missing.zip, pde.patch.txt
>
>
> Some artifacts are not referenced after executing mvn eclipse:eclipse and
> having pde mode enabled. The strange thing is, that this does only happen for
> particluar versions of an artifact.
> Two artifacts that I found with this problem are jetty (org.mortbay.jetty)
> and slf4j-log4j12 (org.slf4j-log4j12). Jetty versions beyond 6.1.5 work with
> pde enabled, higher versions do not. Same for slf4j-log4j12 versions =< 1.1.0.
> Attached is an example project demonstrating the problem. Turn pde mode
> on/off in the pom and execute mvn eclipse:eclipse.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira