Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Trying to add a pom dependency to the target platform

>>>>> Emmanuel Chebbi <emmanuel.chebbi@xxxxxxxxxx>:

> Hi Steinar,
> If I understand your issue you are trying to:

>   1.  Download a "classic", non-OSGi artifact from Maven Central

Not quite.  The maven central artifact, is an OSGi bundle.

>   2.  Wrap this artifact as an OSGi bundle

(This step isn't necessary)

>   3.  Use this artifact as a dependency of one of your bundles

Yep.

> Am I right?

Well, not quite.  :-)

You're right in what I'm trying to accomplish but wrong in needing to wrap 
        <dependency>
            <groupId>org.neo4j.driver</groupId>
            <artifactId>neo4j-java-driver</artifactId>
            <version>1.7.5</version>
        </dependency>
since it's already an OSGi bundle.



Back to the top