<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>
<goal>run</goal>
</goals>
<configuration>
- <tasks>
+ <target>
<exec executable="${yaz.config}" outputproperty="yaz.cflags">
<arg value="--cflags" />
</exec>
-->
<echo file="${basedir}/target/yaz-config.properties"
message="yaz.cflags=${yaz.cflags}${line.separator}yaz.libs=${yaz.libs}"/>
- </tasks>
+ </target>
</configuration>
</execution>
</executions>