Author: [email protected]
Date: Thu Apr 14 17:19:31 2011
New Revision: 972

Log:
[AMDATUCASSANDRA-7] pom.xml changes for ci server

Modified:
   trunk/amdatu-cassandra/pom.xml

Modified: trunk/amdatu-cassandra/pom.xml
==============================================================================
--- trunk/amdatu-cassandra/pom.xml      (original)
+++ trunk/amdatu-cassandra/pom.xml      Thu Apr 14 17:19:31 2011
@@ -59,6 +59,66 @@
     <cassandra.storage_port>7000</cassandra.storage_port>
   </properties>
 
+
+
+
+
+    <prerequisites>
+      <maven>2.2.1</maven>
+    </prerequisites>
+
+    <licenses>
+      <license>
+        <name>GNU General Public License version 3</name>
+        <url>http://www.gnu.org/licenses/gpl.html</url>
+        <distribution>repo</distribution>
+        <comments>The GNU General Public License is a free, copyleft license 
for software and other kinds of works.</comments>
+      </license>
+    </licenses>
+
+    <ciManagement>
+      <system>bamboo</system>
+      <url>http://bamboo.amdatu.org/bamboo/</url>
+      <notifiers>
+        <notifier>
+          <type>mail</type>
+          <sendOnError>true</sendOnError>
+          <sendOnFailure>true</sendOnFailure>
+          <sendOnSuccess>false</sendOnSuccess>
+          <sendOnWarning>false</sendOnWarning>
+          <configuration>
+            <address>[email protected]</address>
+          </configuration>
+        </notifier>
+      </notifiers>
+    </ciManagement>
+
+    <distributionManagement>
+      <snapshotRepository>
+        <name>Amdatu Nightly Builds</name>
+        <id>amdatu.nightly</id>
+        <url>dav:http://repository.amdatu.org/nightly</url>
+      </snapshotRepository>
+      <repository>
+        <name>Amdatu Distributions</name>
+        <id>amdatu.releases</id>
+        <url>dav:http://repository.amdatu.org/releases</url>
+      </repository>
+      <site>
+        <name>Amdatu Sites</name>
+        <id>amdatu.sites</id>
+        <url>dav:http://repository.amdatu.org/sites</url>
+      </site>
+    </distributionManagement>
+
+  <scm>
+    
<connection>scm:svn:http://subversion.amdatu.org/svn/amdatu/trunk</connection>
+    
<developerConnection>scm:svn:http://subversion.amdatu.org/svn/amdatu/trunk</developerConnection>
+    <url>http://subversion.amdatu.org/viewvc/amdatu</url>
+  </scm>
+
+
+
   <dependencyManagement>
     <dependencies>
       <dependency>
@@ -99,18 +159,139 @@
     </dependencies>
   </dependencyManagement>
 
-  <repositories>
-    <repository>
-      <id>riptano</id>
-      <name>Riptano Repository</name>
-      <url>http://mvn.riptano.com/content/repositories/riptano</url>
-      <releases>
-        <enabled>true</enabled>
-      </releases>
-      <snapshots>
-        <enabled>false</enabled>
-      </snapshots>
-    </repository>
+    <repositories>
+      <repository>
+        <id>amdatu.releases</id>
+        <name>Amdatu Release Repository</name>
+        <url>http://repository.amdatu.org/releases/</url>
+        <releases>
+          <enabled>true</enabled>
+        </releases>
+        <snapshots>
+          <enabled>false</enabled>
+        </snapshots>
+      </repository>
+      <repository>
+        <id>amdatu.external</id>
+        <name>Amdatu External Repository</name>
+        <url>http://repository.amdatu.org/maven2/</url>
+        <releases>
+          <enabled>true</enabled>
+        </releases>
+        <snapshots>
+          <enabled>false</enabled>
+        </snapshots>
+      </repository>
+      <repository>
+        <id>amdatu.snapshots</id>
+        <name>Amdatu Snapshots Repository</name>
+        <url>http://repository.amdatu.org/nightly/</url>
+        <releases>
+          <enabled>false</enabled>
+        </releases>
+        <snapshots>
+          <enabled>true</enabled>
+        </snapshots>
+      </repository>
+      <repository>
+        <id>riptano</id>
+        <name>Riptano Repository</name>
+        <url>http://mvn.riptano.com/content/repositories/riptano</url>
+        <releases>
+          <enabled>true</enabled>
+        </releases>
+        <snapshots>
+          <enabled>false</enabled>
+        </snapshots>
+      </repository>
+      <repository>
+        <id>com.springsource.repository.bundles.release</id>
+        <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle 
Releases</name>
+        <url>http://repository.springsource.com/maven/bundles/release</url>
+        <releases>
+          <enabled>true</enabled>
+        </releases>
+        <snapshots>
+          <enabled>false</enabled>
+        </snapshots>
+      </repository>
+      <repository>
+        <id>com.springsource.repository.bundles.external</id>
+        <name>SpringSource Enterprise Bundle Repository - External Bundle 
Releases</name>
+        <url>http://repository.springsource.com/maven/bundles/external</url>
+        <releases>
+          <enabled>true</enabled>
+        </releases>
+        <snapshots>
+          <enabled>false</enabled>
+        </snapshots>
+      </repository>
+      <repository>
+        <id>shorrockin.com</id>
+        <name>Shorrockin Repository</name>
+        <url>http://maven.shorrockin.com/</url>
+        <releases>
+          <enabled>true</enabled>
+        </releases>
+        <snapshots>
+          <enabled>false</enabled>
+        </snapshots>
+      </repository>
+      <repository>
+        <id>java.net.com</id>
+        <name>Download java.net</name>
+        <url>http://download.java.net/maven/2</url>
+        <releases>
+          <enabled>true</enabled>
+        </releases>
+        <snapshots>
+          <enabled>false</enabled>
+        </snapshots>
+      </repository>
+      <repository>
+        <id>openrdf</id>
+        <name>OpenRDF</name>
+        <url>http://repo.aduna-software.org/maven2/releases</url>
+        <releases>
+          <enabled>true</enabled>
+        </releases>
+        <snapshots>
+          <enabled>false</enabled>
+        </snapshots>
+      </repository>
+      <repository>
+        <id>repo1</id>
+        <name>repo1</name>
+        <url>http://repo1.maven.org/maven2</url>
+        <releases>
+          <enabled>true</enabled>
+        </releases>
+        <snapshots>
+          <enabled>false</enabled>
+        </snapshots>
+      </repository>
+      <repository>
+        <id>oauth.googlecode.com</id>
+        <name>OAuth Google Code</name>
+        <url>http://oauth.googlecode.com/svn/code/maven</url>
+        <releases>
+          <enabled>true</enabled>
+        </releases>
+        <snapshots>
+          <enabled>false</enabled>
+        </snapshots>
+      </repository>
+      <repository>
+        <id>semweb4j-repo</id>
+        <name>Semweb4j.org maven repo</name>
+        <url>http://semweb4j.org/repo/</url>
+        <releases>
+          <enabled>true</enabled>
+        </releases>
+        <snapshots>
+          <enabled>false</enabled>
+        </snapshots>
+      </repository>
   </repositories>
 
   <modules>
@@ -124,21 +305,278 @@
   </modules>
 
   <build>
-    <pluginManagement>
-      <plugins>
-        <!--
-          Apache Cassandra requires Java 1.6
-        -->
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-compiler-plugin</artifactId>
-          <configuration>
-            <source>1.6</source>
-            <target>1.6</target>
-          </configuration>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-  </build>
+     <defaultGoal>test</defaultGoal>
+     
<finalName>${project.groupId}.${project.artifactId}-${project.version}</finalName>
+
+
+     <!-- Here we manage the plugins of all child projects -->
+     <pluginManagement>
+       <plugins>
+
+         <plugin>
+           <artifactId>maven-antrun-plugin</artifactId>
+           <version>1.4</version>
+         </plugin>
+
+         <plugin>
+           <artifactId>maven-compiler-plugin</artifactId>
+           <version>2.3.2</version>
+           <configuration>
+             <source>1.6</source>
+             <target>1.6</target>
+             <debug>${compiler.debug}</debug>
+             <optimize>${compiler.optimize}</optimize>
+           </configuration>
+         </plugin>
+
+         <!--
+           Specify the exact maven plugin version here, since some versions 
have issues with resource filtering in
+           versions 2.7 and 2.8 (see 
http://stackoverflow.com/questions/1397903/setting-project-for-eclipse-using-maven)
+         -->
+         <plugin>
+           <artifactId>maven-eclipse-plugin</artifactId>
+           <version>2.6</version>
+         </plugin>
+
+         <plugin>
+           <artifactId>maven-install-plugin</artifactId>
+           <version>2.3.1</version>
+         </plugin>
+
+         <plugin>
+           <artifactId>maven-javadoc-plugin</artifactId>
+           <version>2.7</version>
+         </plugin>
+
+         <plugin>
+           <artifactId>maven-project-info-reports-plugin</artifactId>
+           <version>2.2</version>
+         </plugin>
+
+         <plugin>
+           <groupId>org.apache.maven.plugins</groupId>
+           <artifactId>maven-release-plugin</artifactId>
+           <version>2.1</version>
+         </plugin>
+
+         <plugin>
+           <artifactId>maven-resources-plugin</artifactId>
+           <version>2.4.3</version>
+         </plugin>
+
+         <plugin>
+           <artifactId>maven-site-plugin</artifactId>
+           <version>2.1.1</version>
+         </plugin>
+
+         <plugin>
+           <artifactId>maven-source-plugin</artifactId>
+           <version>2.1.2</version>
+         </plugin>
+
+         <plugin>
+           <artifactId>maven-surefire-plugin</artifactId>
+           <version>2.6</version>
+         </plugin>
+
+         <plugin>
+           <groupId>org.apache.felix</groupId>
+           <artifactId>maven-bundle-plugin</artifactId>
+           <extensions>true</extensions>
+           <version>2.1.0</version>
+         </plugin>
+
+       </plugins>
+     </pluginManagement>
+
+     <plugins>
+
+       <plugin>
+         <artifactId>maven-eclipse-plugin</artifactId>
+         <configuration>
+           <projectNameTemplate>[groupId].[artifactId]</projectNameTemplate>
+         </configuration>
+       </plugin>
+
+       <plugin>
+         <artifactId>maven-release-plugin</artifactId>
+         <configuration>
+           <autoVersionSubmodules>true</autoVersionSubmodules>
+           
<branchBase>http://subversion.amdatu.org/svn/amdatu/branches</branchBase>
+           <tagBase>http://subversion.amdatu.org/svn/amdatu/tags</tagBase>
+           <scmCommentPrefix>[Amdatu release] </scmCommentPrefix>
+           <goals>install deploy</goals>
+           <releaseProfiles>build-release</releaseProfiles>
+         </configuration>
+       </plugin>
+
+       <plugin>
+         <artifactId>maven-surefire-plugin</artifactId>
+         <configuration>
+           <argLine>-Xmx384m</argLine>
+           <systemPropertyVariables>
+             
<net.sourceforge.cobertura.datafile>${basedir}/target/cobertura/cobertura.ser</net.sourceforge.cobertura.datafile>
+             <java.io.tmpdir>${basedir}/target/iotemp</java.io.tmpdir>
+           </systemPropertyVariables>
+         </configuration>
+       </plugin>
+
+       <!--
+         Activate bundle plugin for handling bundle extension
+       -->
+       <plugin>
+         <groupId>org.apache.felix</groupId>
+         <artifactId>maven-bundle-plugin</artifactId>
+       </plugin>
+
+     </plugins>
+   </build>
+
+   <reporting>
+     <outputDirectory>target/site</outputDirectory>
+     <plugins>
+
+       <plugin>
+         <artifactId>maven-checkstyle-plugin</artifactId>
+         <version>2.6</version>
+         <configuration>
+           <linkXref>true</linkXref>
+         </configuration>
+       </plugin>
+
+       <plugin>
+         <artifactId>maven-javadoc-plugin</artifactId>
+         <version>2.7</version>
+         <configuration>
+           <show>public</show>
+           <detectOfflineLinks>false</detectOfflineLinks>
+         </configuration>
+       </plugin>
+
+       <plugin>
+         <artifactId>maven-jxr-plugin</artifactId>
+         <version>2.2</version>
+         <configuration>
+           <aggregate>false</aggregate>
+         </configuration>
+       </plugin>
+
+       <plugin>
+         <artifactId>maven-pmd-plugin</artifactId>
+         <version>2.5</version>
+         <configuration>
+           <aggregate>false</aggregate>
+           <linkXref>true</linkXref>
+           <minimumTokens>100</minimumTokens>
+           <sourceEncoding>utf-8</sourceEncoding>
+           <targetJdk>1.5</targetJdk>
+         </configuration>
+       </plugin>
+
+       <plugin>
+         <artifactId>maven-project-info-reports-plugin</artifactId>
+         <version>2.2</version>
+         <reportSets>
+           <reportSet>
+             <inherited>false</inherited>
+             <reports>
+               <report>cim</report>
+               <!-- <report>dependencies</report> -->
+               <!-- <report>dependency-convergence</report> -->
+               <report>dependency-management</report>
+               <report>index</report>
+               <report>issue-tracking</report>
+               <report>license</report>
+               <report>mailing-list</report>
+               <report>plugin-management</report>
+               <report>plugins</report>
+               <report>project-team</report>
+               <report>scm</report>
+               <report>summary</report>
+             </reports>
+           </reportSet>
+         </reportSets>
+       </plugin>
+
+       <plugin>
+         <groupId>org.codehaus.mojo</groupId>
+         <artifactId>javancss-maven-plugin</artifactId>
+         <version>2.0-beta-2</version>
+       </plugin>
+
+       <plugin>
+         <groupId>org.codehaus.mojo</groupId>
+         <artifactId>cobertura-maven-plugin</artifactId>
+         <version>2.4</version>
+         <configuration>
+           <formats>
+             <format>html</format>
+             <format>xml</format>
+           </formats>
+         </configuration>
+       </plugin>
+
+       <plugin>
+         <groupId>org.codehaus.mojo</groupId>
+         <artifactId>findbugs-maven-plugin</artifactId>
+         <version>2.3.1</version>
+         <configuration>
+           <xmlOutput>true</xmlOutput>
+           <threshold>High</threshold>
+           <effort>Min</effort>
+           <visitors>FindDeadLocalStores,UnreadFields</visitors>
+         </configuration>
+       </plugin>
+
+     </plugins>
+   </reporting>
+
+   <profiles>
+     <profile>
+       <id>itest</id>
+       <build>
+         <defaultGoal>install</defaultGoal>
+       </build>
+     </profile>
+     <profile>
+       <id>deploy</id>
+       <build>
+         <defaultGoal>deploy</defaultGoal>
+         <plugins>
+           <plugin>
+             <artifactId>maven-javadoc-plugin</artifactId>
+             <inherited>true</inherited>
+             <configuration>
+               <show>private</show>
+               <nohelp>true</nohelp>
+             </configuration>
+             <executions>
+               <execution>
+                 <id>attach-javadocs</id>
+                 <phase>verify</phase>
+                 <goals>
+                   <goal>jar</goal>
+                 </goals>
+               </execution>
+             </executions>
+           </plugin>
+
+           <plugin>
+             <artifactId>maven-source-plugin</artifactId>
+             <inherited>true</inherited>
+             <executions>
+               <execution>
+                 <id>attach-sources</id>
+                 <phase>verify</phase>
+                 <goals>
+                   <goal>jar</goal>
+                 </goals>
+               </execution>
+             </executions>
+           </plugin>
 
+         </plugins>
+      </build>
+ </profile>
+  </profiles>
 </project>
\ No newline at end of file
_______________________________________________
Amdatu-commits mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-commits

Reply via email to