Author: bimargulies
Date: Sun Dec 12 01:53:42 2010
New Revision: 1044754
URL: http://svn.apache.org/viewvc?rev=1044754&view=rev
Log:
Add a profile that might get PMD working in m2eclipse.
Modified:
cxf/trunk/parent/pom.xml
Modified: cxf/trunk/parent/pom.xml
URL:
http://svn.apache.org/viewvc/cxf/trunk/parent/pom.xml?rev=1044754&r1=1044753&r2=1044754&view=diff
==============================================================================
--- cxf/trunk/parent/pom.xml (original)
+++ cxf/trunk/parent/pom.xml Sun Dec 12 01:53:42 2010
@@ -1561,6 +1561,47 @@
<defaultGoal>clean</defaultGoal>
</build>
</profile>
+ <profile>
+ <id>m2eclipse</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>2.5</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.cxf.build-utils</groupId>
+ <artifactId>cxf-buildtools</artifactId>
+ <version>${cxf.build-utils.version}</version>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <rulesets>
+
<ruleset>${cxf.resources.base.path}cxf-pmd-ruleset.xml</ruleset>
+ </rulesets>
+ <sourceEncoding>UTF-8</sourceEncoding>
+ <targetJdk>1.5</targetJdk>
+ <linkXRef>false</linkXRef>
+ <includeTests>true</includeTests>
+ <verbose>true</verbose>
+ <excludeRoots>
+
<excludeRoot>${basedir}/src/main/generated</excludeRoot>
+ </excludeRoots>
+ </configuration>
+ <executions>
+ <execution>
+ <id>validate</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>