Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] DataNucleus Plugin not running

[1] says process-test-classes. somebody needs to double-check and copy
relevant parts of that page to eclipse wiki ;-)

[1] https://docs.sonatype.org/display/M2ECLIPSE/Project+build+lifecycle+mapping

--
Regards,
Igor

On 12/5/2013, 12:28, Rafał Krzewski wrote:
First of all, does your build run correctly under command line Maven?

Second, think that m2e only concerns itself with plugings that run up to
and including compile / test-compile phase. Am I right, Igor?

cheers,
Rafał

On 12/05/2013 05:31 PM, Eric Stein wrote:

I'm trying to run the datanucleus-maven-plugin. I added it to my POM as:

<dependencies>

    ...

<dependency>

<groupId>javax.jdo</groupId>

<artifactId>jdo-api</artifactId>

<version>3.0.1</version>

</dependency>

<dependency>

<groupId>org.datanucleus</groupId>

<artifactId>datanucleus-core</artifactId>

<version>3.2.9</version>

<scope>runtime</scope>

</dependency>

<dependency>

<groupId>org.datanucleus</groupId>

<artifactId>datanucleus-api-jdo</artifactId>

<version>3.2.5</version>

</dependency>

<dependency>

<groupId>org.datanucleus</groupId>

<artifactId>datanucleus-rdbms</artifactId>

<version>3.2.8</version>

<scope>runtime</scope>

</dependency>

    ...

</dependencies>

<build>

<pluginManagement>

<plugins>

...

<plugin>

<groupId>org.datanucleus</groupId>

<artifactId>datanucleus-maven-plugin</artifactId>

<version>3.3.0-release</version>

<configuration>

<props>${basedir}/datanucleus.properties</props>

<verbose>true</verbose>

</configuration>

<executions>

<execution>

<phase>process-classes</phase>

<goals>

<goal>enhance</goal>

</goals>

</execution>

</executions>

</plugin>

...

</plugins>

</pluginManagement>

</build>

I set the -X switch in maven and did a build (through Run
Configurations). I searched the output for "datanucleus-maven-plugin"
and found no results. I then manually inspected the log file for the
compile step, and I don't see anything that suggests the enhance goal
ever ran. I'm not sure how to even start debugging this. Anybody have
any ideas?

Thanks,

Eric



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



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



Back to the top