incubator-oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prami...@apache.org
Subject svn commit: r1001502 - in /incubator/oodt/trunk: ./ app/fmbrowser/ catalog/ commons/ core/ crawler/ curator/ filemgr/ grid/ metadata/ pcs/input/ pge/ product/ profile/ pushpull/ resource/ sso/ webapp/filemgr/ webapp/fmprod/ webapp/workflow/ workflow/ x...
Date Sun, 26 Sep 2010 20:17:46 GMT
Author: pramirez
Date: Sun Sep 26 20:17:45 2010
New Revision: 1001502

URL: http://svn.apache.org/viewvc?rev=1001502&view=rev
Log:
OODT-38 Update to build process to remove RAT unless the audit profile is active. This profile
is activated on when running maven by using "mvn -P audit" followed by any other mvn commands
you want to run. This profile is added to all modules by default and if they want to override
the default behavior they should define the audit profile with their own plugin configuration
for RAT. The activation of the audit profile is by default off and should continue to be specified
the same when overriding this behavior in modules.

Modified:
    incubator/oodt/trunk/CHANGES.txt
    incubator/oodt/trunk/app/fmbrowser/pom.xml
    incubator/oodt/trunk/catalog/pom.xml
    incubator/oodt/trunk/commons/pom.xml
    incubator/oodt/trunk/core/pom.xml
    incubator/oodt/trunk/crawler/pom.xml
    incubator/oodt/trunk/curator/pom.xml
    incubator/oodt/trunk/filemgr/pom.xml
    incubator/oodt/trunk/grid/pom.xml
    incubator/oodt/trunk/metadata/pom.xml
    incubator/oodt/trunk/pcs/input/pom.xml
    incubator/oodt/trunk/pge/pom.xml
    incubator/oodt/trunk/product/pom.xml
    incubator/oodt/trunk/profile/pom.xml
    incubator/oodt/trunk/pushpull/pom.xml
    incubator/oodt/trunk/resource/pom.xml
    incubator/oodt/trunk/sso/pom.xml
    incubator/oodt/trunk/webapp/filemgr/pom.xml
    incubator/oodt/trunk/webapp/fmprod/pom.xml
    incubator/oodt/trunk/webapp/workflow/pom.xml
    incubator/oodt/trunk/workflow/pom.xml
    incubator/oodt/trunk/xmlps/pom.xml
    incubator/oodt/trunk/xmlquery/pom.xml

Modified: incubator/oodt/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/CHANGES.txt?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/CHANGES.txt (original)
+++ incubator/oodt/trunk/CHANGES.txt Sun Sep 26 20:17:45 2010
@@ -5,6 +5,8 @@ Apache OODT Change Log
 Release 0.1-incubating - Current Development
 --------------------------------------------
 
+* OODT-38 Removed RAT from default build process. Use "mvn -P audit ..." to run RAT (pramirez)
+
 * OODT-40 DataSourceCatalogFactory default validation layer class is incorrect (pramirez
via mattmann)
 
 * OODT-39 LuceneCatalogFactory default validation layer class is incorrect (pramirez via
mattmann)

Modified: incubator/oodt/trunk/app/fmbrowser/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/app/fmbrowser/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/app/fmbrowser/pom.xml (original)
+++ incubator/oodt/trunk/app/fmbrowser/pom.xml Sun Sep 26 20:17:45 2010
@@ -15,7 +15,7 @@ WARRANTIES OR CONDITIONS OF ANY KIND, ei
 License for the specific language governing permissions and limitations under
 the License.
 -->
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.apache.oodt</groupId>
@@ -31,20 +31,7 @@ the License.
      can view archived products' metadata, query for products with particular metadata, 
      and export results of queries to the MS Excel(c) file format.</description>
   <build>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
+    <plugins/>
   </build>
   <dependencies>
     <dependency>

Modified: incubator/oodt/trunk/catalog/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/catalog/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/catalog/pom.xml (original)
+++ incubator/oodt/trunk/catalog/pom.xml Sun Sep 26 20:17:45 2010
@@ -50,18 +50,6 @@
           </execution>
         </executions>
       </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
     <resources>
       <resource>

Modified: incubator/oodt/trunk/commons/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/commons/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/commons/pom.xml (original)
+++ incubator/oodt/trunk/commons/pom.xml Sun Sep 26 20:17:45 2010
@@ -83,26 +83,38 @@
             </includes>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/testdata/*</exclude>
-            <exclude>**/package.html</exclude>
-          </excludes>
-        </configuration>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
     </plugins> 
   </build>
+  <profiles>
+    <profile>
+      <id>audit</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>rat-maven-plugin</artifactId>
+            <configuration>
+              <excludes>
+                <exclude>**/testdata/*</exclude>
+                <exclude>**/package.html</exclude>
+              </excludes>
+            </configuration>
+            <executions>
+              <execution>
+                <phase>verify</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
   <dependencies>
     <dependency>
       <groupId>commons-dbcp</groupId>

Modified: incubator/oodt/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/core/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/core/pom.xml (original)
+++ incubator/oodt/trunk/core/pom.xml Sun Sep 26 20:17:45 2010
@@ -253,6 +253,30 @@ the License.
             </plugin>
         </plugins>
     </build>
+    <profiles>
+        <profile>
+            <id>audit</id>
+            <activation>
+                <activeByDefault>false</activeByDefault>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>rat-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>check</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>    
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
     <reporting>
         <plugins>
             <!-- FIXME: currently produces a NullPointerException

Modified: incubator/oodt/trunk/crawler/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/crawler/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/crawler/pom.xml (original)
+++ incubator/oodt/trunk/crawler/pom.xml Sun Sep 26 20:17:45 2010
@@ -73,19 +73,7 @@ the License.
             </goals>
           </execution>
         </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>    
+      </plugin> 
     </plugins>
     <resources>
       <resource>

Modified: incubator/oodt/trunk/curator/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/curator/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/curator/pom.xml (original)
+++ incubator/oodt/trunk/curator/pom.xml Sun Sep 26 20:17:45 2010
@@ -32,36 +32,46 @@ the License.
   <name>CAS Curation Interface</name>
   <description>A web application for managing policy for products and files and metadata
that have been ingested via the CAS component.</description>
   <build>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/jquery*</exclude>
-            <exclude>**/jquery/*</exclude>
-            <exclude>**/src/jquery*</exclude>
-            <exclude>**/jquery-treeview/*</exclude>
-            <exclude>**/jquery-treeview/demo/*</exclude>
-            <exclude>**/jquery-treeview/lib/*</exclude>
-            <exclude>**/jquery-ui/*</exclude>
-            <exclude>**/jquery-ui/css/smoothness/jquery-ui-1.7.2.custom.css</exclude>
-            <exclude>**/src/MIT-License.txt</exclude>
-            <exclude>**/media/Bach-SuiteNo2.mp3</exclude>
-          </excludes>
-        </configuration>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
+    <plugins/> 
   </build>
- 
+  <profiles>
+    <profile>
+      <id>audit</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>rat-maven-plugin</artifactId>
+            <configuration>
+              <excludes>
+                <exclude>**/jquery*</exclude>
+                <exclude>**/jquery/*</exclude>
+                <exclude>**/src/jquery*</exclude>
+                <exclude>**/jquery-treeview/*</exclude>
+                <exclude>**/jquery-treeview/demo/*</exclude>
+                <exclude>**/jquery-treeview/lib/*</exclude>
+                <exclude>**/jquery-ui/*</exclude>
+                <exclude>**/jquery-ui/css/smoothness/jquery-ui-1.7.2.custom.css</exclude>
+                <exclude>**/src/MIT-License.txt</exclude>
+                <exclude>**/media/Bach-SuiteNo2.mp3</exclude>
+              </excludes>
+            </configuration>
+            <executions>
+              <execution>
+                <phase>verify</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
   <repositories>
     <repository>
       <id>ibiblio</id>

Modified: incubator/oodt/trunk/filemgr/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/filemgr/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/filemgr/pom.xml (original)
+++ incubator/oodt/trunk/filemgr/pom.xml Sun Sep 26 20:17:45 2010
@@ -76,26 +76,38 @@
           </execution>
         </executions>
       </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/testdata/*</exclude>
-            <exclude>**/testdata/**/*</exclude>
-          </excludes>
-        </configuration>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
+  <profiles>
+    <profile>
+      <id>audit</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>rat-maven-plugin</artifactId>
+            <configuration>
+              <excludes>
+                <exclude>**/testdata/*</exclude>
+                <exclude>**/testdata/**/*</exclude>
+              </excludes>
+            </configuration>
+            <executions>
+              <execution>
+                <phase>verify</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
   <dependencies>
     <dependency>
       <groupId>org.apache.oodt</groupId>

Modified: incubator/oodt/trunk/grid/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/grid/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/grid/pom.xml (original)
+++ incubator/oodt/trunk/grid/pom.xml Sun Sep 26 20:17:45 2010
@@ -15,7 +15,9 @@ WARRANTIES OR CONDITIONS OF ANY KIND, ei
 License for the specific language governing permissions and limitations under
 the License.
 -->
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.apache.oodt</groupId>

Modified: incubator/oodt/trunk/metadata/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/metadata/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/metadata/pom.xml (original)
+++ incubator/oodt/trunk/metadata/pom.xml Sun Sep 26 20:17:45 2010
@@ -85,26 +85,38 @@ the License.
           </excludes>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/testdata/*</exclude>
-            <exclude>**/resources/examples/*</exclude>
-          </excludes>
-        </configuration>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
+  <profiles>
+    <profile>
+      <id>audit</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>rat-maven-plugin</artifactId>
+            <configuration>
+              <excludes>
+                <exclude>**/testdata/*</exclude>
+                <exclude>**/resources/examples/*</exclude>
+              </excludes>
+            </configuration>
+            <executions>
+              <execution>
+                <phase>verify</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
   <dependencies>
     <dependency>
       <groupId>org.apache.oodt</groupId>

Modified: incubator/oodt/trunk/pcs/input/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/pcs/input/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/pcs/input/pom.xml (original)
+++ incubator/oodt/trunk/pcs/input/pom.xml Sun Sep 26 20:17:45 2010
@@ -52,19 +52,7 @@ the License.
               <include>**/*Test*.java</include>
             </includes>
         </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>    
+      </plugin>  
     </plugins>
     <resources>
       <resource>

Modified: incubator/oodt/trunk/pge/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/pge/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/pge/pom.xml (original)
+++ incubator/oodt/trunk/pge/pom.xml Sun Sep 26 20:17:45 2010
@@ -55,26 +55,38 @@ the License.
             </goals>
           </execution>
         </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/resources/examples/**</exclude>
-          </excludes>
-        </configuration>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>    
+      </plugin> 
     </plugins>
-  </build>
+ </build>
+  <profiles>
+    <profile>
+      <id>audit</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>rat-maven-plugin</artifactId>
+            <configuration>
+              <excludes>
+                <exclude>**/resources/examples/**</exclude>
+              </excludes>
+            </configuration>
+            <executions>
+              <execution>
+                <phase>verify</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>   
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
   <dependencies>
     <dependency>
       <groupId>org.apache.oodt</groupId>

Modified: incubator/oodt/trunk/product/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/product/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/product/pom.xml (original)
+++ incubator/oodt/trunk/product/pom.xml Sun Sep 26 20:17:45 2010
@@ -87,20 +87,32 @@
                     </descriptorRefs>
                 </configuration>
             </plugin>
-            <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
         </plugins>
     </build>
+    <profiles>
+        <profile>
+            <id>audit</id>
+            <activation>
+                <activeByDefault>false</activeByDefault>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>rat-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>check</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
     <dependencies>
         <dependency>
             <groupId>org.apache.oodt</groupId>

Modified: incubator/oodt/trunk/profile/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/profile/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/profile/pom.xml (original)
+++ incubator/oodt/trunk/profile/pom.xml Sun Sep 26 20:17:45 2010
@@ -15,7 +15,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.apache.oodt</groupId>
@@ -95,26 +95,38 @@
           </dependency>
        </dependencies>
       </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/testdata/*</exclude>
-            <exclude>**/handlers/lightweight/package.html</exclude>
-          </excludes>
-        </configuration>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
+  <profiles>
+    <profile>
+      <id>audit</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>rat-maven-plugin</artifactId>
+            <configuration>
+              <excludes>
+                <exclude>**/testdata/*</exclude>
+                <exclude>**/handlers/lightweight/package.html</exclude>
+              </excludes>
+            </configuration>
+            <executions>
+              <execution>
+                <phase>verify</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
   <dependencies>
     <dependency>
       <groupId>org.apache.oodt</groupId>

Modified: incubator/oodt/trunk/pushpull/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/pushpull/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/pushpull/pom.xml (original)
+++ incubator/oodt/trunk/pushpull/pom.xml Sun Sep 26 20:17:45 2010
@@ -52,26 +52,38 @@
             </goals>
           </execution>
         </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/resources/examples/**/*</exclude>
-          </excludes>
-        </configuration>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>    
+      </plugin> 
     </plugins>
-  </build>
+ </build>
+  <profiles>
+    <profile>
+      <id>audit</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>rat-maven-plugin</artifactId>
+            <configuration>
+              <excludes>
+                <exclude>**/resources/examples/**/*</exclude>
+              </excludes>
+            </configuration>
+            <executions>
+              <execution>
+                <phase>verify</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
   <dependencies>
     <dependency>
       <groupId>org.apache.oodt</groupId>

Modified: incubator/oodt/trunk/resource/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/resource/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/resource/pom.xml (original)
+++ incubator/oodt/trunk/resource/pom.xml Sun Sep 26 20:17:45 2010
@@ -15,7 +15,9 @@ WARRANTIES OR CONDITIONS OF ANY KIND, ei
 License for the specific language governing permissions and limitations under
 the License.
 -->
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.apache.oodt</groupId>
@@ -71,19 +73,7 @@ the License.
             </goals>
           </execution>
         </executions>
-      </plugin> 
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>   
+      </plugin>
     </plugins>
   </build>
   <dependencies>

Modified: incubator/oodt/trunk/sso/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/sso/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/sso/pom.xml (original)
+++ incubator/oodt/trunk/sso/pom.xml Sun Sep 26 20:17:45 2010
@@ -30,20 +30,7 @@ the License.
   <packaging>jar</packaging>
   <properties/>
   <build>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
+    <plugins/>
   </build>
   <dependencies>
     <dependency>

Modified: incubator/oodt/trunk/webapp/filemgr/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/webapp/filemgr/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/webapp/filemgr/pom.xml (original)
+++ incubator/oodt/trunk/webapp/filemgr/pom.xml Sun Sep 26 20:17:45 2010
@@ -15,7 +15,9 @@ WARRANTIES OR CONDITIONS OF ANY KIND, ei
 License for the specific language governing permissions and limitations under
 the License.
 -->
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.apache.oodt</groupId>
@@ -38,18 +40,6 @@ the License.
           <containerConfigXML>src/main/resources/filemgr-webapp-tomcat-5.5.9.xml</containerConfigXML>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
   <dependencies>

Modified: incubator/oodt/trunk/webapp/fmprod/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/webapp/fmprod/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/webapp/fmprod/pom.xml (original)
+++ incubator/oodt/trunk/webapp/fmprod/pom.xml Sun Sep 26 20:17:45 2010
@@ -85,18 +85,6 @@ the License.
             </includes>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
   <dependencies>

Modified: incubator/oodt/trunk/webapp/workflow/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/webapp/workflow/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/webapp/workflow/pom.xml (original)
+++ incubator/oodt/trunk/webapp/workflow/pom.xml Sun Sep 26 20:17:45 2010
@@ -15,7 +15,9 @@ WARRANTIES OR CONDITIONS OF ANY KIND, ei
 License for the specific language governing permissions and limitations under
 the License.
 -->
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.apache.oodt</groupId>
@@ -49,26 +51,38 @@ the License.
           <containerConfigXML>src/main/resources/workflow-webapp-tomcat-5.5.9.xml</containerConfigXML>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/js/progress/progress.js</exclude>
-            <exclude>**/js/prototype/prototype.js</exclude>
-          </excludes>
-        </configuration>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
+  <profiles>
+    <profile>
+      <id>audit</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>rat-maven-plugin</artifactId>
+            <configuration>
+              <excludes>
+                <exclude>**/js/progress/progress.js</exclude>
+                <exclude>**/js/prototype/prototype.js</exclude>
+              </excludes>
+            </configuration>
+            <executions>
+              <execution>
+                <phase>verify</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
   <dependencies>
     <dependency>
       <groupId>servletapi</groupId>

Modified: incubator/oodt/trunk/workflow/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/workflow/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/workflow/pom.xml (original)
+++ incubator/oodt/trunk/workflow/pom.xml Sun Sep 26 20:17:45 2010
@@ -76,26 +76,38 @@ the License.
             </goals>
           </execution>
         </executions>
-      </plugin>    
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/src/testdata/myScript-Output.txt</exclude>
-          </excludes>
-        </configuration>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
+      </plugin> 
     </plugins>
   </build>
+  <profiles>
+    <profile>
+      <id>audit</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>rat-maven-plugin</artifactId>
+            <configuration>
+              <excludes>
+                <exclude>**/src/testdata/myScript-Output.txt</exclude>
+              </excludes>
+            </configuration>
+            <executions>
+              <execution>
+                <phase>verify</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
   <repositories>
       <!-- FIXME: Find a better, more permanent mirror than some project's dependencies
that they (inadvertently?) published -->
       <repository>

Modified: incubator/oodt/trunk/xmlps/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/xmlps/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/xmlps/pom.xml (original)
+++ incubator/oodt/trunk/xmlps/pom.xml Sun Sep 26 20:17:45 2010
@@ -103,19 +103,6 @@
 					</systemProperties>
 				</configuration>
 			</plugin>
-
-			<plugin>
-				<groupId>org.codehaus.mojo</groupId>
-				<artifactId>rat-maven-plugin</artifactId>
-				<executions>
-					<execution>
-						<phase>verify</phase>
-						<goals>
-							<goal>check</goal>
-						</goals>
-					</execution>
-				</executions>
-			</plugin>
 		</plugins>
 	</build>
 	<dependencies>

Modified: incubator/oodt/trunk/xmlquery/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/xmlquery/pom.xml?rev=1001502&r1=1001501&r2=1001502&view=diff
==============================================================================
--- incubator/oodt/trunk/xmlquery/pom.xml (original)
+++ incubator/oodt/trunk/xmlquery/pom.xml Sun Sep 26 20:17:45 2010
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?><project>
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +15,9 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+  http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.apache.oodt</groupId>
@@ -55,25 +58,37 @@
           </excludes>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/oodt/xmlquery/package.html</exclude>
-          </excludes>
-        </configuration>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
+  <profiles>
+    <profile>
+      <id>audit</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>rat-maven-plugin</artifactId>
+            <configuration>
+              <excludes>
+                <exclude>**/oodt/xmlquery/package.html</exclude>
+              </excludes>
+            </configuration>
+            <executions>
+              <execution>
+                <phase>verify</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
   <dependencies>
     <dependency>
       <groupId>org.apache.oodt</groupId>



Mime
View raw message