Hello, We've studied this problem quite deeply.
The "Maven way" of doing this is to manage your dependencies in your pom.xml, and to use the OSGI plugin for Maven to create (or rather complement) a manifest files http://cwiki.apache.org/FELIX/osgi-plugin-for-maven-2.html (Checking this link, it seems this plugin is going to be rewritten... Oh well!) This has been described here: http://docs.codehaus.org/display/MAVEN/Maven+and+Eclipse Another approach is to do the opposite: generate/complement the pom from the Eclipse project. We did not try this, but you might have a look at the MakeArtifactsMojo of https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-eclipse-plugin since it is able to generate a pom.xml from Eclipse plugins packaged as jar files In a not-too-distant future, the two communities are hopefully going to work together. On the Eclipse side, the Buckminster project should allow reading the pom from Eclipse and compute its dependencies from it And I heard that Maven 2.1 would also be able to do compute its dependencies externally, but that was a while ago. On our side, for several reasons, some of them non technical, we finally decided not to migrate our Eclipse plugins and keep on building them using PDEBuild, which we call from Maven through the antrun plugin. Good luck! Samuel > -----Original Message----- > From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] > Sent: mardi 13 février 2007 04:34 > To: Maven Users > Subject: Eclipse Development with Maven > > Hi All, > I have googled the terms above and have come up with marginal results. > I would like to ask on the mailing lists if it is possible to build/test > Eclipse plugins with Maven. If so, is there any good documentation on this? > > Take care, > > Jeremy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
