Skip to content

Commit 7c1990e

Browse files
committed
Updated groupId and README
1 parent e466f33 commit 7c1990e

File tree

5 files changed

+30
-20
lines changed

5 files changed

+30
-20
lines changed

README.md

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -141,24 +141,25 @@ To build the WAR file, type
141141
cd <project-root>
142142
mvn clean install -Pprod
143143

144-
You can run the WAR file in 3 ways:
144+
This will install the required JAR files in your local Maven repository (normally
145+
at `~/.m2/repository`). You can run the WAR file in 3 ways:
145146

146-
1. directly from the **command-line**, using:
147-
148-
```
149-
java -jar deployment/target/deployment-<version>.war [--port <port>] [--silent] [--debug] [--help]
150-
```
151-
152-
This will start the service at `http://localhost:<port>/mapcode`. If `<port>` is not specified, the
153-
default value is `8080`. If it is `0`, the server will choose any free port.
154-
155-
2. directly from **Maven** using:
147+
1. Directly from **Maven** using:
156148

157149
```
158150
cd deployment
159151
mvn jetty:run
160152
```
161-
153+
154+
2. Or directly from the **command-line**, using:
155+
156+
```
157+
java -jar deployment/target/deployment-<version>.war [--port <port>] [--silent] [--debug] [--help]
158+
```
159+
160+
This will start the service at `http://localhost:<port>/mapcode`. If `<port>` is not specified, the
161+
default value is `8080`. If it is `0`, the server will choose any free port.
162+
162163
This will start the service at `http://localhost:8080/mapcode`.
163164

164165
3. in a **Tomcat server**, deploying the file `deployment/target/deployment-<version>.war` into
@@ -167,6 +168,9 @@ your Tomcat instance.
167168
The first method, running the WAR file from the command-line, using `java` only is particularly
168169
useful if you wish use the XML services, for example, in a Microsoft Excel spreadsheet.
169170

171+
**Important:** If the service does not start, some files may be missing from your `external-resources`
172+
directory. To fix this, read on.
173+
170174
### Missing `mapcode-secret.properties` and `log4j.xml` Files
171175

172176
The service requires 2 files called `mapcode-secret.properties` and `log4j.xml` to be present on the
@@ -351,6 +355,12 @@ self-hosting this service.
351355

352356
## Release Notes
353357

358+
### 2.4.14.4
359+
360+
* Changed `groupId` to `com.mapcode.rest`.
361+
362+
* Updated `README.md` with correct instructions to create WAR file.
363+
354364
### 2.4.14.3
355365

356366
* Updated dependencies.

deployment/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
<modelVersion>4.0.0</modelVersion>
2222

2323
<parent>
24-
<groupId>com.mapcode</groupId>
24+
<groupId>com.mapcode.rest</groupId>
2525
<artifactId>mapcode-rest-service</artifactId>
26-
<version>2.4.14.3</version>
26+
<version>2.4.14.4</version>
2727
</parent>
2828

2929
<artifactId>deployment</artifactId>

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
http://maven.apache.org/xsd/maven-4.0.0.xsd">
2121
<modelVersion>4.0.0</modelVersion>
2222

23-
<groupId>com.mapcode</groupId>
23+
<groupId>com.mapcode.rest</groupId>
2424
<artifactId>mapcode-rest-service</artifactId>
2525

2626
<packaging>pom</packaging>
27-
<version>2.4.14.3</version>
27+
<version>2.4.14.4</version>
2828

2929
<name>Mapcode REST API Web Service</name>
3030
<description>

resources/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
<modelVersion>4.0.0</modelVersion>
2222

2323
<parent>
24-
<groupId>com.mapcode</groupId>
24+
<groupId>com.mapcode.rest</groupId>
2525
<artifactId>mapcode-rest-service</artifactId>
26-
<version>2.4.14.3</version>
26+
<version>2.4.14.4</version>
2727
</parent>
2828

2929
<artifactId>resources</artifactId>

service/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
<modelVersion>4.0.0</modelVersion>
2222

2323
<parent>
24-
<groupId>com.mapcode</groupId>
24+
<groupId>com.mapcode.rest</groupId>
2525
<artifactId>mapcode-rest-service</artifactId>
26-
<version>2.4.14.3</version>
26+
<version>2.4.14.4</version>
2727
</parent>
2828

2929
<artifactId>service</artifactId>

0 commit comments

Comments
 (0)