Expand on maven repo
[yaz4j-moved-to-github.git] / unix / pom.xml
index cc615b4..49644a8 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>
@@ -79,7 +79,7 @@
           <compilerProvider>generic</compilerProvider>
           <compilerExecutable>g++</compilerExecutable>
           <compilerStartOptions>
-            <compilerStartOption>-fPIC</compilerStartOption>
+            <compilerStartOption>-fPIC -Wno-deprecated-declarations</compilerStartOption>
           </compilerStartOptions>
           <compilerEndOptions>
             <compilerEndOption>${yaz.cflags}</compilerEndOption>