Skip to content

Commit 76bf25b

Browse files
committed
Fixing POM and Releasing as 1.1.4
1 parent c95c4dc commit 76bf25b

File tree

3 files changed

+126
-53
lines changed

3 files changed

+126
-53
lines changed

Dirmi/pom.xml

Lines changed: 82 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<artifactId>dirmi</artifactId>
66
<packaging>jar</packaging>
77
<name>Dirmi</name>
8-
<version>1.1</version>
8+
<version>1.1.4</version>
99
<description>
1010
Bidirectional remote method invocation.
1111
</description>
12-
<!-- <url>http://dirmi.net/</url> -->
12+
<url>https://github.com/cojen/Dirmi/wiki</url>
1313
<inceptionYear>2006</inceptionYear>
1414

1515
<organization>
@@ -24,11 +24,26 @@
2424
</license>
2525
</licenses>
2626

27+
<scm>
28+
<connection>scm:git:git@github.com:cojen/Cojen.git</connection>
29+
<developerConnection>scm:git:git@github.com:cojen/Cojen.git</developerConnection>
30+
<url>git@github.com:cojen/Cojen.git</url>
31+
</scm>
32+
33+
<developers>
34+
<developer>
35+
<name>Brian S O'Neill</name>
36+
<id>broneill</id>
37+
<email>broneill@users.sourceforge.net</email>
38+
<organization>Amazon Technologies, Inc.</organization>
39+
</developer>
40+
</developers>
41+
2742
<dependencies>
2843
<dependency>
2944
<groupId>org.cojen</groupId>
3045
<artifactId>cojen</artifactId>
31-
<version>2.2</version>
46+
<version>[2.2,)</version>
3247
</dependency>
3348

3449
<dependency>
@@ -66,60 +81,75 @@
6681
</configuration>
6782
</plugin>
6883

69-
<!--
70-
<plugin>
71-
<groupId>org.apache.maven.plugins</groupId>
72-
<artifactId>maven-jar-plugin</artifactId>
73-
<configuration>
74-
<archive>
75-
<manifestEntries>
76-
<Premain-Class>org.cojen.dirmi.trace.TraceAgent</Premain-Class>
77-
</manifestEntries>
78-
</archive>
79-
</configuration>
80-
</plugin>
81-
-->
82-
8384
</plugins>
8485
</build>
8586

86-
<!--
87-
<reporting>
88-
<plugins>
89-
<plugin>
90-
<groupId>org.apache.maven.plugins</groupId>
91-
<artifactId>maven-site-plugin</artifactId>
92-
<configuration>
93-
<outputEncoding>UTF-8</outputEncoding>
94-
</configuration>
95-
</plugin>
87+
<profiles>
88+
<profile>
89+
<id>release</id>
90+
<build>
91+
<plugins>
9692

97-
<plugin>
98-
<groupId>org.apache.maven.plugins</groupId>
99-
<artifactId>maven-jxr-plugin</artifactId>
100-
<configuration>
101-
<aggregate>true</aggregate>
102-
</configuration>
103-
</plugin>
93+
<plugin>
94+
<groupId>org.apache.maven.plugins</groupId>
95+
<artifactId>maven-source-plugin</artifactId>
96+
<version>2.2.1</version>
97+
<executions>
98+
<execution>
99+
<id>attach-sources</id>
100+
<goals>
101+
<goal>jar-no-fork</goal>
102+
</goals>
103+
</execution>
104+
</executions>
105+
</plugin>
104106

105-
<plugin>
106-
<groupId>org.apache.maven.plugins</groupId>
107-
<artifactId>maven-project-info-reports-plugin</artifactId>
108-
<reportSets>
109-
<reportSet>
110-
<reports>
111-
<report>license</report>
112-
</reports>
113-
</reportSet>
114-
</reportSets>
115-
</plugin>
107+
<plugin>
108+
<groupId>org.apache.maven.plugins</groupId>
109+
<artifactId>maven-javadoc-plugin</artifactId>
110+
<version>2.9.1</version>
111+
<executions>
112+
<execution>
113+
<id>attach-javadocs</id>
114+
<goals>
115+
<goal>jar</goal>
116+
</goals>
117+
</execution>
118+
</executions>
119+
</plugin>
116120

117-
<plugin>
118-
<groupId>org.codehaus.mojo</groupId>
119-
<artifactId>cobertura-maven-plugin</artifactId>
120-
</plugin>
121-
</plugins>
122-
</reporting>
123-
-->
121+
<plugin>
122+
<groupId>org.apache.maven.plugins</groupId>
123+
<artifactId>maven-gpg-plugin</artifactId>
124+
<version>1.5</version>
125+
<executions>
126+
<execution>
127+
<id>sign-artifacts</id>
128+
<phase>verify</phase>
129+
<goals>
130+
<goal>sign</goal>
131+
</goals>
132+
<configuration>
133+
<keyname>502A7802</keyname>
134+
</configuration>
135+
</execution>
136+
</executions>
137+
</plugin>
138+
139+
<plugin>
140+
<groupId>org.sonatype.plugins</groupId>
141+
<artifactId>nexus-staging-maven-plugin</artifactId>
142+
<version>1.6.3</version>
143+
<extensions>true</extensions>
144+
<configuration>
145+
<serverId>ossrh</serverId>
146+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
147+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
148+
</configuration>
149+
</plugin>
124150

151+
</plugins>
152+
</build>
153+
</profile>
154+
</profiles>
125155
</project>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ Dirmi is a replacement for Java RMI which supports bidirectional remote objects.
55

66
* [Home page](https://github.com/cojen/Dirmi/wiki)
77
* [Javadocs](http://cojen.github.io/Dirmi/javadoc/org/cojen/dirmi/package-summary.html)
8-
* [Download](https://sourceforge.net/projects/dirmi/files/dirmi/1.1.2/)
8+
* [Download](https://github.com/cojen/Dirmi/releases)

RELEASING.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
RELEASING
2+
=========
3+
4+
This file outlines how to publish a new release to Maven Central.
5+
6+
Prerequisites
7+
-------------
8+
9+
* You will need the Cojen GPG key and passphrase to continue. Contact
10+
@jesterpm or @broneill to obtain them.
11+
12+
* You will need an account with Sonatype Nexus. You can create that
13+
[here](https://issues.sonatype.org/secure/Signup!default.jspa). Contact
14+
@jesterpm or @broneill for access to the Cojen repository.
15+
16+
Process
17+
-------
18+
19+
1. Increment the version number appropriately.
20+
Use [Semantic Versioning](http://semver.org/).
21+
22+
VERSION=2.2.5
23+
mvn versions:set -DnewVersion=$VERSION
24+
25+
2. Verify the release and make sure all is well.
26+
27+
mvn clean verify -P release
28+
29+
3. Commit and tag the latest release.
30+
31+
git commit -am "Release $VERSION"
32+
git tag -a v$VERSION -m "Release $VERSION"
33+
34+
4. Deploy to Sonatype:
35+
36+
mvn clean deploy -P release
37+
38+
5. Push commit and tag to GitHub
39+
40+
git push origin master
41+
git push origin v$VERSION
42+
43+

0 commit comments

Comments
 (0)