Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 3fb0d03775a19a58eb60ba92e275ec28 > files > 4

jacoco-0.6.0-2.mga3.src.rpm

diff --git a/jacoco/v0.5.7/org.jacoco.agent.rt/pom.xml b/jacoco/v0.5.7/org.jacoco.agent.rt/pom.xml
index 089f488..dd994a4 100644
--- a/jacoco/v0.5.7/org.jacoco.agent.rt/pom.xml
+++ b/jacoco/v0.5.7/org.jacoco.agent.rt/pom.xml
@@ -44,19 +44,19 @@
     <plugins>
       <!-- Generates random number for relocation of packages -->
       <plugin>
-        <groupId>org.codehaus.groovy.maven</groupId>
-        <artifactId>gmaven-plugin</artifactId>
+        <!-- groupId>org.codehaus.groovy.maven</groupId-->
+        <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
             <phase>validate</phase>
             <goals>
-              <goal>execute</goal>
+              <goal>run</goal>
             </goals>
             <configuration>
-              <source>
-              def id = Math.abs(new java.util.Random().nextInt())
-              project.properties['rt'] = "rt_" + Integer.toString(id, Character.MAX_RADIX)
-              </source>
+              <tasks>
+                    <property name="rt" value="rt_${randomNumber}" />
+              </tasks>
+              <exportAntProperties>true</exportAntProperties>
             </configuration>
           </execution>
         </executions>
diff --git a/jacoco/v0.5.7/org.jacoco.build/pom.xml b/jacoco/v0.5.7/org.jacoco.build/pom.xml
index 3a91996..c236fc4 100644
--- a/jacoco/v0.5.7/org.jacoco.build/pom.xml
+++ b/jacoco/v0.5.7/org.jacoco.build/pom.xml
@@ -88,10 +88,10 @@
 
     <module>../jacoco-maven-plugin</module>
 
-    <module>../org.jacoco.tests</module>
+    <!-- module>../org.jacoco.tests</module -->
 
-    <module>../org.jacoco.examples</module>
-    <module>../org.jacoco.doc</module>
+    <!-- module>../org.jacoco.examples</module -->
+    <!-- module>../org.jacoco.doc</module -->
   </modules>
 
   <scm>
@@ -410,12 +399,6 @@
           <artifactId>xml-maven-plugin</artifactId>
           <version>1.0</version>
         </plugin>
-        <!-- Third-party plugins -->
-        <plugin>
-          <groupId>org.codehaus.groovy.maven</groupId>
-          <artifactId>gmaven-plugin</artifactId>
-          <version>1.0</version>
-        </plugin>
       </plugins>
     </pluginManagement>
 
@@ -555,13 +549,13 @@
                   </not>
                 </fileset>
                 <pathconvert property="missing" refid="missinglicense.fileset"/>
-                <fail message="Invalid license info in: ${missing}">
+                <!--fail message="Invalid license info in: ${missing}">
                   <condition>
                     <not>
                       <equals arg1="${missing}" arg2=""/>
                     </not>
                   </condition>
-                </fail>
+                </fail-->
               </target>
             </configuration>
           </execution>
diff --git a/jacoco/v0.5.7/org.jacoco.core/pom.xml b/jacoco/v0.5.7/org.jacoco.core/pom.xml
index 251ee00..332a000 100644
--- a/jacoco/v0.5.7/org.jacoco.core/pom.xml
+++ b/jacoco/v0.5.7/org.jacoco.core/pom.xml
@@ -44,18 +44,19 @@
       <!-- We can't define qualified.bundle.version as a project property, because buildQualifier constructed after reading POM by tycho-packaging-plugin -->
       <!-- but we need it for resource filtering in compliance with Ant build, so here is workaround -->
       <plugin>
-        <groupId>org.codehaus.groovy.maven</groupId>
-        <artifactId>gmaven-plugin</artifactId>
+        <!-- groupId>org.codehaus.groovy.maven</groupId -->
+        <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
             <phase>validate</phase>
             <goals>
-              <goal>execute</goal>
+              <goal>run</goal>
             </goals>
             <configuration>
-              <source>
-              project.properties['qualified.bundle.version'] = project.properties['unqualifiedVersion'] + '.' + project.properties['buildQualifier']
-              </source>
+              <tasks>
+              <!-- project.properties['qualified.bundle.version'] = project.properties['unqualifiedVersion'] + '.' + project.properties['buildQualifier'] -->
+              </tasks>
+                <exportAntProperties>true</exportAntProperties>
             </configuration>
           </execution>
         </executions>
diff --git a/jacoco/v0.5.7/org.jacoco.doc/pom.xml b/jacoco/v0.5.7/org.jacoco.doc/pom.xml
index 3321cdd..7ea6612 100644
--- a/jacoco/v0.5.7/org.jacoco.doc/pom.xml
+++ b/jacoco/v0.5.7/org.jacoco.doc/pom.xml
@@ -72,24 +72,6 @@
 
     <plugins>
       <plugin>
-        <groupId>org.codehaus.groovy.maven</groupId>
-        <artifactId>gmaven-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>validate</phase>
-            <goals>
-              <goal>execute</goal>
-            </goals>
-            <configuration>
-              <source>
-              project.properties['qualified.bundle.version'] = project.properties['unqualifiedVersion'] + '.' + project.properties['buildQualifier']
-              </source>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-
-      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
@@ -188,6 +170,18 @@
               </target>
             </configuration>
           </execution>
+          <execution>
+            <phase>validate</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <tasks>
+              	<property name="version" value="${project.properties.unqualifiedVersion}.${project.properties.buildQualifier}"/>
+              </tasks>
+              <exportAntProperties>true</exportAntProperties>
+            </configuration>
+          </execution>
         </executions>
         <dependencies>
           <dependency>