Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] m2e Connectors and dependence on plugin

You can package the plugins jar inside your plugin's bundle, and have it available in your local classpath. You declare a POM dependency and then have bnd, wrapped by Apache Felix maven-bundle-plugin generate an appropriate MANIFEST.MF for you. It's really cool. Look at what m2e team is doing this with maven runtime: http://git.eclipse.org/c/m2e/m2e-maven-runtime.git/

Cheers,
Rafał



On 11/29/2011 08:10 AM, Pino Silvaggio wrote:
I am writing a truezip connector.

Suppose I need to access the values under files, fileSet, fileSets.

These are structures that I need to figure out if I need to run
the build. For example, if the sources are external to the workspace
I won't run the build on incremental. Else, i'll do the same scan pattern
to recognize changes... At least this is what I am thinking at this point...

My question is how do I get access to these classes (files, fileSet and fileSets) ???

Even though this is a question of my specific case, how would you
access the plugin classes from a connector when needed?

Using pom deps don't work (ignored, of course, osgi...)
_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev



Back to the top