Skip to content

Commit 8eede21

Browse files
committed
#130 work in progress...
1 parent 77026be commit 8eede21

1 file changed

Lines changed: 99 additions & 89 deletions

File tree

pom.xml

Lines changed: 99 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -19,71 +19,60 @@
1919
<distribution>repo</distribution>
2020
</license>
2121
</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>
2228
<scm>
2329
<connection>scm:git:git://github.com/biojava/biojava.git</connection>
2430
<developerConnection>scm:git:[email protected]:biojava/biojava.git</developerConnection>
2531
<url>https://github.com/biojava/biojava</url>
2632
<tag>HEAD</tag>
2733
</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+
<email>[email protected]</email>
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+
6562
<distributionManagement>
6663
<downloadUrl>http://www.biojava.org/download/maven/</downloadUrl>
64+
6765
<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>
7368
</repository>
74-
7569
<snapshotRepository>
7670
<id>ossrh</id>
7771
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
7872
</snapshotRepository>
7973

8074
</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+
8776
<build>
8877
<pluginManagement>
8978
<plugins>
@@ -115,19 +104,7 @@
115104
<artifactId>maven-source-plugin</artifactId>
116105
<version>2.2.1</version>
117106
</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+
131108
<plugin>
132109
<groupId>net.sf</groupId>
133110
<artifactId>stat-scm</artifactId>
@@ -147,6 +124,8 @@
147124
<remoteTagging>true</remoteTagging>
148125
<preparationGoals>clean install</preparationGoals>
149126
<autoVersionSubmodules>true</autoVersionSubmodules>
127+
<!-- work around for GPG hanging issue http://jira.codehaus.org/browse/MGPG-9 -->
128+
<mavenExecutorId>forked-path</mavenExecutorId>
150129
</configuration>
151130

152131
</plugin>
@@ -197,6 +176,19 @@
197176
<version>2.12</version>
198177
</plugin>
199178

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+
200192
</plugins>
201193
</pluginManagement>
202194

@@ -231,6 +223,24 @@
231223
</executions>
232224
</plugin>
233225

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+
234244
<plugin>
235245
<groupId>org.apache.maven.plugins</groupId>
236246
<artifactId>maven-jar-plugin</artifactId>
@@ -426,33 +436,33 @@
426436
</build>
427437
</profile>
428438

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>
456466

457467
</profiles>
458468

0 commit comments

Comments
 (0)