Pete,

How are you dealing with your JUnit tests in src/test/java? Does your
target platform also includes the test dependencies and you have
another runtime target platform for when you are building you app? Or
are you adding the test dependencies manually to the .classpath (afaik
there is no way to tell maven-eclipse-plugin to only generate imports
for test dependencies)?

-- yuri

On Mon, Apr 25, 2011 at 5:41 PM, Pete Carapetyan
<[email protected]> wrote:
>
> On Mon, Apr 25, 2011 at 4:06 PM, Yuri de Wit <[email protected]> wrote:
>>
>> Forgive my ignorance wrt to Tycho, but do you know if it is possible
>> to have a 100% pom-centric build with it?
>
> This reply is borderline off topic but I'll put it in with the mix of
> answers you will get, just in case it helps.
> I do as much of my eclipse RCP [aka OSGi]  app as I possibly can *without*
> using eclipse plugin projects, just plain old maven bundles that I build
> with the felix maven plugin. As part of this maven build, I use
> the maven-dependency-plugin to copy these plain old osgi bundles into the
> target platform folder of my RCP app, and I'm using these plain old bundles
> as OSGi bundles inside my eclipse RCP app.
> All of my plain old maven bundles build easily with one mvn install command
> to the parent pom - simple, easy, clean stuff.
> Then, those very few bundles left which *MUST* be PDE projects (4 of 25 so
> far) because they use extensions are small and manageable in number where I
> don't even feel the need for tycho yet. It will be a tycho build soon, but
> the point for me is that making all my bundles PDE bundles just so I can use
> one tool to build them all is whacko crazy thinking.  Didn't start out
> thinking that, but that's what I think now.
> My 2c, your mileage may vary, yada yada.
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>
>

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

Reply via email to