You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2012/07/18 16:34:19 UTC
svn commit: r1362966 - /activemq/trunk/activemq-xmpp/pom.xml
Author: tabish
Date: Wed Jul 18 14:34:18 2012
New Revision: 1362966
URL: http://svn.apache.org/viewvc?rev=1362966&view=rev
Log:
Add an m2e mapping to force the maven-jaxb2-plugin stuff to get generated in a compile from the Eclipse IDE.
Modified:
activemq/trunk/activemq-xmpp/pom.xml
Modified: activemq/trunk/activemq-xmpp/pom.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-xmpp/pom.xml?rev=1362966&r1=1362965&r2=1362966&view=diff
==============================================================================
--- activemq/trunk/activemq-xmpp/pom.xml (original)
+++ activemq/trunk/activemq-xmpp/pom.xml Wed Jul 18 14:34:18 2012
@@ -102,9 +102,37 @@
<build>
<defaultGoal>install</defaultGoal>
-
+ <pluginManagement>
+ <plugins>
+ <!--This plugin's configuration is used to store Eclipse m2e settings only.
+ It has no influence on the Maven build itself.-->
+ <plugin>
+ <groupId>org.eclipse.m2e</groupId>
+ <artifactId>lifecycle-mapping</artifactId>
+ <version>1.0.0</version>
+ <configuration>
+ <lifecycleMappingMetadata>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.jvnet.jaxb2.maven2</groupId>
+ <artifactId>maven-jaxb2-plugin</artifactId>
+ <versionRange>[0.0.0,)</versionRange>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <execute></execute>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
<plugins>
-
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
@@ -113,7 +141,6 @@
</excludes>
</configuration>
</plugin>
-
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>