-
Notifications
You must be signed in to change notification settings - Fork 24
/
pom.xml
392 lines (340 loc) · 13.2 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is part of JSBML. Please visit http://sbml.org/Software/JSBML
for the latest version of JSBML and more information about SBML.
Copyright (C) 2009-2022 jointly by the following organizations:
1. The University of Tuebingen, Germany
2. EMBL European Bioinformatics Institute (EBML-EBI), Hinxton, UK
3. The California Institute of Technology, Pasadena, CA, USA
4. The University of California, San Diego, La Jolla, CA, USA
5. The Babraham Institute, Cambridge, UK
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation. A copy of the license agreement is provided
in the file named "LICENSE.txt" included with this software distribution
and also available online as http://sbml.org/Software/JSBML/License.
-->
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>org.sbml.jsbml</groupId>
<artifactId>jsbml-parent</artifactId>
<version>1.7-SNAPSHOT</version>
<packaging>pom</packaging>
<!-- =================================================================== -->
<!-- General project information -->
<!-- =================================================================== -->
<name>JSBML</name>
<inceptionYear>2009</inceptionYear>
<description>JSBML is a community-driven project to create a free, open-source, pure Java library for reading, writing, and manipulating SBML files and data streams.</description>
<url>http://www.sbml.org/Software/JSBML</url>
<licenses>
<license>
<name>LGPL License</name>
<url>http://opensource.org/licenses/LGPL-2.1</url>
</license>
<license>
<name>Licensing and Distribution Terms for JSBML</name>
<url>http://sbml.org/Software/JSBML/License</url>
</license>
</licenses>
<issueManagement>
<url>https://github.com/sbmlteam/jsbml/issues</url>
<system>GitHub Issues</system>
</issueManagement>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<jsbml.version>${project.version}</jsbml.version>
<jsbml.basedir>${basedir}</jsbml.basedir> <!-- will be reset on each sub-pom to be the directory of the pom -->
<jsbml.build.javac.source>1.7</jsbml.build.javac.source>
<jsbml.build.javac.target>1.7</jsbml.build.javac.target>
<javadoc.version>3.2.0</javadoc.version>
</properties>
<ciManagement>
<system>Travis CI</system>
<url>https://travis-ci.com/github/sbmlteam/jsbml</url>
</ciManagement>
<!-- =================================================================== -->
<!-- The team of developers and mailing lists -->
<!-- =================================================================== -->
<developers>
<developer>
<name>JSBML team</name>
<email>[email protected]</email>
<organization>SBML Team</organization>
<organizationUrl>http://www.sbml.org</organizationUrl>
</developer>
</developers>
<mailingLists>
<mailingList>
<name>JSBML Team</name>
<post>[email protected]</post>
</mailingList>
<mailingList>
<name>JSBML Development</name>
<post>[email protected]</post>
<archive>https://groups.google.com/forum/#!forum/jsbml-development</archive>
</mailingList>
</mailingLists>
<!-- =================================================================== -->
<!-- Source Control Management -->
<!-- =================================================================== -->
<scm>
<connection>scm:git:git://github.com/sbmlteam/jsbml.git</connection>
<developerConnection>scm:git:ssh://github.com:sbmlteam/jsbml.git</developerConnection>
<url>http://github.com/sbmlteam/jsbml/tree/master</url>
<tag>jsbml-parent-${jsbml.version}</tag>
</scm>
<!-- =================================================================== -->
<!-- Building -->
<!-- =================================================================== -->
<!-- To build the project run: -->
<!-- mvn clean compile package assembly:single -->
<build>
<sourceDirectory>src</sourceDirectory>
<testSourceDirectory>test</testSourceDirectory>
<resources>
<resource>
<directory>resources</directory>
</resource>
</resources>
<testResources>
<testResource>
<directory>test</directory>
</testResource>
</testResources>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>2.10</version>
</extension>
</extensions>
<plugins>
<!-- properties file not used at the moment -->
<!-- cannot use the property file at the moment, we would have to put the file in an archive
that is deployed to the repository. Then we can use it as a dependency or use the dependency:unpack goal.
see http://maven.40175.n5.nabble.com/Relative-path-to-parent-directory-at-multi-module-maven-project-td4611798.html
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<id>jsbml</id>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<files>
<file>${jsbml.basedir}/jsbml-build.properties</file>
</files>
</configuration>
</execution>
</executions>
</plugin>
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>${jsbml.build.javac.source}</source>
<target>${jsbml.build.javac.target}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<configuration>
<stylesheetfile>${basedir}/stylesheetfile.css</stylesheetfile>
<links>
<link>https://docs.oracle.com/javase/6/docs/api/</link>
<link>https://www.biojava.org/docs/api17</link> <!-- TODO update -->
</links>
<tags>
<tag>
<name>sbml.deprecated</name>
<placement>a</placement>
<head>Deprecated in SBML since:</head>
</tag>
<tag>
<name>libsbml.deprecated</name>
<placement>a</placement>
<head>Note: this method is kept here as it exist in libSBML.</head>
</tag>
<tag>
<name>jsbml.note</name>
<placement>a</placement>
<head>Note:</head>
</tag>
<tag>
<name>jsbml.warning</name>
<placement>a</placement>
<head>Warning:</head>
</tag>
<tag>
<name>doc.note</name>
<placement>a</placement>
<head>Documentation note:</head>
</tag>
<tag>
<name>date</name>
<placement>a</placement>
<head>Last modified:</head>
</tag>
</tags>
<failOnError>false</failOnError>
</configuration>
</plugin>
<!-- plugin needed to deploy to sonatype/maven central.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin> -->
</plugins>
</build>
<modules>
<module>core</module>
<module>extensions</module>
<module>modules</module>
</modules>
<!-- =================================================================== -->
<!-- Profiles -->
<!-- =================================================================== -->
<profiles>
<profile>
<id>ossrh-jsbml</id>
<!-- To deploy to the jsbml sf maven repo add '-Ddeploy=ossrh' to your command line. -->
<activation>
<property>
<name>deploy</name>
<value>ossrh</value>
</property>
</activation>
<build>
<plugins>
<!-- plugins needed to deploy to sonatype/maven central -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh-jsbml</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<!-- <skipStagingRepositoryClose>true</skipStagingRepositoryClose>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
<skipRemoteStaging>true</skipRemoteStaging>
the above options could be used to modify the repo to include the jsbml/jsbml pom file
before sending things over to nexus -->
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
<!-- plugin needed to deploy to sonatype/maven central. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>sf</id>
<!-- To deploy to the jsbml sf maven repo add '-Ddeploy=sf' to your command line. -->
<activation>
<property>
<name>deploy</name>
<value>sf</value>
</property>
</activation>
<distributionManagement>
<repository>
<id>jsbml-maven-repo-sf</id>
<name>JSBML Maven repository</name>
<url>scp://web.sourceforge.net/home/project-web/jsbml/htdocs/m2repo</url>
</repository>
<snapshotRepository>
<id>jsbml-maven-repo-s-sf</id>
<name>JSBML Maven SNAPSHOT repository</name>
<url>scp://web.sourceforge.net/home/project-web/jsbml/htdocs/m2repo_snapshots</url>
</snapshotRepository>
</distributionManagement>
<!-- to use jsbml maven repo test: replace 'jsbml' by 'jsbmlmavenrepotest' in the urls -->
</profile>
<profile>
<id>local</id>
<!-- To deploy locally add '-Ddeploy=local' to your command line. -->
<activation>
<property>
<name>deploy</name>
<value>local</value>
</property>
</activation>
<distributionManagement>
<repository>
<id>local-repo-deploy</id>
<name>Test Maven repository</name>
<url>file:///var/www/html/repo</url>
</repository>
<!-- if snapshotRepository is not define, the defined repository will be used for snapshots as well. -->
</distributionManagement>
</profile>
</profiles>
<!--
To Deploy to sonatype
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
-->
<!--
To deploy to EBI:
<repository>
<id>ebi-maven-repo</id>
<name>EBI Maven Repository</name>
<url>scp://ebi-001.ebi.ac.uk/homes/maven/public_html/m2repo</url>
</repository>
<snapshotRepository>
<id>ebi-maven-repo-s</id>
<name>EBI Maven Repository</name>
<url>scp://ebi-001.ebi.ac.uk/homes/maven/public_html/m2repo_snapshots/</url>
</snapshotRepository>
-->
</project>