Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > 727716ae7787e816b71aaafba6265c98 > files > 4

json-lib-2.4-7.mga5.src.rpm

diff --git a/pom.xml b/pom.xml
index cc191ee..37bb10a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -297,6 +297,58 @@
                   </goals>
                </execution>
             </executions>
+        </plugin>
+        <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <version>1.7</version>
+            <dependencies>
+               <dependency>
+                  <groupId>org.codehaus.groovy</groupId>
+                  <artifactId>groovy</artifactId>
+                  <version>any</version>
+               </dependency>
+               <dependency>
+                  <groupId>antlr</groupId>
+                  <artifactId>antlr</artifactId>
+                  <version>any</version>
+               </dependency>
+               <dependency>
+                  <groupId>commons-cli</groupId>
+                  <artifactId>commons-cli</artifactId>
+                  <version>any</version>
+               </dependency>
+               <dependency>
+                  <groupId>asm</groupId>
+                  <artifactId>asm-all</artifactId>
+                  <version>any</version>
+               </dependency>
+               <dependency>
+                  <groupId>org.slf4j</groupId>
+                  <artifactId>slf4j-nop</artifactId>
+                  <version>any</version>
+               </dependency>
+            </dependencies>
+            <executions>
+               <execution>
+                  <id>compile</id>
+                  <phase>process-sources</phase>
+                  <configuration>
+                     <target>
+                        <mkdir dir="${basedir}/target/classes"/>
+                        <taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc">
+                           <classpath refid="maven.plugin.classpath"/>
+                        </taskdef>
+                        <groovyc destdir="${project.build.outputDirectory}" srcdir="${basedir}/src/main" classpathref="maven.compile.classpath">
+                           <javac source="1.5" target="1.5" debug="on"/>
+                        </groovyc>
+                     </target>
+                  </configuration>
+                  <goals>
+                     <goal>run</goal>
+                  </goals>
+               </execution>
+            </executions>
          </plugin>
       </plugins>
    </build>