Martin Lau avatar Martin Lau committed 9545b6d

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

Comments (0)

Files changed (1)

                             <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>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.