Update parameters for antrun plugin
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 18 May 2015 11:32:36 +0000 (13:32 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 18 May 2015 11:32:36 +0000 (13:32 +0200)
pom.xml
unix/pom.xml

diff --git a/pom.xml b/pom.xml
index 0096f9a..72a3552 100644 (file)
--- a/pom.xml
+++ b/pom.xml
             <phase>generate-sources</phase>
             <inherited>false</inherited>
             <configuration>
-              <tasks>
+              <target>
                 <echo message="Using include: ${yaz.include}"/>
                 <mkdir dir="target/generated-sources/java/org/yaz4j/jni"/>
                 <mkdir dir="target/generated-sources/native" />
                   <arg value="-java"/>
                   <arg value="src/main/swig/libyaz4j.i"/>
                 </exec>
-              </tasks>
+              </target>
             </configuration>
             <goals>
               <goal>run</goal>
                   <goal>run</goal>
                 </goals>
                 <configuration>
-                  <tasks>
+                  <target>
                     <exec executable="${yaz.config}" 
                       outputproperty="yaz-config.include"
                       errorproperty="yaz-config.error">
                     <mkdir dir="${basedir}/target"/>
                     <echo file="${basedir}/target/swig.properties"
                       message="yaz.include=${yaz.include}"/>
-                  </tasks>
+                  </target>
                 </configuration>
               </execution>
             </executions>
index cc615b4..a98e050 100644 (file)
@@ -26,7 +26,7 @@
               <goal>run</goal>
             </goals>
             <configuration>
-              <tasks>
+              <target>
                 <exec executable="${yaz.config}" outputproperty="yaz.cflags">
                   <arg value="--cflags" />
                 </exec>
@@ -44,7 +44,7 @@
                 -->
                 <echo file="${basedir}/target/yaz-config.properties"
                   message="yaz.cflags=${yaz.cflags}${line.separator}yaz.libs=${yaz.libs}"/>
-              </tasks>
+              </target>
             </configuration>
           </execution>
         </executions>