Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Testing plugins under m2e

I was looking at
http://www.eclipse.org/m2e/documentation/m2e-extension-development.html
trying to figure out how to test M2E integration for my maven plugin.

All the links under "Testing m2e/antlr code generation support" are
dead but I found
https://github.com/tesla/m2eclipse-antlr/blob/master/org.sonatype.m2e.antlr.tests/src/org/sonatype/m2e/antlr/tests/AntlrGenerationTest.java

That refers to class AbstractMavenProjectTestCase
which seems to be defined in
https://github.com/tesla/m2e-core-tests/blob/master/pom.xml but I'm
having a hard time tracking down artifacts that provide that class in
maven central.

Any idea what dependencies I need?

Is there a better test case to use as a template for tests that do a
build, change a file or files, and then observe the results of an
incremental build with a BuildContext similar to that provided by m2e?


Back to the top