Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] example of tests for m2e plugin based on BuildContext

There should be a link to the git repo on the m2e site, or alternatively Github was offering mirrors under the Eclipse user.

On 16 October 2012 14:54, Steven Bethard <steven.bethard@xxxxxxxxxxxx> wrote:
On Oct 15, 2012, at 4:52 PM, Steven Bethard <Steven.Bethard@xxxxxxxxxxxx> wrote:
> I've been updating a code-generation plugin to use BuildContext as suggested in the instructions here:
>
> http://wiki.eclipse.org/M2E_compatible_maven_plugins
>
> Is there an example anywhere of testing a Maven plugin like this?
>
> In particular, I'm wondering how to migrate tests written in the m2e connector style (where you subclass org.eclipse.m2e.tests.common.AbstractMavenProjectTestCase and use Tycho to configure dependencies) to the normal Maven style (where tests go in src/test/java and Maven configures the dependencies).

I could just copy my m2e connector tests over if someone can tell me where to find the following packages:

org.eclipse.core.resources
org.eclipse.jdt.core
org.eclipse.m2e.core.project
org.eclipse.m2e.tests.common

If they're in Maven Central, I couldn't find them.

Steve
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top