1. Martin Lau
  2. common-parent

Commits

Martin Lau  committed 9545b6d

moved reporting into maven-3 style configuration (under site plugin)

  • Participants
  • Parent commits 680ef11
  • Branches default

Comments (0)

Files changed (1)

File pom.xml

View file
  • Ignore whitespace
                             <artifactId>maven-site-plugin</artifactId>
                             <version>${maven-site-plugin.version}</version>
                         </plugin>
+                        <plugin>
+                            <groupId>org.apache.maven.plugins</groupId>
+                            <artifactId>maven-changelog-plugin</artifactId>
+                            <version>${maven-changelog-plugin.version}</version>
+                        </plugin>
+                        <plugin>
+                            <groupId>org.apache.maven.plugins</groupId>
+                            <artifactId>maven-dependency-plugin</artifactId>
+                            <version>${maven-dependency-plugin.version}</version>
+                        </plugin>
+                        <plugin>
+                            <groupId>org.apache.maven.plugins</groupId>
+                            <artifactId>maven-javadoc-plugin</artifactId>
+                            <version>${maven-javadoc-plugin.version}</version>
+                        </plugin>
+                        <plugin>
+                            <groupId>org.apache.maven.plugins</groupId>
+                            <artifactId>maven-jxr-plugin</artifactId>
+                            <version>${maven-jxr-plugin.version}</version>
+                        </plugin>
+                        <plugin>
+                            <groupId>org.apache.maven.plugins</groupId>
+                            <artifactId>maven-project-info-reports-plugin</artifactId>
+                            <version>${maven-project-info-reports-plugin.version}</version>
+                        </plugin>
+                        <plugin>
+                            <groupId>org.apache.maven.plugins</groupId>
+                            <artifactId>maven-surefire-report-plugin</artifactId>
+                            <version>${maven-surefire-report-plugin.version}</version>
+                        </plugin>
+                        <plugin>
+                            <groupId>org.codehaus.mojo</groupId>
+                            <artifactId>license-maven-plugin</artifactId>
+                            <version>${license-maven-plugin.version}</version>
+                        </plugin>
+                        <plugin>
+                            <groupId>org.codehaus.mojo</groupId>
+                            <artifactId>taglist-maven-plugin</artifactId>
+                            <version>${taglist-maven-plugin.version}</version>
+                        </plugin>
+                        <plugin>
+                            <groupId>org.codehaus.mojo</groupId>
+                            <artifactId>versions-maven-plugin</artifactId>
+                            <version>${versions-maven-plugin.version}</version>
+                        </plugin>
                     </plugins>
                 </pluginManagement>
-            </build>
-            <reporting>
                 <plugins>
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-changelog-plugin</artifactId>
-                        <version>${maven-changelog-plugin.version}</version>
+                        <artifactId>maven-site-plugin</artifactId>
                         <configuration>
-                            <dateFormat>EEE MMM dd HH:mm:ss yyyy Z</dateFormat>
-                            <displayChangeSetDetailUrl>${scm.url}/changeset/%REV%</displayChangeSetDetailUrl>
-                            <displayFileDetailUrl>${scm.url}/src/default/%FILE%</displayFileDetailUrl>
-                            <displayFileRevDetailUrl>${scm.url}/src/%REV%/%FILE%</displayFileRevDetailUrl>
+                            <reportPlugins>
+                                <plugin>
+                                    <groupId>org.apache.maven.plugins</groupId>
+                                    <artifactId>maven-changelog-plugin</artifactId>
+                                    <configuration>
+                                        <dateFormat>EEE MMM dd HH:mm:ss yyyy Z</dateFormat>
+                                        <displayChangeSetDetailUrl>${project.scm.url}/changeset/%REV%</displayChangeSetDetailUrl>
+                                        <displayFileDetailUrl>${project.scm.url}/src/default/%FILE%</displayFileDetailUrl>
+                                        <displayFileRevDetailUrl>${project.scm.url}/src/%REV%/%FILE%</displayFileRevDetailUrl>
+                                    </configuration>
+                                </plugin>
+                                <plugin>
+                                    <groupId>org.apache.maven.plugins</groupId>
+                                    <artifactId>maven-dependency-plugin</artifactId>
+                                </plugin>
+                                <plugin>
+                                    <groupId>org.apache.maven.plugins</groupId>
+                                    <artifactId>maven-javadoc-plugin</artifactId>
+                                    <configuration>
+                                        <detectLinks>true</detectLinks>
+                                        <linksource>true</linksource>
+                                        <serialwarn>true</serialwarn>
+                                        <show>private</show>
+                                        <source>${java.source}</source>
+                                    </configuration>
+                                </plugin>
+                                <plugin>
+                                    <groupId>org.apache.maven.plugins</groupId>
+                                    <artifactId>maven-jxr-plugin</artifactId>
+                                </plugin>
+                                <plugin>
+                                    <groupId>org.apache.maven.plugins</groupId>
+                                    <artifactId>maven-project-info-reports-plugin</artifactId>
+                                </plugin>
+                                <plugin>
+                                    <groupId>org.apache.maven.plugins</groupId>
+                                    <artifactId>maven-surefire-report-plugin</artifactId>
+                                </plugin>
+                                <plugin>
+                                    <groupId>org.codehaus.mojo</groupId>
+                                    <artifactId>license-maven-plugin</artifactId>
+                                </plugin>
+                                <plugin>
+                                    <groupId>org.codehaus.mojo</groupId>
+                                    <artifactId>taglist-maven-plugin</artifactId>
+                                    <configuration>
+                                        <tagListOptions>
+                                            <tagClasses>
+                                                <tagClass>
+                                                    <displayName>To-Do</displayName>
+                                                    <tags>
+                                                        <tag>
+                                                            <matchString>TODO</matchString>
+                                                            <matchType>ignoreCase</matchType>
+                                                        </tag>
+                                                        <tag>
+                                                            <matchString>XXX</matchString>
+                                                            <matchType>ignoreCase</matchType>
+                                                        </tag>
+                                                    </tags>
+                                                </tagClass>
+                                            </tagClasses>
+                                        </tagListOptions>
+                                    </configuration>
+                                </plugin>
+                                <plugin>
+                                    <groupId>org.codehaus.mojo</groupId>
+                                    <artifactId>versions-maven-plugin</artifactId>
+                                </plugin>
+                            </reportPlugins>
                         </configuration>
                     </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-dependency-plugin</artifactId>
-                        <version>${maven-dependency-plugin.version}</version>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-javadoc-plugin</artifactId>
-                        <version>${maven-javadoc-plugin.version}</version>
-                        <configuration>
-                            <detectLinks>true</detectLinks>
-                            <linksource>true</linksource>
-                            <serialwarn>true</serialwarn>
-                            <show>private</show>
-                            <source>${java.source}</source>
-                        </configuration>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-jxr-plugin</artifactId>
-                        <version>${maven-jxr-plugin.version}</version>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-project-info-reports-plugin</artifactId>
-                        <version>${maven-project-info-reports-plugin.version}</version>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-surefire-report-plugin</artifactId>
-                        <version>${maven-surefire-report-plugin.version}</version>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>license-maven-plugin</artifactId>
-                        <version>${license-maven-plugin.version}</version>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>taglist-maven-plugin</artifactId>
-                        <version>${taglist-maven-plugin.version}</version>
-                        <configuration>
-                            <tagListOptions>
-                                <tagClasses>
-                                    <tagClass>
-                                        <displayName>To-Do</displayName>
-                                        <tags>
-                                            <tag>
-                                                <matchString>TODO</matchString>
-                                                <matchType>ignoreCase</matchType>
-                                            </tag>
-                                            <tag>
-                                                <matchString>XXX</matchString>
-                                                <matchType>ignoreCase</matchType>
-                                            </tag>
-                                        </tags>
-                                    </tagClass>
-                                </tagClasses>
-                            </tagListOptions>
-                        </configuration>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>versions-maven-plugin</artifactId>
-                        <version>${versions-maven-plugin.version}</version>
-                    </plugin>
                 </plugins>
-            </reporting>
+            </build>
         </profile>
         <!-- TODO Paranoid Documentation: PMD, LinkCheck, CheckStyle, FindBugs, Cobertura, JavaNCSS, JDepend -->
     </profiles>