The iPOJO plugin is called after the JAR file has been generate by Tycho, but I get the following line when running maven in debug mode : [DEBUG] Ignoring project org.cohorte:org.cohorte.pyboot.config:eclipse-plugin:1.0.0-SNAPSHOT : type eclipse-plugin is not supported by iPOJO plugin, supported types are [bundle, jar, war]
2013/12/3 Clement Escoffier <[email protected]> > Hi, > > On 2 déc. 2013, at 09:53, Thomas Calmant <[email protected]> wrote: > > > Hi, > > > > For some reasons, I have developed some of my iPOJO components projects > > using the Eclipse Plugin Development Environment (PDE) and the iPOJO > Nature > > Eclipse plugin [1]. > > This works really well for development and debugging inside Eclipse. > > > > First problem: about the iPOJO manipulator plug-in > > > > To prepare continuous integration of my bundles, I used Tycho that does > > some wizardry with the Eclipse project files to generate a bundle > according > > to the content of the Manifest. > > Alas, I can't use the iPOJO manipulator Maven plugin with Tycho. > > As a result, the bundle Manifest is the manipulated result of the iPOJO > > Nature Eclipse plug-in, but the classes are still "plain old" ones. > > I suppose this is due to the Tycho project packaging (packaging: > > eclipse-plugin), which is different of the Maven bundle plug-in > (packaging: > > bundle). > > > > Question is : does iPOJO manipulator plug-in for Maven supports Tycho > > builds ? If not, is there any plans on updating/forking the plug-in to > > support Tycho ? > > No, the iPOJO manipulator does not supports Tycho, however it should be > reasonably easy to integrate the manipulator in a Tycho build. > > However, the Maven iPOJO plugin is not related to the _bundle_ packaging > type, so it should not be an issue to use it with Tycho. So, if you > configure the maven iPOJO plugin after the package phase of tycho, it > should work. > > Do you have the log to check the call order ? > > > > > Second problem: > > > > To simplify the move from "full PDE" development to Tycho, I'm now using > > the m2e plugin, and its Tycho "m2e connector". > > The iPOJO Nature plug-in provides a m2e connector for "pure Maven" iPOJO > > bundle, thanks to Simon [2], but I can't have both a Tycho and an iPOJO > m2e > > connector for the same project. > > > > Question is : as the connector seems to be selected by the packaging > > (eclipse-plugin, eclipse-feature, etc) indicated in the pom file, would > it > > be possible to have a plug-in providing a "eclipse-plugin-ipojo" > packaging, > > which would to the manipulation when called using Maven, and which would > be > > handled by the iPOJO Nature m2e connector when seen by the Eclipse side ? > > I actually have no idea how the Eclipse support work. Maybe Guillaume > knows. > > Regards, > > Clement > > > > > [1] http://gitorious.ow2.org/ow2-chameleon/eclipse-ipojo-builder > > [2] > > > http://mail-archives.apache.org/mod_mbox/felix-users/201211.mbox/%3ccag1yf3ntwkhmugd_gxghr18rll7xknfnccv8mero55ecxep...@mail.gmail.com%3E > > > > Thanks for your answers. > > > > Regards, > > Thomas > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

