Great job, Enrique. I installed the new plugin version last night, and it works great! Really like the mods that hooks the plugin into the maven lifecycle.
To remind interested users, the docs for using the plugin are at http://docs.safehaus.org/display/OSGI/OSGi+Plugin+for+Maven+2.0. Again... Good work, Enrique and a big thanks to Brett for his help. > -----Original Message----- > From: Enrique Rodriguez [mailto:[EMAIL PROTECTED] > Sent: Monday, October 31, 2005 8:25 PM > To: [email protected] > Subject: Felix M2 Plugin updated for Maven 2 lifecycle > > Hi, Felix list, > > I updated the Felix M2 Plugin to work with the standard Maven > 2 lifecycle. Big thanks to Brett Porter for a few key > pointers. Please note: > > o You now use 'mvn package' to produce a bundle. > o You now use 'mvn install' to install your bundle to the local repo. > o I removed the '-bundle' that was appended to artifact names. > o You need a <packaging> tag in your pom.xml to mark your > artifact as an 'osgi-bundle'. > o I bumped the version up from 0.1.3 to 0.3.0. > o You need the following <plugin> body: > > <project> > <modelVersion>4.0.0</modelVersion> > <packaging>osgi-bundle</packaging> > ... > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-osgi-plugin</artifactId> > <extensions>true</extensions> > <version>0.3.0</version> > <configuration> > <osgiManifest> > <bundleActivator>org.apache.mytest.Activator</bundleActivator> > ... > </osgiManifest> > </configuration> > </plugin> > </plugins> > </build> > ... > </project> > > Enrique > >

