Use Maven for building yaz4j.
[yaz4j-moved-to-github.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
5     <!-- POM Relationships -->
6     <modelVersion>4.0.0</modelVersion>
7     <groupId>org.yaz4j</groupId>
8     <artifactId>yaz4j</artifactId>
9     <version>1.0-SNAPSHOT</version>
10     <packaging>jar</packaging>
11
12     <!-- Project Information -->
13     <name>yaz4j</name>
14     <url>http://indexdata.com/yaz4j</url>
15     <inceptionYear>2008</inceptionYear>
16     <licenses>
17         <license>
18             <name>BSD</name>
19             <url>http://www.opensource.org/licenses/bsd-license.php</url>
20         </license>
21     </licenses>
22     <description>Java wrapper for the ZOOM API of YAZ</description>
23
24     <developers>
25         <developer>
26             <name>Rob Styles</name>
27             <id />
28             <email>Rob.Styles@talis.com</email>
29             <organization />
30             <organizationUrl />
31             <roles />
32             <timezone />
33         </developer>
34         <developer>
35             <name>Adam Dickmeiss</name>
36             <id />
37             <email>adam@indexdata.dk</email>
38             <organization />
39             <organizationUrl />
40             <roles />
41             <timezone />
42         </developer>
43     </developers>
44     <!-- ///////////////// -->
45
46     <!-- Project Dependencies -->
47     <dependencies>
48         <dependency>
49             <groupId>junit</groupId>
50             <artifactId>junit</artifactId>
51             <version>4.3.1</version>
52             <scope>test</scope>
53         </dependency>
54     </dependencies>
55     <!-- ///////////////// -->
56
57     <!-- Build Settings -->
58     <build>
59         <plugins>
60             <plugin>
61                 <groupId>org.apache.maven.plugins</groupId>
62                 <artifactId>maven-resources-plugin</artifactId>
63                 <configuration>
64                     <encoding>UTF-8</encoding>
65                 </configuration>
66             </plugin>
67
68             <plugin>
69                 <groupId>org.apache.maven.plugins</groupId>
70                 <artifactId>maven-compiler-plugin</artifactId>
71                 <configuration>
72                     <encoding>UTF-8</encoding>
73                     <source>1.5</source>
74                     <target>1.5</target>
75                     <showDeprecation>true</showDeprecation>
76                     <showWarnings>true</showWarnings>
77                 </configuration>
78             </plugin>
79
80             <plugin>
81                 <groupId>org.apache.maven.plugins</groupId>
82                 <artifactId>maven-surefire-plugin</artifactId>
83                 <configuration>
84                     <forkMode>once</forkMode>
85                     <workingDirectory>target</workingDirectory>
86                     <argLine>-Djava.library.path=${basedir}/libyaz4j/lib</argLine>
87                 </configuration>
88             </plugin>
89         </plugins>
90     </build>
91
92     <!-- Reporting -->
93     <reporting>
94         <plugins>
95             <plugin>
96                 <groupId>org.apache.maven.plugins</groupId>
97                 <artifactId>maven-checkstyle-plugin</artifactId>
98                 <configuration>
99                     <enableRSS>false</enableRSS>
100                     <include>**/*.java</include>
101                     <sourceDirectory>src/main/java</sourceDirectory>
102                 </configuration>
103             </plugin>
104
105             <plugin>
106                 <groupId>org.apache.maven.plugins</groupId>
107                 <artifactId>
108                 maven-project-info-reports-plugin
109                 </artifactId>
110                 <reportSets>
111                     <reportSet>
112                         <reports>
113                             <report>dependencies</report>
114                             <report>project-team</report>
115                             <report>mailing-list</report>
116                             <report>issue-tracking</report>
117                             <report>summary</report>
118                             <report>scm</report>
119                             <report>index</report>
120                         </reports>
121                     </reportSet>
122                 </reportSets>
123             </plugin>
124             <plugin>
125                 <groupId>org.apache.maven.plugins</groupId>
126                 <artifactId>maven-javadoc-plugin</artifactId>
127                 <configuration>
128                     <chartset>UTF-8</chartset>
129                 </configuration>
130             </plugin>
131         </plugins>
132     </reporting>
133     <!-- ////////////// -->
134
135     <!-- Build Environment -->
136     <!-- Environment Information -->
137     <mailingLists>
138         <mailingList>
139             <name />
140             <subscribe />
141             <unsubscribe />
142             <post />
143             <archive />
144         </mailingList>
145     </mailingLists>
146
147     <scm>
148         <connection />
149         <url />
150     </scm>
151
152     <issueManagement>
153         <system />
154         <url />
155     </issueManagement>
156
157     <ciManagement>
158         <system />
159         <url />
160     </ciManagement>
161     <!-- /////////////////////// -->
162
163     <!-- Maven Environment -->
164     <repositories />
165     <pluginRepositories />
166     <!-- ///////////////// -->
167
168     <!-- Maven Common Properties -->
169     <properties />
170     <!-- /////////////////// -->
171 </project>
172
173