Skip to content

Commit 1f98d9f

Browse files
authored
Merge pull request #143 from maxmind/greg/3.1.0
Release 3.1.0
2 parents 51c856e + f375aae commit 1f98d9f

File tree

4 files changed

+36
-8
lines changed

4 files changed

+36
-8
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
CHANGELOG
22
=========
33

4-
3.1.0
4+
3.1.0 (2023-12-05)
55
------------------
6+
67
* Reader supports iterating over the whole database or within a network.
78

89
3.0.0 (2022-12-12)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To do this, add the dependency to your pom.xml:
1616
<dependency>
1717
<groupId>com.maxmind.db</groupId>
1818
<artifactId>maxmind-db</artifactId>
19-
<version>3.0.0</version>
19+
<version>3.1.0</version>
2020
</dependency>
2121
```
2222

@@ -29,7 +29,7 @@ repositories {
2929
mavenCentral()
3030
}
3131
dependencies {
32-
compile 'com.maxmind.db:maxmind-db:3.0.0'
32+
compile 'com.maxmind.db:maxmind-db:3.1.0'
3333
}
3434
```
3535

dev-bin/release.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,5 +130,3 @@ git push
130130
git push --tags
131131

132132
gh release create --target "$(git branch --show-current)" -t "$version" -n "$notes" "$tag"
133-
134-
echo "Remember to do the release on https://oss.sonatype.org/!"

pom.xml

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.maxmind.db</groupId>
55
<artifactId>maxmind-db</artifactId>
6-
<version>3.0.1-SNAPSHOT</version>
6+
<version>3.1.1-SNAPSHOT</version>
77
<packaging>jar</packaging>
88
<name>MaxMind DB Reader</name>
99
<description>Reader for MaxMind DB</description>
@@ -23,7 +23,8 @@
2323
<url>https://github.com/maxmind/MaxMind-DB-Reader-java</url>
2424
<connection>scm:git:git://github.com:maxmind/MaxMind-DB-Reader-java.git</connection>
2525
<developerConnection>scm:git:[email protected]:maxmind/MaxMind-DB-Reader-java.git</developerConnection>
26-
</scm>
26+
<tag>HEAD</tag>
27+
</scm>
2728
<issueManagement>
2829
<url>https://github.com/maxmind/MaxMind-DB-Reader-java/issues</url>
2930
<system>GitHub</system>
@@ -121,7 +122,7 @@
121122
<id>attach-sources</id>
122123
<phase>package</phase>
123124
<goals>
124-
<goal>jar</goal>
125+
<goal>jar-no-fork</goal>
125126
</goals>
126127
</execution>
127128
</executions>
@@ -160,6 +161,33 @@
160161
<serviceName>travis-ci</serviceName>
161162
</configuration>
162163
</plugin>
164+
<plugin>
165+
<!--
166+
We need this for updating the submodule during release. Maven SCM
167+
doesn't support this itself apparently. See
168+
https://github.com/apache/maven-scm/pull/179
169+
-->
170+
<groupId>org.codehaus.mojo</groupId>
171+
<artifactId>exec-maven-plugin</artifactId>
172+
<!--
173+
We are using 3.0.0 as 3.1.1 fails due to this issue:
174+
https://github.com/mojohaus/exec-maven-plugin/issues/373
175+
-->
176+
<version>3.0.0</version>
177+
<executions>
178+
<execution>
179+
<phase>initialize</phase>
180+
<id>invoke build</id>
181+
<goals>
182+
<goal>exec</goal>
183+
</goals>
184+
</execution>
185+
</executions>
186+
<configuration>
187+
<executable>git</executable>
188+
<commandlineArgs>submodule update --init --recursive</commandlineArgs>
189+
</configuration>
190+
</plugin>
163191
<plugin>
164192
<groupId>org.codehaus.mojo</groupId>
165193
<artifactId>versions-maven-plugin</artifactId>
@@ -200,6 +228,7 @@
200228
<plugins>
201229
<plugin>
202230
<artifactId>maven-compiler-plugin</artifactId>
231+
<version>3.11.0</version>
203232
<configuration>
204233
<release>11</release>
205234
</configuration>

0 commit comments

Comments
 (0)