[exo-jcr-commits] exo-jcr SVN: r5353 - in core/trunk/exo.core.component.organization.tests: src and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Dec 26 07:23:31 EST 2011


Author: tolusha
Date: 2011-12-26 07:23:30 -0500 (Mon, 26 Dec 2011)
New Revision: 5353

Removed:
   core/trunk/exo.core.component.organization.tests/src/main/
Modified:
   core/trunk/exo.core.component.organization.tests/pom.xml
Log:
EXOJCR-1694: Fixed the build for Sonar

Modified: core/trunk/exo.core.component.organization.tests/pom.xml
===================================================================
--- core/trunk/exo.core.component.organization.tests/pom.xml	2011-12-26 11:51:02 UTC (rev 5352)
+++ core/trunk/exo.core.component.organization.tests/pom.xml	2011-12-26 12:23:30 UTC (rev 5353)
@@ -32,35 +32,27 @@
 
    <name>eXo Core :: Component :: Organization Service Tests</name>
    <description>Create an Organisation Service TCK package</description>
+
+   <properties>
+      <!-- We don't want to compile them here -->
+      <maven.test.skip>true</maven.test.skip>
+   </properties>
    
    <build>
       <plugins>
-         <!-- 
-         To avoid test sources compilation we simply exclude them
-         -->
-         <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-compiler-plugin</artifactId>
-            <configuration>
-               <excludes> 
-                  <exclude>**/*.*</exclude> 
-               </excludes>
-            </configuration>
-         </plugin>
          <!--
-         Configure maven-source-plugin to add sources packed
+         Configure maven-source-plugin to add test sources packed
          in jar files to maven artifact
          -->
          <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-source-plugin</artifactId>
-            <version>2.1.2</version>
             <executions>
                <execution>
                   <id>attach-sources</id>
-                  <phase>verify</phase>
+                  <phase>package</phase>
                   <goals>
-                     <goal>jar-no-fork</goal>
+                     <goal>test-jar-no-fork</goal>
                   </goals>
                </execution>
             </executions>



More information about the exo-jcr-commits mailing list