Hi Everyone,

I've recently had to convert my and build system to maven and after lots of
googling I've gotten to a stage where all of my own osgi bundles build fine
(ipojo weaving included).

I get into trouble when running "mvn pax:provision" however with these
external dependencies:

[WARNING] Skipping non-bundle artifact jfree:jfreechart:jar:1.0.12:compile
[WARNING] Skipping non-bundle artifact
org.apache.httpcomponents:httpclient:jar:4.0:compile

I've defined these in my parent pom as:

        <dependency>
            <groupId>jfree</groupId>
            <artifactId>jfreechart</artifactId>
            <version>1.0.12</version>
            <type>jar</type>
            <scope>compile</scope>
            <optional>false</optional>
        </dependency>
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
            <version>4.0</version>
        </dependency>

These dependencies get pulled into my local maven repo fine as part of the
build steps to produce the bundle jars so I'm at a loss as to why they can't
be pulled from the repo as part of the provision. Other dependencies (such
as ones for SLF4J) work just fine.

I'm certainly missing something in my understanding, but after lots of
googling I'm none the wiser.

Thanks!
Steph
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to