Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Bundles with internal jars

Hello,

I do not have a lot of  maven and tycho experience either, but the following could be one way to achieve it:

You can use the goal "copy" of the dependency maven plugin (http://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html) to copy an artifact from the repository to a defined location.
You probably need to bind that plugin to the generate-resources phase and reference the location where the artifacts are copied from within your build.properties.

Note: i do not know if eclipse / m2eclipse is able to handle this situation.

Regards,
Davy




Date: Fri, 13 May 2011 09:54:49 +0200
From: joerge@xxxxxxxxx
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Bundles with internal jars

I'm new to tycho, though I have some maven experience. In my company we are currently evaluating moving our builds to tycho. Now we have some bundles that for various reasons carry some jars within them, rather then using their classes via OSGI dependencies. 
Now here is the question: would it be possible to dependeny resolve these jars via maven in the build alongside using tycho to drive the main OSGI bundle build?
I've looked through the samples and searched the mailing list but couldn't find any pointers to any such scenario. I'd be more than happy to get a quick indication whether something like this is at all possible or whether something like this is deemed so silly as to avoid it under all circumstances.
Thanks in advance

Jörg

_______________________________________________ tycho-user mailing list tycho-user@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/tycho-user

Back to the top