Hi Rafal, do you have any example of how to use Tycho in this way? I had tried Tycho before and that seems to let me augment my POM with information from an existing manifest. But I would like to generate a manifest from the POM, which seems to work but I am running into the problem of it being overwritten during auto-build.
Thanks, Andrew From: Rafał Krzewski <[email protected]> To: Maven Integration for Eclipse users mailing list <[email protected]> Date: 10/18/2012 06:05 PM Subject: Re: [m2e-users] Generating OSGi manifest in maven build Sent by: [email protected] You need to install Tycho connector to integrate maven-bundle-plugin with m2e. Cheers, Rafał On 10/18/2012 09:55 PM, Andrew Mak wrote: Hi, I'm new to m2e and Maven in general. I'm trying to generate an OSGi manifest file as part of my build. Here's what I have done so far: I configured in my POM (attached) to call the "manifest" goal of the Maven bundle plugin, and associated it with the "process-classes" phase. It seems to work when I manually build the project; it would create a proper OSGi manifest in the target/classes/META-INF folder for me. The problem is that it is only working when auto-build is turned off. When auto-build is on, there seems to be some other process that always overwrites the manifest file with a version that has almost no content at all. Does anyone have some idea why it is behaving this way? By the way, when the m2e build runs, what phase/goal is it actually calling? Thanks, Andrew _______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users _______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
