Project

Profile

Help

Bug #4158 ยป pom.xml

draft of working pom.xml - Svante Schubert, 2019-03-06 18:12

 
1

    
2
<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/xsd/maven-4.0.0.xsd">
3

    
4

    
5
        <modelVersion>4.0.0</modelVersion>
6
        <groupId>net.sf.saxon</groupId>
7
        <artifactId>Saxon-HE</artifactId>
8
        <version>9.9.1-1</version>
9
        <packaging>jar</packaging>
10

    
11
        <name>Saxon-HE</name>
12
        <description>The XSLT and XQuery Processor</description>
13
        <url>http://www.saxonica.com/</url>
14

    
15
        <licenses>
16
                <license>
17
                        <name>Mozilla Public License Version 2.0</name>
18
                        <url>http://www.mozilla.org/MPL/2.0/</url>
19
                        <distribution>repo</distribution>
20
                </license>
21
        </licenses>
22
        <scm>
23
                <connection>scm:svn:https://dev.saxonica.com/repos/archive/opensource/</connection>
24
                <developerConnection>scm:svn:https://dev.saxonica.com/repos/archive/opensource/</developerConnection>
25
                <url>https://dev.saxonica.com/repos/archive/opensource/</url>
26
        </scm>
27

    
28
        <developers>
29
                <developer>
30
                        <id>mike</id>
31
                        <name>Michael Kay</name>
32
                        <email>mike@saxonica.com</email>
33
                </developer>
34
                <developer>
35
                        <id>ond1</id>
36
                        <name>O'Neil Delpratt</name>
37
                        <email>oneil@saxonica.com</email>
38
                </developer>
39
                <developer>
40
                        <id>debbie</id>
41
                        <name>Debbie Lockett</name>
42
                        <email>debbie@saxonica.com</email>
43
                </developer>
44
                <developer>
45
                        <id>John</id>
46
                        <name>John Lumley</name>
47
                        <email>john@saxonica.com</email>
48
                </developer>
49
        </developers>
50

    
51
        <properties>
52
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
53
        <skipTests>false</skipTests>
54
        <maven.javadoc.skip>true</maven.javadoc.skip>
55
        <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
56
        <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss</maven.build.timestamp.format>        
57
                <maven.compiler.source>1.8</maven.compiler.source>
58
                <maven.compiler.target>1.8</maven.compiler.target>
59
        </properties>
60

    
61
        <issueManagement>
62
                <system>Saxon Community</system>
63
                <url>https://saxonica.plan.io/projects/saxon</url>
64
        </issueManagement>
65

    
66
        <inceptionYear>1999</inceptionYear>
67
        <mailingLists>
68
                <mailingList>
69
                        <name>User List</name>
70
                        <post>saxon-help@lists.sourceforge.net</post>
71
                        <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=saxon-help</archive>
72
                </mailingList>
73
        </mailingLists>
74

    
75

    
76
        <dependencies>
77
                <dependency>
78
                        <groupId>org.jdom</groupId>
79
                        <artifactId>jdom</artifactId>
80
                        <version>1.1.3</version>
81
                        <optional>true</optional>
82
                </dependency>
83

    
84
                <dependency>
85
                        <groupId>org.jdom</groupId>
86
                        <artifactId>jdom2</artifactId>
87
                        <version>2.0.6</version>
88
                        <optional>true</optional>
89
                </dependency>
90

    
91
                <dependency>
92
                        <groupId>com.io7m.xom</groupId>
93
                        <artifactId>xom</artifactId>
94
                        <version>1.2.10</version>
95
                        <optional>true</optional>
96
                </dependency>
97
        
98
        <!-- https://mvnrepository.com/artifact/com.ibm.icu/icu4j -->
99
        <dependency>
100
            <groupId>com.ibm.icu</groupId>
101
            <artifactId>icu4j</artifactId>
102
            <version>63.1</version>
103
        </dependency>
104
        
105
                <dependency>
106
                        <groupId>dom4j</groupId>
107
                        <artifactId>dom4j</artifactId>
108
                        <version>1.6.1</version>
109
                        <optional>true</optional>
110
                </dependency>
111

    
112
                <dependency>
113
                        <groupId>xml-resolver</groupId>
114
                        <artifactId>xml-resolver</artifactId>
115
                        <version>1.2</version>
116
                        <optional>true</optional>
117
                </dependency>
118

    
119
                <dependency>
120
                        <groupId>org.apache.ws.commons.axiom</groupId>
121
                        <artifactId>axiom-impl</artifactId>
122
                        <version>1.2.15</version>
123
                        <optional>true</optional>
124
                </dependency>
125
        </dependencies>
126

    
127
        <organization>
128
                <name>Saxonica</name>
129
                <url>http://www.saxonica.com</url>
130
        </organization>
131

    
132
        <parent>
133
                <groupId>org.sonatype.oss</groupId>
134
                <artifactId>oss-parent</artifactId>
135
                <version>7</version>
136
        </parent>
137
  
138
        <!-- Build Settings -->
139
        <build>
140
                <plugins>
141
                        <plugin>
142
                                <artifactId>maven-compiler-plugin</artifactId>
143
                                <version>3.6.1</version><!--
144
                                <configuration>
145
                                        <source>${jdk.version}</source>
146
                                        <target>${jdk.version}</target>
147
                                </configuration>-->
148
                        </plugin>
149
                        <plugin>
150
                                <groupId>org.apache.maven.plugins</groupId>
151
                                <artifactId>maven-jar-plugin</artifactId>
152
                                <version>3.0.2</version>
153
                        </plugin>
154
                        <plugin>
155
                                <groupId>org.apache.maven.plugins</groupId>
156
                                <artifactId>maven-javadoc-plugin</artifactId>
157
                                <version>2.10.4</version>
158
                                <configuration>
159
                                        <doctitle>${project.artifactId}</doctitle>
160
                                        <links>
161
                                                <link>http://docs.oracle.com/javase/8/docs/api/</link>
162
                                                <link>http://xerces.apache.org/xerces-j/apiDocs/</link>
163
                                        </links>
164
                                        <splitindex>true</splitindex>
165
                                        <windowtitle>${project.artifactId} API v${project.version} - ${project.scm.url}</windowtitle>
166
                                </configuration>
167
                                <executions>
168
                                        <execution>
169
                                                <id>attach-javadocs</id>
170
                                                <goals>
171
                                                        <goal>jar</goal>
172
                                                </goals>
173
                                                <configuration>
174
                                                        <additionalparam>${javadoc.opts}</additionalparam>
175
                                                </configuration>
176
                                        </execution>
177
                                </executions>
178
                        </plugin>
179
                        <plugin>
180
                                <artifactId>maven-source-plugin</artifactId>
181
                                <version>3.0.1</version>
182
                                <executions>
183
                                        <execution>
184
                                                <id>attach-sources</id>
185
                                                <goals>
186
                                                        <goal>jar</goal>
187
                                                </goals>
188
                                        </execution>
189
                                </executions>
190
                        </plugin>
191
                        <plugin>
192
                                <artifactId>maven-assembly-plugin</artifactId>
193
                                <configuration>
194
                                        <archive>
195
                                                <index>true</index><!--
196
                                                <manifest>
197
                                                        <mainClass>org.odftoolkit.odfdom.JarManifest</mainClass>
198
                                                </manifest>-->
199
                                                <manifestEntries>
200
                                                        <version>${project.version}</version>
201
                                                </manifestEntries>
202
<!--                                                                                                
203
                                                <manifestSections>
204
                                                        <manifestSection>        
205
                                                                <name>ODFDOM</name>
206
                                                                <manifestEntries>
207
                                                                        <ODFDOM-Name>odfdom</ODFDOM-Name>
208
                                                                        <ODFDOM-Version>${project.version}</ODFDOM-Version>
209
                                                                        <ODFDOM-Website>http://incubator.apache.org/odftoolkit/odfdom/index.html</ODFDOM-Website>
210
                                                                        <ODFDOM-Built-Date>${build.timestamp}</ODFDOM-Built-Date>
211
                                                                        <ODFDOM-Supported-Odf-Version>1.2</ODFDOM-Supported-Odf-Version>
212
                                                                </manifestEntries>
213
                                                        </manifestSection>
214
                                                </manifestSections>
215
                                                -->
216
                                        </archive>
217
                                        <descriptorRefs>
218
                                                <descriptorRef>jar-with-dependencies</descriptorRef>
219
                                        </descriptorRefs>
220
                                </configuration>
221
                                <executions>
222
                                        <execution>
223
                                                <id>single</id>
224
                                                <phase>package</phase>
225
                                                <goals>
226
                                                        <goal>single</goal>
227
                                                </goals>
228
                                        </execution>
229
                                </executions>
230
                        </plugin>
231
                        <plugin>
232
                                <groupId>org.apache.maven.plugins</groupId>
233
                                <artifactId>maven-failsafe-plugin</artifactId>
234
                                <version>2.20</version>
235
                                <configuration>
236
                        <!--
237
                    <excludes>                                        
238
                        <exclude>**/PerformanceIT.java</exclude>
239
                    </excludes>
240
                    -->
241
                                        <systemPropertyVariables>
242
                                                <saxon.version>${project.version}</saxon.version>
243
                                        </systemPropertyVariables>
244
                                </configuration>
245
                                <executions>
246
                                        <execution>
247
                                                <id>failsafe-it</id>
248
                                                <goals>
249
                                                        <goal>integration-test</goal>
250
                                                        <goal>verify</goal>
251
                                                </goals>
252
                                        </execution>
253
                                </executions>
254
                        </plugin>
255
                </plugins>
256
        </build>
257
        <reporting>
258
                <plugins>
259
                        <plugin>
260
                                <groupId>org.apache.maven.plugins</groupId>
261
                                <artifactId>maven-javadoc-plugin</artifactId>
262
                                <version>2.10.4</version>
263
                                <configuration>
264
                                        <doctitle>${project.artifactId}</doctitle>
265
                                        <minmemory>512m</minmemory>
266
                                        <maxmemory>1024m</maxmemory>
267
                                        <links>
268
                                                <link>http://download.oracle.com/javase/8/docs/api/</link>
269
                                                <link>http://xerces.apache.org/xerces-j/apiDocs/</link>
270
                                        </links>
271
                                        <splitindex>true</splitindex>
272
                                        <windowtitle>${project.artifactId} API v${project.version} - ${project.scm.url}</windowtitle>
273
                                </configuration>
274
                        </plugin>
275
                        <!-- Reporting integration test results -->
276
                        <plugin>
277
                                <groupId>org.apache.maven.plugins</groupId>
278
                                <artifactId>maven-failsafe-plugin</artifactId>
279
                                <version>2.20</version>
280
                                <reportSets>
281
                                        <reportSet>
282
                                                <id>integration-tests</id>
283
                                                <reports>
284
                                                        <report>report-only</report>
285
                                                </reports>
286
                                                <configuration>
287
                                                        <outputName>failsafe-report</outputName>
288
                                                </configuration>
289
                                        </reportSet>
290
                                </reportSets>
291
                        </plugin>
292
                </plugins>
293
        </reporting>
294

    
295
</project>
    (1-1/1)