Add all Maven compilation dependencies to the Eclipse classpath
---------------------------------------------------------------

                 Key: PAXCONSTRUCT-66
                 URL: http://issues.ops4j.org/jira/browse/PAXCONSTRUCT-66
             Project: Pax Construct
          Issue Type: Improvement
          Components: maven-pax-plugin
    Affects Versions: 0.6.4
            Reporter: Stuart McCulloch
            Assignee: Stuart McCulloch
            Priority: Minor
             Fix For: 1.0


Currently, the maven-pax-plugin only adds provided and test dependencies to the 
Eclipse classpath.

This is done because Eclipse/PDE uses the manifest to determine the Plug-in 
Dependencies, so we
cannot assume these dependencies will be found by PDE even if they are plug-ins 
or OSGi bundles.
Therefore we add them as Required Libraries, so they will always be found.

Compile and runtime scope dependencies weren't previously added because it was 
assumed they
would be used when embedding content inside bundles - and embedded entries 
already appear on
the classpath, hence no need to add the raw dependencies.

However, people often add bundle dependencies with the default scope (compile) 
which means that
they wouldn't see these dependencies (as they might expect) - so to make things 
simpler I've decided
to add *all* Maven dependencies to the Eclipse classpath.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to