You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by ro...@apache.org on 2018/04/30 17:12:05 UTC

svn commit: r1830608 - /aries/trunk/cdi/pom.xml

Author: rotty3000
Date: Mon Apr 30 17:12:05 2018
New Revision: 1830608

URL: http://svn.apache.org/viewvc?rev=1830608&view=rev
Log:
[CDI] add rat:check to apache-release profile

Signed-off-by: Raymond Auge <ro...@apache.org>

Modified:
    aries/trunk/cdi/pom.xml

Modified: aries/trunk/cdi/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/cdi/pom.xml?rev=1830608&r1=1830607&r2=1830608&view=diff
==============================================================================
--- aries/trunk/cdi/pom.xml (original)
+++ aries/trunk/cdi/pom.xml Mon Apr 30 17:12:05 2018
@@ -59,7 +59,52 @@
 		<module>cdi-itests</module>
 	</modules>
 
+	<profiles>
+		<profile>
+			<id>apache-release</id>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.apache.rat</groupId>
+						<artifactId>apache-rat-plugin</artifactId>
+						<executions>
+							<execution>
+								<phase>verify</phase>
+								<goals>
+									<goal>check</goal>
+								</goals>
+							</execution>
+						</executions>
+						<configuration>
+							<excludes>
+								<exclude>**/target/**/*</exclude>
+								<exclude>**/appended-resources/**/*</exclude>
+								<exclude>**/dependency-reduced-pom.xml</exclude>
+								<exclude>**/DEPENDENCIES</exclude>
+								<exclude>**/generated/**/*</exclude>
+								<exclude>**/*.iml</exclude>
+								<exclude>**/*.ipr</exclude>
+								<exclude>**/*.iws</exclude>
+								<exclude>**/.idea/**/*</exclude>
+								<exclude>**/.project</exclude>
+								<exclude>**/.classpath</exclude>
+								<exclude>**/.settings/**</exclude>
+								<exclude>**/eclipse-classes/**/*</exclude>
+								<exclude>.gitignore</exclude>
+								<exclude>README.md</exclude>
+								<exclude>*.cfg</exclude>
+								<exclude>**/README.md</exclude>
+								<exclude>**/Readme.md</exclude>
+							</excludes>
+						</configuration>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+	</profiles>
+
 	<build>
+		<defaultGoal>install</defaultGoal>
 		<pluginManagement>
 			<plugins>
 				<plugin>