Added rat exclusion, updated the rat plugin, added a PluginManagement section, fixed the scm section
Project: http://git-wip-us.apache.org/repos/asf/mina-ftpserver/repo Commit: http://git-wip-us.apache.org/repos/asf/mina-ftpserver/commit/ab08fb5c Tree: http://git-wip-us.apache.org/repos/asf/mina-ftpserver/tree/ab08fb5c Diff: http://git-wip-us.apache.org/repos/asf/mina-ftpserver/diff/ab08fb5c Branch: refs/heads/master Commit: ab08fb5c2ceea435944c3103f6a1ef17ebd9eba0 Parents: 2c36400 Author: Emmanuel Lécharny <elecha...@symas.com> Authored: Mon Oct 24 11:49:37 2016 +0200 Committer: Emmanuel Lécharny <elecha...@symas.com> Committed: Mon Oct 24 11:49:37 2016 +0200 ---------------------------------------------------------------------- pom.xml | 117 ++++++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 91 insertions(+), 26 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mina-ftpserver/blob/ab08fb5c/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 7363e98..15635f4 100644 --- a/pom.xml +++ b/pom.xml @@ -130,13 +130,14 @@ </contributors> <scm> - <connection>scm:svn:http://svn.apache.org/repos/asf/mina/ftpserver/trunk</connection> - <developerConnection>scm:svn:https://svn.apache.org/repos/asf/mina/ftpserver/trunk</developerConnection> - <url>http://svn.apache.org/viewvc/mina/ftpserver/trunk</url> + <connection>scm:git:https://git-wip-us.apache.org/repos/as/mina-ftpserver.git</connection> + <url>https://git-wip-us.apache.org/repos/asf?p=mina-ftpserver.git</url> + <developerConnection>scm:git:http://git-wip-us.apache.org/repos/asf/mina-ftpserver.git</developerConnection> + <tag>HEAD</tag> </scm> <properties> - <!-- Disbale the JAV8 Javadoc Lint --> + <!-- Disbale the JAVA 8 Javadoc Lint --> <additionalparam>-Xdoclint:none</additionalparam> <!-- Set versions for depending jars --> @@ -243,6 +244,76 @@ </dependencyManagement> <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.12</version> + <configuration> + <excludeSubProjects>false</excludeSubProjects> + <excludes> + <!-- MAVEN_DEFAULT_EXCLUDES --> + <exclude>**/target/**/*</exclude> + <exclude>**/cobertura.ser</exclude> + + <!-- ECLIPSE_DEFAULT_EXCLUDES --> + <exclude>**/.classpath</exclude> + <exclude>**/.project</exclude> + <exclude>**/.settings/**/*</exclude> + + <!-- IDEA_DEFAULT_EXCLUDES --> + <exclude>**/*.iml</exclude> + <exclude>**/*.ipr</exclude> + <exclude>**/*.iws</exclude> + + <!-- MANIFEST_MF_EXCLUDES --> + <exclude>**/MANIFEST.MF</exclude> + + <!-- 3RD_PARTY_LICENSES --> + <exclude>**/LICENSE*</exclude> + + <!-- Missing license header in dependency reduced pom, see http://jira.codehaus.org/browse/MSHADE-48 --> + <exclude>**/dependency-reduced-pom.xml</exclude> + </excludes> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-release-plugin</artifactId> + <version>2.5.3</version> + <configuration> + <autoVersionSubmodules>true</autoVersionSubmodules> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>3.0.1</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-clean-plugin</artifactId> + <version>3.0.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-install-plugin</artifactId> + <version>2.5.2</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.10.4</version> + </plugin> + </plugins> + </pluginManagement> + <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -309,19 +380,13 @@ <plugin> <artifactId>maven-compiler-plugin</artifactId> - <version>3.2</version> + <version>3.5.1</version> <configuration> <source>${maven.compile.source}</source> <target>${maven.compile.target}</target> </configuration> </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>rat-maven-plugin</artifactId> - <version>1.0-alpha-3</version> - </plugin> - <plugin> <artifactId>maven-source-plugin</artifactId> <version>2.4</version> @@ -358,6 +423,19 @@ <artifactId>maven-war-plugin</artifactId> <version>2.5</version> </plugin> + + <plugin><groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <executions> + <execution> + <id>check-apache-license-header</id> + <phase>validate</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build> @@ -400,21 +478,6 @@ </execution> </executions> </plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>rat-maven-plugin</artifactId> - <version>1.0-alpha-3</version> - <executions> - <execution> - <id>verify-licenses</id> - <phase>verify</phase> - <goals> - <goal>check</goal> - </goals> - </execution> - </executions> - </plugin> </plugins> </build> <modules> @@ -432,4 +495,6 @@ <module>examples</module> </modules> + + </project>