You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ng...@apache.org on 2008/08/05 22:57:31 UTC
svn commit: r682944 - in /mina/ftpserver/trunk: core/pom.xml
deprecated/pom.xml distribution/pom.xml pom.xml
Author: ngn
Date: Tue Aug 5 13:57:30 2008
New Revision: 682944
URL: http://svn.apache.org/viewvc?rev=682944&view=rev
Log:
Including RAT directly in the release build, and exclude known files without license header
Modified:
mina/ftpserver/trunk/core/pom.xml
mina/ftpserver/trunk/deprecated/pom.xml
mina/ftpserver/trunk/distribution/pom.xml
mina/ftpserver/trunk/pom.xml
Modified: mina/ftpserver/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/mina/ftpserver/trunk/core/pom.xml?rev=682944&r1=682943&r2=682944&view=diff
==============================================================================
--- mina/ftpserver/trunk/core/pom.xml (original)
+++ mina/ftpserver/trunk/core/pom.xml Tue Aug 5 13:57:30 2008
@@ -60,6 +60,19 @@
</includes>
</testResource>
</testResources>
+
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rat-maven-plugin</artifactId>
+ <version>1.0-alpha-3</version>
+ <configuration>
+ <excludes>
+ <exclude>res/user.gen</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
<dependencies>
@@ -134,7 +147,6 @@
<artifactId>hsqldb</artifactId>
<scope>test</scope>
</dependency>
-
-
</dependencies>
+
</project>
Modified: mina/ftpserver/trunk/deprecated/pom.xml
URL: http://svn.apache.org/viewvc/mina/ftpserver/trunk/deprecated/pom.xml?rev=682944&r1=682943&r2=682944&view=diff
==============================================================================
--- mina/ftpserver/trunk/deprecated/pom.xml (original)
+++ mina/ftpserver/trunk/deprecated/pom.xml Tue Aug 5 13:57:30 2008
@@ -59,6 +59,18 @@
</includes>
</testResource>
</testResources>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rat-maven-plugin</artifactId>
+ <version>1.0-alpha-3</version>
+ <configuration>
+ <excludes>
+ <exclude>res/user.gen</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
<dependencies>
Modified: mina/ftpserver/trunk/distribution/pom.xml
URL: http://svn.apache.org/viewvc/mina/ftpserver/trunk/distribution/pom.xml?rev=682944&r1=682943&r2=682944&view=diff
==============================================================================
--- mina/ftpserver/trunk/distribution/pom.xml (original)
+++ mina/ftpserver/trunk/distribution/pom.xml Tue Aug 5 13:57:30 2008
@@ -69,6 +69,18 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rat-maven-plugin</artifactId>
+ <version>1.0-alpha-3</version>
+ <configuration>
+ <excludes>
+ <exclude>LICENSE.slf4j.txt</exclude>
+ <exclude>LICENSE.springframework.txt</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+
</plugins>
</build>
<dependencies>
Modified: mina/ftpserver/trunk/pom.xml
URL: http://svn.apache.org/viewvc/mina/ftpserver/trunk/pom.xml?rev=682944&r1=682943&r2=682944&view=diff
==============================================================================
--- mina/ftpserver/trunk/pom.xml (original)
+++ mina/ftpserver/trunk/pom.xml Tue Aug 5 13:57:30 2008
@@ -310,6 +310,12 @@
</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.0.4</version>
@@ -345,72 +351,6 @@
<profiles>
<profile>
- <id>rat</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rat-maven-plugin</artifactId>
- <version>1.0-alpha-3</version>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <reportFile>${project.build.directory}/${project.build.finalName}.rat</reportFile>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <repositories>
- <repository>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots/>
- <id>Codehaus Snapshots</id>
- <url>http://snapshots.repository.codehaus.org/</url>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots/>
- <id>Codehaus Snapshots</id>
- <url>http://snapshots.repository.codehaus.org/</url>
- </pluginRepository>
- </pluginRepositories>
- </profile>
-
- <profile>
- <id>snapshot</id>
- <modules>
- <module>ftplet-api</module>
- <module>core</module>
- <module>deprecated</module>
- </modules>
- <distributionManagement>
- <site>
- <id>apache.website</id>
- <url>scp://people.apache.org/www/mina.apache.org/ftpserver/report/trunk/</url>
- </site>
-
- <repository>
- <id>apache.snapshots</id>
- <name>Apache Development Snapshot Repository</name>
- <!-- <url>scp://people.apache.org/www/people.apache.org/repo/m2-incubating-repository/</url> -->
- <url>scp://people.apache.org/home/ngn/m2-incubating-repository/</url>
- </repository>
- </distributionManagement>
- </profile>
-
- <profile>
<id>release</id>
<build>
<plugins>
@@ -442,6 +382,20 @@
</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>
@@ -496,6 +450,13 @@
<id>commons-net Snapshots</id>
<url>http://people.apache.org/~ngn/ftpserver-repos</url>
</repository>
+ <repository>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <id>Codehaus Snapshots</id>
+ <url>http://snapshots.repository.codehaus.org/</url>
+ </repository>
</repositories>
<pluginRepositories>
@@ -509,5 +470,13 @@
<enabled>false</enabled>
</releases>
</pluginRepository>
+ <pluginRepository>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots/>
+ <id>Codehaus Snapshots</id>
+ <url>http://snapshots.repository.codehaus.org/</url>
+ </pluginRepository>
</pluginRepositories>
</project>