Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Binary Projects (aka. Eclipse Orbit Projects)

On 03/11/2013 04:48 PM, Gunnar Wagenknecht wrote:
I'm looking for a way to "mavenize" binary OSGi bundle projects as we use them in Eclipse Orbit. Those projects do not contain source code to build but only class files.
The general approach would be to replace the compilation by just copying the class files into target/classes. However I don't see any way to skip compilation here . Not sure how to tycho-compiler-plugin behaves if there is no source folder specified in, that's worth a try.
Once you're successful with getting compiler not running, or running but doing nothing. you should add something like this to your pom.xml.

The invoked plugin execution (most likely antrunner or maven-depedency-plugin:unpack [1] ) will populate the ${}/classes with the class file you want to put in your jar.



Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

Back to the top