[maven-release-plugin] prepare for next development iteration
[yaz4j-moved-to-github.git] / unix / pom.xml
index 1a74e73..9aa31fe 100644 (file)
@@ -1,9 +1,9 @@
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.yaz4j</groupId>
     <artifactId>yaz4j-lib</artifactId>
-    <version>1.5-SNAPSHOT</version>
+    <version>1.6-SNAPSHOT</version>
   </parent>
   <groupId>org.yaz4j</groupId>
   <artifactId>libyaz4j</artifactId>
   <packaging>${packaging}</packaging>
 
   <build>
-    <finalName>${artifactId}</finalName>
+    <finalName>${project.artifactId}</finalName>
     <testSourceDirectory>../src/test</testSourceDirectory>
 
     <plugins>
       <plugin>
         <artifactId>maven-antrun-plugin</artifactId>
+        <version>1.8</version>
         <executions>
           <execution>
             <id>write-yaz-config</id>
               <goal>run</goal>
             </goals>
             <configuration>
-              <tasks>
+              <target>
                 <exec executable="${yaz.config}" outputproperty="yaz.cflags">
                   <arg value="--cflags" />
                 </exec>
-                <echo message="YAZ CFLAGS: ${yaz.cflags}"/>
+                <echo message="YAZ CFLAGS: ${yaz.cflags}" />
                 <exec executable="${yaz.config}" outputproperty="yaz.libs">
                   <arg value="--libs" />
                 </exec>
-                <echo message="YAZ LIBS: ${yaz.libs}"/>
+                <echo message="YAZ LIBS: ${yaz.libs}" />
                 <!-- this does not work on debian/ubuntu
-                <propertyfile file="${basedir}/target/yaz-config.properties"
-                  comment="YAZ COMPILER/LINKER FLAGS">
-                  <entry key="yaz.cflags" value="${yaz.cflags}"/>
-                  <entry key="yaz.libs" value="${yaz.libs}"/>
+                <propertyfile file="${basedir}/target/yaz-config.properties" comment="YAZ COMPILER/LINKER FLAGS">
+                  <entry key="yaz.cflags" value="${yaz.cflags}" />
+                  <entry key="yaz.libs" value="${yaz.libs}" />
                 </propertyfile>
                 -->
-                <echo file="${basedir}/target/yaz-config.properties"
-                  message="yaz.cflags=${yaz.cflags}${line.separator}yaz.libs=${yaz.libs}"/>
-              </tasks>
+                <echo file="${basedir}/target/yaz-config.properties" message="yaz.cflags=${yaz.cflags}${line.separator}yaz.libs=${yaz.libs}" />
+              </target>
             </configuration>
           </execution>
         </executions>
@@ -70,6 +69,7 @@
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>native-maven-plugin</artifactId>
+        <version>1.0-alpha-8</version>
         <extensions>true</extensions>       
         <configuration>         
           <javahOS>${javahOS}</javahOS>
@@ -77,7 +77,7 @@
           <compilerProvider>generic</compilerProvider>
           <compilerExecutable>g++</compilerExecutable>
           <compilerStartOptions>
-            <compilerStartOption>-fPIC</compilerStartOption>
+            <compilerStartOption>-fPIC -Wno-deprecated-declarations</compilerStartOption>
           </compilerStartOptions>
           <compilerEndOptions>
             <compilerEndOption>${yaz.cflags}</compilerEndOption>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.3</version>
         <configuration>
           <encoding>UTF-8</encoding>
           <source>1.6</source>
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>build-helper-maven-plugin</artifactId>
+        <version>1.9.1</version>
         <executions>
           <execution>
             <id>include-generated-test-sources</id>
 
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.18.1</version>
         <configuration>
           <forkMode>once</forkMode>
           <workingDirectory>target</workingDirectory>