empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From franci...@apache.org
Subject svn commit: r785421 - in /incubator/empire-db/trunk: old/header.txt pom.xml
Date Tue, 16 Jun 2009 21:48:24 GMT
Author: francisdb
Date: Tue Jun 16 21:48:24 2009
New Revision: 785421

URL: http://svn.apache.org/viewvc?rev=785421&view=rev
Log:
enable header check in maven

Added:
    incubator/empire-db/trunk/old/header.txt
Modified:
    incubator/empire-db/trunk/pom.xml

Added: incubator/empire-db/trunk/old/header.txt
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/old/header.txt?rev=785421&view=auto
==============================================================================
--- incubator/empire-db/trunk/old/header.txt (added)
+++ incubator/empire-db/trunk/old/header.txt Tue Jun 16 21:48:24 2009
@@ -0,0 +1,18 @@
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+
+ 
\ No newline at end of file

Modified: incubator/empire-db/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/pom.xml?rev=785421&r1=785420&r2=785421&view=diff
==============================================================================
--- incubator/empire-db/trunk/pom.xml (original)
+++ incubator/empire-db/trunk/pom.xml Tue Jun 16 21:48:24 2009
@@ -288,13 +288,44 @@
 	</dependencies>
 
 	<build>
-	
+		<plugins>
+			<plugin>
+	            <groupId>com.google.code.maven-license-plugin</groupId>
+	            <artifactId>maven-license-plugin</artifactId>
+	            <version>1.4.0</version>
+	            <configuration>
+	                <basedir>${basedir}</basedir>
+	                <header>old/header.txt</header>
+	                <!--<header>${basedir}/src/etc/header.txt</header>-->
+	                <quiet>false</quiet>
+	                <failIfMissing>true</failIfMissing>
+	                <aggregate>false</aggregate>
+	                <includes>
+	                    <include>src/**</include>
+	                    <include>**/test/**</include>
+	                </includes>
+	                <mapping>
+	                    <jwc>XML_STYLE</jwc>
+	                    <application>XML_STYLE</application>
+	                    <myFileExtension>JAVADOC_STYLE</myFileExtension>
+	                </mapping>
+	                <encoding>UTF-8</encoding>
+	            </configuration>
+	            <executions>
+	                <execution>
+	                    <goals>
+	                        <goal>check</goal>
+	                    </goals>
+	                </execution>
+	            </executions>
+	        </plugin>
+        </plugins>
 		<pluginManagement>
 			<plugins>
 				<plugin>
 					<groupId>org.apache.maven.plugins</groupId>
 					<artifactId>maven-assembly-plugin</artifactId>
-					<version>2.2-beta-2</version>
+					<version>2.2-beta-4</version>
 					<configuration>
 						<appendAssemblyId>true</appendAssemblyId>
 						<tarLongFileMode>gnu</tarLongFileMode>
@@ -337,7 +368,7 @@
 			<plugin>
 				<groupId>org.codehaus.mojo</groupId>
 				<artifactId>findbugs-maven-plugin</artifactId>
-				<version>1.2</version>
+				<version>2.1</version>
 				<configuration>
 					<findbugsXmlOutput>true</findbugsXmlOutput>
 					<xmlOutput>true</xmlOutput>



Mime
View raw message