1 <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">
2 <modelVersion>4.0.0</modelVersion>
3 <groupId>org.yaz4j</groupId>
4 <artifactId>yaz4j-lib</artifactId>
5 <version>1.6-SNAPSHOT</version>
6 <packaging>pom</packaging>
12 <!-- Project Information -->
14 <url>http://www.indexdata.com/yaz4j/</url>
15 <inceptionYear>2008</inceptionYear>
19 <url>http://www.opensource.org/licenses/BSD-3-Clause</url>
22 <description>Java wrapper for the ZOOM API of YAZ</description>
25 <name>Index Data</name>
30 <name>Rob Styles</name>
32 <email>Rob.Styles@talis.com</email>
33 <organization>Talis</organization>
34 <organizationUrl>http://www.talis.com/</organizationUrl>
39 <name>Adam Dickmeiss</name>
41 <email>adam@indexdata.dk</email>
42 <organization>Index Data</organization>
43 <organizationUrl>http://www.indexdata.com/</organizationUrl>
48 <name>Jakub Skoczen</name>
50 <email>jakub@indexdata.dk</email>
51 <organization>Index Data</organization>
52 <organizationUrl>http://www.indexdata.com/</organizationUrl>
57 <name>Juan Cayetano</name>
59 <email>juancayetano.delgado@gmail.com</email>
73 <groupId>junit</groupId>
74 <artifactId>junit</artifactId>
75 <version>4.3.1</version>
81 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
88 <groupId>org.apache.maven.wagon</groupId>
89 <artifactId>wagon-ssh</artifactId>
90 <version>1.0-beta-6</version>
93 <groupId>org.apache.maven.wagon</groupId>
94 <artifactId>wagon-ssh-external</artifactId>
95 <version>2.2</version>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-release-plugin</artifactId>
104 <version>2.2.2</version>
106 <preparationGoals>clean verify</preparationGoals>
107 <releaseProfiles>production</releaseProfiles>
108 <tagNameFormat>v@{project.version}</tagNameFormat>
109 <pushChanges>false</pushChanges>
110 <localCheckout>true</localCheckout>
115 <artifactId>maven-antrun-plugin</artifactId>
116 <version>1.8</version>
119 <id>generate-sources</id>
120 <phase>generate-sources</phase>
121 <inherited>false</inherited>
124 <echo message="Using include: ${yaz.include}" />
125 <mkdir dir="target/generated-sources/java/org/yaz4j/jni" />
126 <mkdir dir="target/generated-sources/native" />
127 <exec executable="${swig}">
128 <arg value="-Isrc/main/native" />
129 <arg value="${yaz.include}" />
130 <arg value="-outdir" />
131 <arg value="${basedir}/target/generated-sources/java/org/yaz4j/jni" />
132 <arg value="-package" />
133 <arg value="org.yaz4j.jni" />
135 <arg value="${basedir}/target/generated-sources/native/libyaz4j.cpp" />
137 <arg value="-java" />
138 <arg value="src/main/swig/libyaz4j.i" />
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-checkstyle-plugin</artifactId>
158 <version>2.15</version>
160 <enableRSS>false</enableRSS>
161 <include>**/*.java</include>
162 <sourceDirectory>src/main/java</sourceDirectory>
167 <groupId>org.apache.maven.plugins</groupId>
169 maven-project-info-reports-plugin
171 <version>2.8</version>
175 <report>dependencies</report>
176 <report>project-team</report>
177 <report>mailing-list</report>
178 <report>issue-tracking</report>
179 <report>summary</report>
181 <report>index</report>
187 <groupId>org.apache.maven.plugins</groupId>
188 <artifactId>maven-javadoc-plugin</artifactId>
189 <version>2.10.3</version>
191 <chartset>UTF-8</chartset>
192 <excludePackageNames>org.yaz4j.jni</excludePackageNames>
197 <!-- ////////////// -->
199 <!-- Environment Information -->
205 <post>yazlist@lists.indexdata.dk</post>
206 <archive>http://lists.indexdata.dk/pipermail/yazlist/</archive>
211 <connection>scm:git:git://git.indexdata.com/yaz4j</connection>
212 <url>http://git.indexdata.com/?p=yaz4j.git</url>
216 <system>JIRA</system>
217 <url>http://jira.indexdata.com</url>
220 <distributionManagement>
222 <uniqueVersion>false</uniqueVersion>
223 <id>id-maven-repo</id>
224 <name>Index Data Maven Repository</name>
225 <url>scp://maven.indexdata.com:22/var/www/maven/repository</url>
229 <url>scpexe://www.indexdata.com/var/www/software/yaz4j/site</url>
231 </distributionManagement>
238 <family>windows</family>
242 <platform>win32</platform>
243 <yaz.path>C:\Program Files\YAZ</yaz.path>
245 <!-- needed by swig -->
246 <yaz.include>"-I${yaz.path}\include"</yaz.include>
247 <yaz.libs>"${yaz.path}\lib\yaz5.lib"</yaz.libs>
250 <module>win32</module>
258 <family>unix</family>
262 <platform>linux</platform> <!-- no solaris etc -->
263 <packaging>so</packaging>
264 <!-- yaz-config executable -->
265 <yaz.config>yaz-config</yaz.config>
267 <javahOS>linux</javahOS>
268 <jdkIncludePath>${java.home}/../include</jdkIncludePath>
271 <module>unix</module>
276 <artifactId>maven-antrun-plugin</artifactId>
279 <id>write-swig-include</id>
280 <phase>initialize</phase>
286 <exec executable="${yaz.config}" outputproperty="yaz-config.include" errorproperty="yaz-config.error">
287 <arg value="--include" />
289 <echo message="yaz-config error (if any): ${yaz-config.error}" />
290 <condition property="yaz.include" value="-I/usr/include" else="${yaz-config.include}">
291 <equals arg1="${yaz-config.include}" arg2="" />
293 <echo message="YAZ INCLUDE=${yaz.include}" />
294 <mkdir dir="${basedir}/target" />
295 <echo file="${basedir}/target/swig.properties" message="yaz.include=${yaz.include}" />
302 <groupId>org.codehaus.mojo</groupId>
303 <artifactId>properties-maven-plugin</artifactId>
304 <version>1.0-alpha-1</version>
307 <id>read-swig-config</id>
308 <phase>initialize</phase>
310 <goal>read-project-properties</goal>
314 <file>${basedir}/target/swig.properties</file>
325 <!-- osx family is both 'unix' and 'mac' -->
333 <platform>osx</platform>
334 <packaging>dylib</packaging>
335 <javahOS>darwin</javahOS>
336 <jdkIncludePath>${java.home}/../include</jdkIncludePath>
339 <module>unix</module>
344 <!-- Apple JDK has a different include layout -->
348 <name>java.vendor</name>
349 <value>Apple Inc.</value>
353 <jdkIncludePath>${java.home}/../Headers</jdkIncludePath>
356 <module>unix</module>