]> source.dussan.org Git - archiva.git/commitdiff
Adding placeholder for archiva-build-resources usage.
authorJoakim Erdfelt <joakime@apache.org>
Mon, 24 Mar 2008 03:46:09 +0000 (03:46 +0000)
committerJoakim Erdfelt <joakime@apache.org>
Mon, 24 Mar 2008 03:46:09 +0000 (03:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@640304 13f79535-47bb-0310-9956-ffa450edef68

archiva-build-resources/pom.xml
pom.xml

index 6dd4639b5230a218603f77d127d2359a7cfbfd4b..20efb913066d9745ad8e5784d52bde7fe63c8008 100644 (file)
@@ -23,6 +23,7 @@
     <version>5</version>
   </parent>
 
+  <groupId>org.apache.maven.archiva</groupId>
   <artifactId>archiva-build-resources</artifactId>
   <version>1-SNAPSHOT</version>
   <name>Archiva Build Resources</name>
diff --git a/pom.xml b/pom.xml
index f22341b7fccfbefbdd32583417129dd28ba3ea33..436afecbbcf3fcc77d2a9498ded2b42b2febb526 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <artifactId>maven-surefire-plugin</artifactId>
         <version>2.4.1</version>
       </plugin>
+      <plugin>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <version>2.1</version>
+        <configuration>
+          <includeTestSourceDirectory>true</includeTestSourceDirectory>
+          <configLocation>config/maven_checks.xml</configLocation>
+          <!-- TODO: enable when archiva-build-resources is active (released?)
+          <configLocation>checkstyle.xml</configLocation>
+          <headerLocation>header.txt</headerLocation>
+            -->
+        </configuration>
+        <executions>
+          <execution>
+            <goals>
+              <goal>check</goal>
+            </goals>
+            <configuration>
+              <failOnViolation>true</failOnViolation>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-remote-resources-plugin</artifactId>
         </plugin>
       </plugins>
     </pluginManagement>
+    <!-- TODO: enable when archiva-build-resources is active (released?)
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.archiva</groupId>
+        <artifactId>archiva-build-resources</artifactId>
+        <version>1-SNAPSHOT</version>
+      </extension>
+    </extensions>
+     -->
   </build>
   <modules>
     <module>archiva-base</module>
       </plugin>
       <plugin>
         <artifactId>maven-checkstyle-plugin</artifactId>
-        <version>2.1</version>
-        <configuration>
-          <configLocation>config/maven_checks.xml</configLocation>
-        </configuration>
       </plugin>
 <!-- TODO: OOME
       <plugin>