2 <modelVersion>4.0.0</modelVersion>
3 <groupId>org.yaz4j</groupId>
4 <artifactId>yaz4j-lib</artifactId>
5 <version>1.5-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-license.php</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>
118 <id>generate-sources</id>
119 <phase>generate-sources</phase>
120 <inherited>false</inherited>
123 <echo message="Using include: ${yaz.include}"/>
124 <mkdir dir="target/generated-sources/java/org/yaz4j/jni"/>
125 <mkdir dir="target/generated-sources/native" />
126 <exec executable="${swig}">
127 <arg value="-Isrc/main/native" />
128 <arg value="${yaz.include}"/>
129 <arg value="-outdir"/>
130 <arg value="${basedir}/target/generated-sources/java/org/yaz4j/jni"/>
131 <arg value="-package"/>
132 <arg value="org.yaz4j.jni"/>
134 <arg value="${basedir}/target/generated-sources/native/libyaz4j.cpp"/>
137 <arg value="src/main/swig/libyaz4j.i"/>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-checkstyle-plugin</artifactId>
158 <enableRSS>false</enableRSS>
159 <include>**/*.java</include>
160 <sourceDirectory>src/main/java</sourceDirectory>
165 <groupId>org.apache.maven.plugins</groupId>
167 maven-project-info-reports-plugin
172 <report>dependencies</report>
173 <report>project-team</report>
174 <report>mailing-list</report>
175 <report>issue-tracking</report>
176 <report>summary</report>
178 <report>index</report>
184 <groupId>org.apache.maven.plugins</groupId>
185 <artifactId>maven-javadoc-plugin</artifactId>
187 <chartset>UTF-8</chartset>
188 <excludePackageNames>org.yaz4j.jni</excludePackageNames>
193 <!-- ////////////// -->
195 <!-- Environment Information -->
201 <post>yazlist@lists.indexdata.dk</post>
202 <archive>http://lists.indexdata.dk/pipermail/yazlist/</archive>
207 <connection>scm:git:git://git.indexdata.com/yaz4j</connection>
208 <url>http://git.indexdata.com/?p=yaz4j.git</url>
212 <system>JIRA</system>
213 <url>http://jira.indexdata.com</url>
216 <distributionManagement>
218 <uniqueVersion>false</uniqueVersion>
219 <id>id-maven-repo</id>
220 <name>Index Data Maven Repository</name>
221 <url>scp://maven.indexdata.com:22/var/www/maven/repository</url>
225 <url>scpexe://www.indexdata.com/var/www/software/yaz4j/site</url>
227 </distributionManagement>
234 <family>windows</family>
238 <platform>win32</platform>
239 <yaz.path>C:\Program Files\YAZ</yaz.path>
241 <!-- needed by swig -->
242 <yaz.include>"-I${yaz.path}\include"</yaz.include>
243 <yaz.libs>"${yaz.path}\lib\yaz5.lib"</yaz.libs>
246 <module>win32</module>
254 <family>unix</family>
258 <platform>linux</platform> <!-- no solaris etc -->
259 <packaging>so</packaging>
260 <!-- yaz-config executable -->
261 <yaz.config>yaz-config</yaz.config>
263 <javahOS>linux</javahOS>
264 <jdkIncludePath>${java.home}/../include</jdkIncludePath>
267 <module>unix</module>
272 <artifactId>maven-antrun-plugin</artifactId>
275 <id>write-swig-include</id>
276 <phase>initialize</phase>
282 <exec executable="${yaz.config}"
283 outputproperty="yaz-config.include"
284 errorproperty="yaz-config.error">
285 <arg value="--include" />
288 message="yaz-config error (if any): ${yaz-config.error}"/>
289 <condition property="yaz.include"
290 value="-I/usr/include"
291 else="${yaz-config.include}">
292 <equals arg1="${yaz-config.include}" arg2=""/>
294 <echo message="YAZ INCLUDE=${yaz.include}"/>
295 <mkdir dir="${basedir}/target"/>
296 <echo file="${basedir}/target/swig.properties"
297 message="yaz.include=${yaz.include}"/>
304 <groupId>org.codehaus.mojo</groupId>
305 <artifactId>properties-maven-plugin</artifactId>
306 <version>1.0-alpha-1</version>
309 <id>read-swig-config</id>
310 <phase>initialize</phase>
312 <goal>read-project-properties</goal>
316 <file>${basedir}/target/swig.properties</file>
327 <!-- osx family is both 'unix' and 'mac' -->
335 <platform>osx</platform>
336 <packaging>dylib</packaging>
337 <javahOS>darwin</javahOS>
338 <jdkIncludePath>${java.home}/../include</jdkIncludePath>
341 <module>unix</module>
346 <!-- Apple JDK has a different include layout -->
350 <name>java.vendor</name>
351 <value>Apple Inc.</value>
355 <jdkIncludePath>${java.home}/../Headers</jdkIncludePath>
358 <module>unix</module>