|
19 | 19 | <distribution>repo</distribution> |
20 | 20 | </license> |
21 | 21 | </licenses> |
| 22 | + <properties> |
| 23 | + <jdk.version>1.6</jdk.version> |
| 24 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 25 | + <project.build.targetEncoding>UTF-8</project.build.targetEncoding> |
| 26 | + <maxmem>512M</maxmem> |
| 27 | + </properties> |
22 | 28 | <scm> |
23 | 29 | <connection>scm:git:git://github.com/biojava/biojava.git</connection> |
24 | 30 | < developerConnection>scm:git: [email protected]:biojava/biojava.git</ developerConnection> |
25 | 31 | <url>https://github.com/biojava/biojava</url> |
26 | 32 | <tag>HEAD</tag> |
27 | 33 | </scm> |
28 | | - <repositories> |
29 | | - <repository> |
30 | | - <id>maven2-repository.dev.java.net</id> |
31 | | - <name>Java.net Maven 2 Repository</name> |
32 | | - <url>http://download.java.net/maven/2</url> |
33 | | - </repository> |
34 | | - <repository> |
35 | | - <id>maven-repository.dev.java.net</id> |
36 | | - <name>Java.net Maven 1 Repository (legacy)</name> |
37 | | - <url>http://download.java.net/maven/1</url> |
38 | | - <layout>default</layout> |
39 | | - </repository> |
40 | | - <repository> |
41 | | - <id>biojava-maven-repo</id> |
42 | | - <name>BioJava repository</name> |
43 | | - <url>http://www.biojava.org/download/maven/</url> |
44 | | - <snapshots> |
45 | | - <enabled>true</enabled> |
46 | | - </snapshots> |
47 | | - <releases> |
48 | | - <enabled>true</enabled> |
49 | | - </releases> |
50 | | - </repository> |
51 | | - </repositories> |
52 | | - <pluginRepositories> |
53 | | - <pluginRepository> |
54 | | - <id>maven2-repository.dev.java.net</id> |
55 | | - <name>Java.net Maven 2 Repository</name> |
56 | | - <url>http://download.java.net/maven/2</url> |
57 | | - </pluginRepository> |
58 | | - <pluginRepository> |
59 | | - <id>maven-repository.dev.java.net</id> |
60 | | - <name>Java.net Maven 1 Repository (legacy)</name> |
61 | | - <url>http://download.java.net/maven/1</url> |
62 | | - <layout>default</layout> |
63 | | - </pluginRepository> |
64 | | - </pluginRepositories> |
| 34 | + |
| 35 | + <!-- This section required for release at Maven Central. |
| 36 | + For a full list of Developers, please see |
| 37 | + https://github.com/orgs/biojava/members |
| 38 | +
|
| 39 | + For a list of contributors, please see |
| 40 | + https://github.com/biojava/biojava/graphs/contributors |
| 41 | + --> |
| 42 | + <developers> |
| 43 | + <developer> |
| 44 | + <id>andreas</id> |
| 45 | + <name>Andreas Prlic</name> |
| 46 | + |
| 47 | + <url>http://www.spice-3d.org</url> |
| 48 | + <organization>University of California, San Diego</organization> |
| 49 | + <organizationUrl>http://www.rcsb.org</organizationUrl> |
| 50 | + <roles> |
| 51 | + <role>project lead</role> |
| 52 | + <role>architect</role> |
| 53 | + <role>developer</role> |
| 54 | + </roles> |
| 55 | + <timezone>-9</timezone> |
| 56 | + <properties> |
| 57 | + <picUrl>http://tinyurl.com/mymsfga</picUrl> |
| 58 | + </properties> |
| 59 | + </developer> |
| 60 | + </developers> |
| 61 | + |
65 | 62 | <distributionManagement> |
66 | 63 | <downloadUrl>http://www.biojava.org/download/maven/</downloadUrl> |
| 64 | + |
67 | 65 | <repository> |
68 | | - <uniqueVersion>false</uniqueVersion> |
69 | | - <id>biojava-maven-repo</id> |
70 | | - <name>BioJava Maven Repository</name> |
71 | | - <url>scp://cloudportal.open-bio.org/home/websites/biojava.org/html/static/download/maven/</url> |
72 | | - <layout>default</layout> |
| 66 | + <id>ossrh</id> |
| 67 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
73 | 68 | </repository> |
74 | | - |
75 | 69 | <snapshotRepository> |
76 | 70 | <id>ossrh</id> |
77 | 71 | <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
78 | 72 | </snapshotRepository> |
79 | 73 |
|
80 | 74 | </distributionManagement> |
81 | | - <properties> |
82 | | - <jdk.version>1.6</jdk.version> |
83 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
84 | | - <project.build.targetEncoding>UTF-8</project.build.targetEncoding> |
85 | | - <maxmem>512M</maxmem> |
86 | | - </properties> |
| 75 | + |
87 | 76 | <build> |
88 | 77 | <pluginManagement> |
89 | 78 | <plugins> |
|
115 | 104 | <artifactId>maven-source-plugin</artifactId> |
116 | 105 | <version>2.2.1</version> |
117 | 106 | </plugin> |
118 | | - <plugin> |
119 | | - <artifactId>maven-surefire-plugin</artifactId> |
120 | | - <version>2.17</version> |
121 | | - <configuration> |
122 | | - <argLine>-Xms256m -Xmx2000M</argLine> |
123 | | - <reuseForks>false</reuseForks> |
124 | | - <forkCount>1</forkCount> |
125 | | - <excludes> |
126 | | - <!-- we exclude by default the long parsing tests, they will only be executed if explicitly called --> |
127 | | - <exclude>**/TestLongPdbVsMmCifParsing.java</exclude> |
128 | | - </excludes> |
129 | | - </configuration> |
130 | | - </plugin> |
| 107 | + |
131 | 108 | <plugin> |
132 | 109 | <groupId>net.sf</groupId> |
133 | 110 | <artifactId>stat-scm</artifactId> |
|
147 | 124 | <remoteTagging>true</remoteTagging> |
148 | 125 | <preparationGoals>clean install</preparationGoals> |
149 | 126 | <autoVersionSubmodules>true</autoVersionSubmodules> |
| 127 | + <!-- work around for GPG hanging issue http://jira.codehaus.org/browse/MGPG-9 --> |
| 128 | + <mavenExecutorId>forked-path</mavenExecutorId> |
150 | 129 | </configuration> |
151 | 130 |
|
152 | 131 | </plugin> |
|
197 | 176 | <version>2.12</version> |
198 | 177 | </plugin> |
199 | 178 |
|
| 179 | + <!-- required for OSSRH release, see http://central.sonatype.org/pages/how-to-generate-pgp-signatures-with-maven.html --> |
| 180 | + <plugin> |
| 181 | + <groupId>org.apache.maven.plugins</groupId> |
| 182 | + <artifactId>maven-release-plugin</artifactId> |
| 183 | + <version>2.1</version> |
| 184 | + <configuration> |
| 185 | + <mavenExecutorId>forked-path</mavenExecutorId> |
| 186 | + <useReleaseProfile>false</useReleaseProfile> |
| 187 | + <arguments>${arguments} -Psonatype-oss-release</arguments> |
| 188 | + </configuration> |
| 189 | + </plugin> |
| 190 | + |
| 191 | + |
200 | 192 | </plugins> |
201 | 193 | </pluginManagement> |
202 | 194 |
|
|
231 | 223 | </executions> |
232 | 224 | </plugin> |
233 | 225 |
|
| 226 | + <!-- give more memory for junit tests --> |
| 227 | + <plugin> |
| 228 | + <artifactId>maven-surefire-plugin</artifactId> |
| 229 | + <version>2.17</version> |
| 230 | + <configuration> |
| 231 | + <argLine>-Xmx2000M</argLine> |
| 232 | + <reuseForks>false</reuseForks> |
| 233 | + <forkCount>1</forkCount> |
| 234 | + |
| 235 | + <excludes> |
| 236 | + <!-- we exclude by default the long parsing tests, they will only be executed if explicitly called --> |
| 237 | + <exclude>**/TestLongPdbVsMmCifParsing.java</exclude> |
| 238 | + |
| 239 | + </excludes> |
| 240 | + </configuration> |
| 241 | + </plugin> |
| 242 | + |
| 243 | + |
234 | 244 | <plugin> |
235 | 245 | <groupId>org.apache.maven.plugins</groupId> |
236 | 246 | <artifactId>maven-jar-plugin</artifactId> |
|
426 | 436 | </build> |
427 | 437 | </profile> |
428 | 438 |
|
429 | | - <profile> |
430 | | - <id>release-sign-artifacts</id> |
431 | | - <activation> |
432 | | - <property> |
433 | | - <name>performRelease</name> |
434 | | - <value>true</value> |
435 | | - </property> |
436 | | - </activation> |
437 | | - <build> |
438 | | - <plugins> |
439 | | - <plugin> |
440 | | - <groupId>org.apache.maven.plugins</groupId> |
441 | | - <artifactId>maven-gpg-plugin</artifactId> |
442 | | - <version>1.1</version> |
443 | | - <executions> |
444 | | - <execution> |
445 | | - <id>sign-artifacts</id> |
446 | | - <phase>verify</phase> |
447 | | - <goals> |
448 | | - <goal>sign</goal> |
449 | | - </goals> |
450 | | - </execution> |
451 | | - </executions> |
452 | | - </plugin> |
453 | | - </plugins> |
454 | | - </build> |
455 | | - </profile> |
| 439 | + <profile> |
| 440 | + <id>release-sign-artifacts</id> |
| 441 | + <activation> |
| 442 | + <property> |
| 443 | + <name>performRelease</name> |
| 444 | + <value>true</value> |
| 445 | + </property> |
| 446 | + </activation> |
| 447 | + <build> |
| 448 | + <plugins> |
| 449 | + <plugin> |
| 450 | + <groupId>org.apache.maven.plugins</groupId> |
| 451 | + <artifactId>maven-gpg-plugin</artifactId> |
| 452 | + <version>1.1</version> |
| 453 | + <executions> |
| 454 | + <execution> |
| 455 | + <id>sign-artifacts</id> |
| 456 | + <phase>verify</phase> |
| 457 | + <goals> |
| 458 | + <goal>sign</goal> |
| 459 | + </goals> |
| 460 | + </execution> |
| 461 | + </executions> |
| 462 | + </plugin> |
| 463 | + </plugins> |
| 464 | + </build> |
| 465 | + </profile> |
456 | 466 |
|
457 | 467 | </profiles> |
458 | 468 |
|
|
0 commit comments