From: <bob...@us...> - 2011-02-22 22:50:27
|
Revision: 14894 http://andromda.svn.sourceforge.net/andromda/?rev=14894&view=rev Author: bobfields Date: 2011-02-22 22:50:19 +0000 (Tue, 22 Feb 2011) Log Message: ----------- Copy reporting configurations back to profiles - not picked up from pluginManagement configuration. Put plugins in group/artifact order. Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2011-02-22 17:44:26 UTC (rev 14893) +++ trunk/pom.xml 2011-02-22 22:50:19 UTC (rev 14894) @@ -415,61 +415,18 @@ <pluginManagement> <plugins> <plugin> - <artifactId>maven-resources-plugin</artifactId> - <version>2.4.3</version> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.6</version> </plugin> <plugin> - <artifactId>maven-dependency-plugin</artifactId> - <version>2.1</version> + <artifactId>maven-archetype-plugin</artifactId> + <version>2.0</version> </plugin> <plugin> - <artifactId>maven-compiler-plugin</artifactId> - <version>2.3.2</version> - <configuration> - <source>1.6</source> - <target>1.6</target> - <compilerVersion>1.6</compilerVersion> - <compilerArgument>-Xlint:cast,unchecked,fallthrough,finally,serial</compilerArgument> - <showDeprecation>true</showDeprecation> - <showWarnings>true</showWarnings> - <fork>true</fork> - </configuration> - </plugin> - <plugin> - <!-- Automatically attach sources to build artifact as artifact-version-sources.jar and deploy to local repository --> - <!-- Runs generate-sources multiple times, see http://jira.codehaus.org/browse/MSOURCES-13 --> - <artifactId>maven-source-plugin</artifactId> - <version>2.1.2</version> - <configuration> - <includePom>true</includePom> - </configuration> - <executions> - <execution> - <id>attach-sources</id> - <phase>package</phase> - <goals> - <goal>jar-no-fork</goal> - <goal>test-jar-no-fork</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.2</version> </plugin> <plugin> - <artifactId>maven-install-plugin</artifactId> - <version>2.3.1</version> - <configuration> - <createChecksum>true</createChecksum> - </configuration> - </plugin> - <plugin> - <artifactId>maven-deploy-plugin</artifactId> - <version>2.5</version> - </plugin> - <plugin> <artifactId>maven-clean-plugin</artifactId> <version>2.4.1</version> <configuration> @@ -491,40 +448,92 @@ </configuration> </plugin> <plugin> - <artifactId>maven-surefire-plugin</artifactId> - <version>2.7.1</version> + <artifactId>maven-compiler-plugin</artifactId> + <version>2.3.2</version> + <configuration> + <source>1.6</source> + <target>1.6</target> + <compilerVersion>1.6</compilerVersion> + <compilerArgument>-Xlint:cast,unchecked,fallthrough,finally,serial</compilerArgument> + <showDeprecation>true</showDeprecation> + <showWarnings>true</showWarnings> + <fork>true</fork> + </configuration> </plugin> <plugin> - <artifactId>maven-surefire-report-plugin</artifactId> - <version>2.7.1</version> + <artifactId>maven-dependency-plugin</artifactId> + <version>2.1</version> </plugin> <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>sablecc-maven-plugin</artifactId> - <version>2.2</version> - <dependencies> - <dependency> - <groupId>sablecc</groupId> - <artifactId>sablecc</artifactId> - <version>2.18.2</version> - </dependency> - </dependencies> + <artifactId>maven-deploy-plugin</artifactId> + <version>2.5</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-eclipse-plugin</artifactId> + <version>2.8</version> + <configuration> + <downloadSources>true</downloadSources> + <downloadJavadocs>true</downloadJavadocs> + <sourceExcludes> + <sourceExclude>**/.svn/**</sourceExclude> + <sourceExclude>**/.ref</sourceExclude> + <sourceExclude>**/.exc</sourceExclude> + <sourceExclude>**/.log</sourceExclude> + </sourceExcludes> + </configuration> + </plugin> + <plugin> + <artifactId>maven-enforcer-plugin</artifactId> + <version>1.0</version> <executions> <execution> - <phase>generate-sources</phase> + <id>enforce-jdk</id> <goals> - <goal>generate</goal> + <goal>enforce</goal> </goals> + <configuration> + <rules> + <requireMavenVersion> + <version>2.2.1</version> + </requireMavenVersion> + <requireJavaVersion> + <message>You need at least Java 1.6!</message> + <version>1.6.0</version> + </requireJavaVersion> + <requirePluginVersions> + <message>Best Practice is to always define plugin versions!</message> + <banLatest>true</banLatest> + <banRelease>true</banRelease> + <banSnapshots>false</banSnapshots> + <banTimestamps>true</banTimestamps> + <phases>clean,deploy,site</phases> + </requirePluginVersions> + </rules> + <fail>true</fail> + </configuration> </execution> </executions> </plugin> <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <version>1.6</version> + <artifactId>maven-gpg-plugin</artifactId> + <version>1.1</version> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> </plugin> <plugin> - <artifactId>maven-enforcer-plugin</artifactId> - <version>1.0</version> + <artifactId>maven-install-plugin</artifactId> + <version>2.3.1</version> + <configuration> + <createChecksum>true</createChecksum> + </configuration> </plugin> <plugin> <artifactId>maven-invoker-plugin</artifactId> @@ -545,10 +554,36 @@ </configuration> </plugin> <plugin> - <artifactId>maven-gpg-plugin</artifactId> - <version>1.1</version> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.7</version> + <configuration> + <show>package</show> + <version>true</version> + <javadocVersion>${source.version}</javadocVersion> + <failOnError>false</failOnError> + <linksource>true</linksource> + <serialwarn>true</serialwarn> + <detectLinks>true</detectLinks> + <detectOfflineLinks>true</detectOfflineLinks> + <links> + <link>http://download.oracle.com/javase/6/docs/api/</link> + <link>http://download.oracle.com/javaee/1.4/api/</link> + <link>http://download.eclipse.org/modeling/mdt/uml2/javadoc/3.1.0/</link> + <link>http://download.eclipse.org/modeling/emf/emf/javadoc/2.6.0/</link> + <link>http://jakarta.apache.org/commons/collections/apidocs</link> + <link>http://jakarta.apache.org/commons/logging/apidocs/</link> + <link>http://www.junit.org/junit/javadoc/</link> + <link>http://logging.apache.org/log4j/docs/api/</link> + <link>http://jakarta.apache.org/regexp/apidocs/</link> + <link>http://velocity.apache.org/engine/devel/apidocs/</link> + </links> + </configuration> </plugin> <plugin> + <artifactId>maven-resources-plugin</artifactId> + <version>2.4.3</version> + </plugin> + <plugin> <artifactId>maven-site-plugin</artifactId> <version>2.2</version> <configuration> @@ -556,11 +591,50 @@ </configuration> </plugin> <plugin> - <artifactId>maven-archetype-plugin</artifactId> - <version>2.0</version> + <!-- Automatically attach sources to build artifact as artifact-version-sources.jar and deploy to local repository --> + <!-- Runs generate-sources multiple times, see http://jira.codehaus.org/browse/MSOURCES-13 --> + <artifactId>maven-source-plugin</artifactId> + <version>2.1.2</version> + <configuration> + <includePom>true</includePom> + </configuration> + <executions> + <execution> + <id>attach-sources</id> + <phase>package</phase> + <goals> + <goal>jar-no-fork</goal> + <goal>test-jar-no-fork</goal> + </goals> + </execution> + </executions> </plugin> <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.7.2</version> + </plugin> + <plugin> <groupId>org.codehaus.mojo</groupId> + <artifactId>sablecc-maven-plugin</artifactId> + <version>2.2</version> + <dependencies> + <dependency> + <groupId>sablecc</groupId> + <artifactId>sablecc</artifactId> + <version>2.18.2</version> + </dependency> + </dependencies> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> <artifactId>xml-maven-plugin</artifactId> <version>1.0-beta-3</version> <executions> @@ -572,68 +646,35 @@ </execution> </executions> </plugin> - <!-- Still gives enforcer error when eclipse:eclipse run, use -Denforcer.skip=true --> + + <!-- Reporting plugins - configuration must be duplicated under profiles reporting because it is NOT INHERITED + Also configured here so that command line picks up the configuration i.e. mvn checkstyle:checkstyle, from subproject --> <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-eclipse-plugin</artifactId> - <version>2.8</version> - <configuration> - <downloadSources>true</downloadSources> - <downloadJavadocs>true</downloadJavadocs> - <sourceExcludes> - <sourceExclude>**/.svn/**</sourceExclude> - <sourceExclude>**/.ref</sourceExclude> - <sourceExclude>**/.exc</sourceExclude> - <sourceExclude>**/.log</sourceExclude> - </sourceExcludes> - </configuration> - </plugin> - <plugin> - <artifactId>maven-jxr-plugin</artifactId> + <artifactId>maven-changelog-plugin</artifactId> <version>2.2</version> - <inherited>true</inherited> </plugin> <plugin> - <artifactId>maven-project-info-reports-plugin</artifactId> - <version>2.3.1</version> - <inherited>true</inherited> + <inherited>false</inherited> + <artifactId>maven-changes-plugin</artifactId> + <version>2.4</version> </plugin> <plugin> - <artifactId>maven-javadoc-plugin</artifactId> - <version>2.7</version> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>2.6</version> <configuration> - <show>package</show> - <version>true</version> - <javadocVersion>${source.version}</javadocVersion> - <failOnError>false</failOnError> - <linksource>true</linksource> - <serialwarn>true</serialwarn> - <detectLinks>true</detectLinks> - <detectOfflineLinks>true</detectOfflineLinks> - <links> - <link>http://download.oracle.com/javase/6/docs/api/</link> - <link>http://download.oracle.com/javaee/1.4/api/</link> - <link>http://download.eclipse.org/modeling/mdt/uml2/javadoc/3.1.0/</link> - <link>http://download.eclipse.org/modeling/emf/emf/javadoc/2.6.0/</link> - <link>http://jakarta.apache.org/commons/collections/apidocs</link> - <link>http://jakarta.apache.org/commons/logging/apidocs/</link> - <link>http://www.junit.org/junit/javadoc/</link> - <link>http://logging.apache.org/log4j/docs/api/</link> - <link>http://jakarta.apache.org/regexp/apidocs/</link> - <link>http://velocity.apache.org/engine/devel/apidocs/</link> - </links> + <configLocation>andromda/checkstyle_checks.xml</configLocation> </configuration> </plugin> + <!-- JXR must be run before other static analysis plugins, to link to scource code lines in report --> <plugin> - <artifactId>maven-surefire-report-plugin</artifactId> - <!-- TODO: 2.7.2 Error: [INFO] Error getting reports from the plugin 'org.apache.maven.plugins:maven-surefire-report-plugin:2.7.2': Unable to load the mojo 'org.apache.maven.plugins:maven-surefire-report-plugin:2.7.2:report' in the plugin 'org.apache.maven.plugins:maven-surefire-report-plugin'. A required class is missing: org/apache/maven/reporting/AbstractMavenReport --> - <version>2.7.1</version> + <artifactId>maven-jxr-plugin</artifactId> + <version>2.2</version> </plugin> <plugin> <artifactId>maven-pmd-plugin</artifactId> <version>2.5</version> <configuration> - <targetJdk>1.5</targetJdk> + <targetJdk>1.6</targetJdk> <linkXRef>true</linkXRef> <rulesets> <ruleset>andromda/pmd_ruleset.xml</ruleset> @@ -644,18 +685,60 @@ </configuration> </plugin> <plugin> + <artifactId>maven-project-info-reports-plugin</artifactId> + <version>2.3.1</version> + </plugin> + <plugin> + <artifactId>maven-surefire-report-plugin</artifactId> + <!-- TODO: 2.7.2: Error getting reports from the plugin 'org.apache.maven.plugins:maven-surefire-report-plugin:2.7.2': + Unable to load the mojo 'org.apache.maven.plugins:maven-surefire-report-plugin:2.7.2:report' in the plugin 'org.apache.maven.plugins:maven-surefire-report-plugin'. + A required class is missing: org/apache/maven/reporting/AbstractMavenReport --> + <version>2.7.1</version> + </plugin> + <plugin> <groupId>org.codehaus.mojo</groupId> - <artifactId>jdepend-maven-plugin</artifactId> - <version>2.0-beta-2</version> + <artifactId>clirr-maven-plugin</artifactId> + <version>2.3</version> + <configuration> + <minSeverity>info</minSeverity> + <comparisonVersion>3.3</comparisonVersion> + </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + <version>2.4</version> + <configuration> + <formats> + <format>html</format> + <format>xml</format> + </formats> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>2.3.1</version> + <configuration> + <xmlOutput>true</xmlOutput> + <effort>Default</effort> + <threshold>Normal</threshold> + <failOnError>false</failOnError> + <excludeFilterFile>andromda/findbugs-exclude-filters.xml</excludeFilterFile> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> <artifactId>javancss-maven-plugin</artifactId> <version>2.0</version> - <inherited>true</inherited> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> + <artifactId>jdepend-maven-plugin</artifactId> + <version>2.0-beta-2</version> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> <artifactId>taglist-maven-plugin</artifactId> <version>2.4</version> <configuration> @@ -682,89 +765,11 @@ </tagListOptions> </configuration> </plugin> - <plugin> - <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.6</version> - <configuration> - <configLocation>andromda/checkstyle_checks.xml</configLocation> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <version>2.3.1</version> - <configuration> - <xmlOutput>true</xmlOutput> - <effort>Default</effort> - <threshold>Normal</threshold> - <failOnError>false</failOnError> - <excludeFilterFile>andromda/findbugs-exclude-filters.xml</excludeFilterFile> - </configuration> - </plugin> - <plugin> - <inherited>false</inherited> - <artifactId>maven-changes-plugin</artifactId> - <version>2.4</version> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - <version>2.4</version> - <configuration> - <formats> - <format>html</format> - <format>xml</format> - </formats> - </configuration> - </plugin> - <plugin> - <artifactId>maven-changelog-plugin</artifactId> - <version>2.2</version> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>clirr-maven-plugin</artifactId> - <version>2.3</version> - <inherited>true</inherited> - <configuration> - <minSeverity>info</minSeverity> - <comparisonVersion>3.3</comparisonVersion> - </configuration> - </plugin> </plugins> </pluginManagement> <plugins> <plugin> <artifactId>maven-enforcer-plugin</artifactId> - <version>1.0</version> - <executions> - <execution> - <id>enforce-jdk</id> - <goals> - <goal>enforce</goal> - </goals> - <configuration> - <rules> - <requireMavenVersion> - <version>2.2.1</version> - </requireMavenVersion> - <requireJavaVersion> - <message>You need at least Java 1.6!</message> - <version>1.6.0</version> - </requireJavaVersion> - <requirePluginVersions> - <message>Best Practice is to always define plugin versions!</message> - <banLatest>true</banLatest> - <banRelease>true</banRelease> - <banSnapshots>false</banSnapshots> - <banTimestamps>true</banTimestamps> - <phases>clean,deploy,site</phases> - </requirePluginVersions> - </rules> - <fail>true</fail> - </configuration> - </execution> - </executions> </plugin> <plugin> <artifactId>maven-install-plugin</artifactId> @@ -917,18 +922,17 @@ </prerequisites> <properties> <andromda.version>3.4-SNAPSHOT</andromda.version> + <maven.version>2.2.1</maven.version> + <plexus.util.version>2.0.6</plexus.util.version> + <source.version>1.6</source.version> <!--maven.test.failure.ignore>true</maven.test.failure.ignore--> - <downloadSources>true</downloadSources> - <createChecksum>true</createChecksum> - <!--uniqueVersion>true</uniqueVersion--> + <!--uniqueVersion>false</uniqueVersion--> <!-- Update lib\ bootstrap artifacts. Artifacts are installed as the very first build step <bootstrap.artifacts>true</bootstrap.artifacts--> <!-- French Encoding from Cedric in some files: can't use UTF-8, TODO update source files --> <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format> - <maven.version>2.2.1</maven.version> - <plexus.util.version>2.0.6</plexus.util.version> </properties> <profiles> <profile> @@ -999,15 +1003,6 @@ <plugin> <inherited>true</inherited> <artifactId>maven-gpg-plugin</artifactId> - <executions> - <execution> - <id>sign-artifacts</id> - <phase>verify</phase> - <goals> - <goal>sign</goal> - </goals> - </execution> - </executions> </plugin> </plugins> </build> @@ -1124,12 +1119,94 @@ </plugin> </plugins> </build> + <!-- Reporting configurations are not picked up from pluginManagement section --> <reporting> <plugins> <plugin> <artifactId>maven-jxr-plugin</artifactId> </plugin> <plugin> + <artifactId>maven-changelog-plugin</artifactId> + <reportSets> + <reportSet> + <id>All Reports</id> + <configuration> + <type>range</type> + <range>120</range> + <dateFormat>yyyy-MM-dd HH:mm:ss</dateFormat> + </configuration> + <reports> + <report>changelog</report> + <report>file-activity</report> + <report>dev-activity</report> + </reports> + </reportSet> + </reportSets> + </plugin> + <plugin> + <artifactId>maven-changes-plugin</artifactId> + <reportSets> + <reportSet> + <reports> + <report>changes-report</report> + <report>jira-report</report> + </reports> + </reportSet> + </reportSets> + </plugin> + <plugin> + <artifactId>maven-checkstyle-plugin</artifactId> + <configuration> + <configLocation>andromda/checkstyle_checks.xml</configLocation> + </configuration> + </plugin> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <reportSets> + <reportSet> + <id>non-aggregate</id> + <reports> + <report>javadoc</report> + </reports> + </reportSet> + </reportSets> + <configuration> + <show>package</show> + <version>true</version> + <javadocVersion>${source.version}</javadocVersion> + <failOnError>false</failOnError> + <linksource>true</linksource> + <serialwarn>true</serialwarn> + <detectLinks>true</detectLinks> + <detectOfflineLinks>true</detectOfflineLinks> + <links> + <link>http://download.oracle.com/javase/6/docs/api/</link> + <link>http://download.oracle.com/javaee/1.4/api/</link> + <link>http://download.eclipse.org/modeling/mdt/uml2/javadoc/3.1.0/</link> + <link>http://download.eclipse.org/modeling/emf/emf/javadoc/2.6.0/</link> + <link>http://jakarta.apache.org/commons/collections/apidocs</link> + <link>http://jakarta.apache.org/commons/logging/apidocs/</link> + <link>http://www.junit.org/junit/javadoc/</link> + <link>http://logging.apache.org/log4j/docs/api/</link> + <link>http://jakarta.apache.org/regexp/apidocs/</link> + <link>http://velocity.apache.org/engine/devel/apidocs/</link> + </links> + </configuration> + </plugin> + <plugin> + <artifactId>maven-pmd-plugin</artifactId> + <configuration> + <targetJdk>1.6</targetJdk> + <linkXRef>true</linkXRef> + <rulesets> + <ruleset>andromda/pmd_ruleset.xml</ruleset> + </rulesets> + <excludeRoots> + <excludeRoot>target/generated-sources</excludeRoot> + </excludeRoots> + </configuration> + </plugin> + <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> <reportSets> <reportSet> @@ -1151,79 +1228,86 @@ </reportSets> </plugin> <plugin> - <artifactId>maven-javadoc-plugin</artifactId> - <reportSets> - <reportSet> - <id>non-aggregate</id> - <reports> - <report>javadoc</report> - </reports> - </reportSet> - </reportSets> + <artifactId>maven-surefire-report-plugin</artifactId> </plugin> <plugin> - <artifactId>maven-surefire-report-plugin</artifactId> - <version>2.7.2</version> + <groupId>org.codehaus.mojo</groupId> + <artifactId>clirr-maven-plugin</artifactId> + <configuration> + <minSeverity>info</minSeverity> + <comparisonVersion>3.3</comparisonVersion> + </configuration> </plugin> <plugin> - <artifactId>maven-pmd-plugin</artifactId> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + <configuration> + <formats> + <format>html</format> + <format>xml</format> + </formats> + </configuration> </plugin> <plugin> - <artifactId>maven-checkstyle-plugin</artifactId> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <configuration> + <xmlOutput>true</xmlOutput> + <effort>Default</effort> + <threshold>Normal</threshold> + <failOnError>false</failOnError> + <excludeFilterFile>andromda/findbugs-exclude-filters.xml</excludeFilterFile> + </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> - <artifactId>jdepend-maven-plugin</artifactId> + <artifactId>javancss-maven-plugin</artifactId> </plugin> <plugin> - <artifactId>maven-changes-plugin</artifactId> - <reportSets> - <reportSet> - <reports> - <report>changes-report</report> - <report>jira-report</report> - </reports> - </reportSet> - </reportSets> + <groupId>org.codehaus.mojo</groupId> + <artifactId>jdepend-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>taglist-maven-plugin</artifactId> + <configuration> + <tagListOptions> + <tagClasses> + <tagClass> + <displayName>Todo Work</displayName> + <tags> + <tag> + <matchString>todo</matchString> + <matchType>ignoreCase</matchType> + </tag> + <tag> + <matchString>FIXME</matchString> + <matchType>exact</matchType> + </tag> + <tag> + <matchString>@deprecated</matchString> + <matchType>exact</matchType> + </tag> + </tags> + </tagClass> + </tagClasses> + </tagListOptions> + </configuration> </plugin> <plugin> - <artifactId>maven-changelog-plugin</artifactId> + <groupId>org.codehaus.mojo</groupId> + <artifactId>versions-maven-plugin</artifactId> + <version>1.2</version> <reportSets> <reportSet> - <id>All Reports</id> - <configuration> - <type>range</type> - <range>120</range> - <dateFormat>yyyy-MM-dd HH:mm:ss</dateFormat> - </configuration> - <reports> - <report>changelog</report> - <report>file-activity</report> - <report>dev-activity</report> - </reports> + <reports> + <report>dependency-updates-report</report> + <report>plugin-updates-report</report> + <report>property-updates-report</report> + </reports> </reportSet> </reportSets> </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>clirr-maven-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>javancss-maven-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - </plugin> <!--plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>dashboard-maven-plugin</artifactId> @@ -1302,12 +1386,76 @@ </plugin> </plugins> </build> + <!-- Reporting configurations are not picked up from pluginManagement section --> <reporting> <plugins> <plugin> <artifactId>maven-jxr-plugin</artifactId> </plugin> <plugin> + <inherited>false</inherited> + <artifactId>maven-changes-plugin</artifactId> + <reportSets> + <reportSet> + <reports> + <report>changes-report</report> + </reports> + </reportSet> + </reportSets> + </plugin> + <plugin> + <artifactId>maven-checkstyle-plugin</artifactId> + <configuration> + <configLocation>andromda/checkstyle_checks.xml</configLocation> + </configuration> + </plugin> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <reportSets> + <reportSet> + <id>non-aggregate</id> + <reports> + <report>javadoc</report> + </reports> + </reportSet> + </reportSets> + <configuration> + <show>package</show> + <version>true</version> + <javadocVersion>${source.version}</javadocVersion> + <failOnError>false</failOnError> + <linksource>true</linksource> + <serialwarn>true</serialwarn> + <detectLinks>true</detectLinks> + <detectOfflineLinks>true</detectOfflineLinks> + <links> + <link>http://download.oracle.com/javase/6/docs/api/</link> + <link>http://download.oracle.com/javaee/1.4/api/</link> + <link>http://download.eclipse.org/modeling/mdt/uml2/javadoc/3.1.0/</link> + <link>http://download.eclipse.org/modeling/emf/emf/javadoc/2.6.0/</link> + <link>http://jakarta.apache.org/commons/collections/apidocs</link> + <link>http://jakarta.apache.org/commons/logging/apidocs/</link> + <link>http://www.junit.org/junit/javadoc/</link> + <link>http://logging.apache.org/log4j/docs/api/</link> + <link>http://jakarta.apache.org/regexp/apidocs/</link> + <link>http://velocity.apache.org/engine/devel/apidocs/</link> + </links> + </configuration> + </plugin> + <plugin> + <artifactId>maven-pmd-plugin</artifactId> + <configuration> + <targetJdk>1.6</targetJdk> + <linkXRef>true</linkXRef> + <rulesets> + <ruleset>andromda/pmd_ruleset.xml</ruleset> + </rulesets> + <excludeRoots> + <excludeRoot>target/generated-sources</excludeRoot> + </excludeRoots> + </configuration> + </plugin> + <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> <reportSets> <reportSet> @@ -1329,27 +1477,28 @@ </reportSets> </plugin> <plugin> - <artifactId>maven-javadoc-plugin</artifactId> - <reportSets> - <reportSet> - <id>non-aggregate</id> - <reports> - <report>javadoc</report> - </reports> - </reportSet> - </reportSets> - </plugin> - <plugin> <artifactId>maven-surefire-report-plugin</artifactId> - <version>2.7.1</version> </plugin> <plugin> - <artifactId>maven-pmd-plugin</artifactId> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + <configuration> + <formats> + <format>html</format> + <format>xml</format> + </formats> + </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> - <artifactId>jdepend-maven-plugin</artifactId> - <version>2.0-beta-2</version> + <artifactId>findbugs-maven-plugin</artifactId> + <configuration> + <xmlOutput>true</xmlOutput> + <effort>Default</effort> + <threshold>Normal</threshold> + <failOnError>false</failOnError> + <excludeFilterFile>andromda/findbugs-exclude-filters.xml</excludeFilterFile> + </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> @@ -1357,40 +1506,35 @@ </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> - <artifactId>taglist-maven-plugin</artifactId> + <artifactId>jdepend-maven-plugin</artifactId> </plugin> <plugin> - <artifactId>maven-checkstyle-plugin</artifactId> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> + <artifactId>taglist-maven-plugin</artifactId> + <configuration> + <tagListOptions> + <tagClasses> + <tagClass> + <displayName>Todo Work</displayName> + <tags> + <tag> + <matchString>todo</matchString> + <matchType>ignoreCase</matchType> + </tag> + <tag> + <matchString>FIXME</matchString> + <matchType>exact</matchType> + </tag> + <tag> + <matchString>@deprecated</matchString> + <matchType>exact</matchType> + </tag> + </tags> + </tagClass> + </tagClasses> + </tagListOptions> + </configuration> </plugin> - <plugin> - <inherited>false</inherited> - <artifactId>maven-changes-plugin</artifactId> - <reportSets> - <reportSet> - <reports> - <report>changes-report</report> - </reports> - </reportSet> - </reportSets> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>versions-maven-plugin</artifactId> - <version>1.2</version> - <reportSets> - <reportSet> - <reports> - <report>dependency-updates-report</report> - <report>plugin-updates-report</report> - <report>property-updates-report</report> - </reports> - </reportSet> - </reportSets> - </plugin> </plugins> </reporting> </profile> @@ -1414,7 +1558,6 @@ </plugins> </pluginManagement> </build> - </profile> - --> + </profile--> </profiles> </project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |