I think you are right, I'm doing the same thing with Eclipse plugins that need dependencies that are not OSGi bundles, and I've learned the technique from m2e-core :)

Thing is that maven-dependency-plugin is not supported by m2e out of the box. It is on my radar for the further work on m2e connectors, after I publish the first batch.

regards,
Rafał

On 07/08/2011 11:41 AM, Kerem Onal wrote:
Hi,

I wonder if I use m2e in correct manner.

I am developing an Eclipse RCP application with ~10 plugins so I use tycho. I think the correct usage is that I check out projects from SVN then "update dependencies" via m2e when setting up a fresh development environment. Am I right?

We have two types of dependencies: bundle-classpath and require-bundle.
For the "update dependencies" phase I need m2e to put my bundle-classpath dependencies to my local lib folder. Else my projects will not compile. For this purpose I should use the pom.xml below to achive this. Am I right?
<execution>
<id>copy-dependencies</id>
<goals>
<goal>copy-dependencies</goal>
</goals>
</execution>

Thanks,
Lembas



_______________________________________________
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

Reply via email to