diff --git a/.gitignore b/.gitignore
index 2e8517b..5695d7f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
**/mapcode-secret.properties
+service/src/main/resources/log4j.xml
out/
target/
diff --git a/README.md b/README.md
index 3253f6a..e9134d7 100644
--- a/README.md
+++ b/README.md
@@ -139,14 +139,25 @@ your Tomcat instance.
The first method, running the WAR file from the command-line, using `java` only is particularly
useful if you wish use the XML services, for example, in a Microsoft Excel spreadsheet.
-### Missing `mapcode-secret.properties` File
+### Missing `mapcode-secret.properties` and `log4j.xml` Files
-The service requires a file called `mapcode-secret.properties` to be present on the
-classpath. The properties file `mapcode-secret.properties` contains the username and password for
+The service requires 2 files called `mapcode-secret.properties` and `log4j.xml` to be present on the
+classpath. They are specifically **not** included in the WAR file by default, because that would
+make it impossible to change them without recompiling the service.
+
+#### `log4j.xml`
+
+The file `log4j.xml` specifies the log levels during operations. An example of a `log4j.xml` file
+can be found in `service/src/test/resources/log4j.xml`. Make sure that file can be found on the classpath
+or add it `services/src/main/resources` before building and it will be integrated in the WAR file.
+
+#### `mapcode-secret.properties`
+
+The properties file `mapcode-secret.properties` contains the username and password for
your MongDB database server for tracing, should you wish to use that.
If you get a start-up error complaining about a missing `mapcode-secret.properties` file,
-make sure you add it to the classpath (or add it to `src/main/resources`) before building.
+make sure you add it to the classpath (or add it to `service/src/main/resources`) before building.
By default, you can simply use an empty `mapcode-secret.properties` file. So, you may want to
just create an empty file by executing:
@@ -158,7 +169,7 @@ Note that the file `mapcode-secret.properties` is ignored by Git in `.gitignore`
If you wish to use MongoDB tracing, will need to provide your own local
`mapcode-secret.properties`, which override the following properties:
- MongoDBTrace.writeEnabled = true
+ MongoDBTrace.writeEnabled = false
MongoDBTrace.servers = your-server:27017 (eg. localhost:27017)
MongoDBTrace.database = your-database (eg. trace)
MongoDBTrace.userName = your-username
@@ -241,6 +252,10 @@ self-hosting this service.
## Release Notes
+### 2.4.2.0
+
+* Removed secret token from POM.
+
### 2.4.1.0
* Added scripts for Tifinagh (Berber), Tamil, Amharic, Telugu, Odia, Kannada, Gujarati.
diff --git a/deployment/pom.xml b/deployment/pom.xml
index 63bec85..41c4612 100644
--- a/deployment/pom.xml
+++ b/deployment/pom.xml
@@ -1,5 +1,5 @@
2.4.1
- 3.0.23
-
-
- lh3CwMKGphMxYxTdyCcGtv6MnEiSYCijw
+ 3.0.24
4.2.0
@@ -411,9 +408,6 @@
org.eluder.coveralls
coveralls-maven-plugin
${coveralls-maven-plugin.version}
-
- ${coveralls-maven-plugin.repoToken}
-
diff --git a/service/pom.xml b/service/pom.xml
index 4b1893d..f3b4ad8 100644
--- a/service/pom.xml
+++ b/service/pom.xml
@@ -1,5 +1,5 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/service/src/main/resources/mapcode-notrace.properties b/service/src/main/resources/mapcode-notrace.properties
deleted file mode 100644
index b4dccaa..0000000
--- a/service/src/main/resources/mapcode-notrace.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-# Secret properties - should not be published.
-
-MongoDBTrace.writeEnabled = false
-MongoDBTrace.servers = none
-MongoDBTrace.database = none
-MongoDBTrace.userName = none
-MongoDBTrace.password = none
diff --git a/service/src/main/resources/mapcode.properties b/service/src/main/resources/mapcode.properties
index 6873251..045f881 100644
--- a/service/src/main/resources/mapcode.properties
+++ b/service/src/main/resources/mapcode.properties
@@ -1,4 +1,4 @@
-# Copyright (C) 2016 Stichting Mapcode Foundation (http://www.mapcode.com)
+# Copyright (C) 2016, Stichting Mapcode Foundation (http://www.mapcode.com)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/service/src/test/java/com/mapcode/services/ApiAlphabetsTest.java b/service/src/test/java/com/mapcode/services/ApiAlphabetsTest.java
index 0dc5bae..21999ca 100644
--- a/service/src/test/java/com/mapcode/services/ApiAlphabetsTest.java
+++ b/service/src/test/java/com/mapcode/services/ApiAlphabetsTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2016 Stichting Mapcode Foundation (http://www.mapcode.com)
+ * Copyright (C) 2016, Stichting Mapcode Foundation (http://www.mapcode.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/service/src/test/java/com/mapcode/services/ApiCodesTest.java b/service/src/test/java/com/mapcode/services/ApiCodesTest.java
index 6ec5e29..849f1b3 100644
--- a/service/src/test/java/com/mapcode/services/ApiCodesTest.java
+++ b/service/src/test/java/com/mapcode/services/ApiCodesTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2016 Stichting Mapcode Foundation (http://www.mapcode.com)
+ * Copyright (C) 2016, Stichting Mapcode Foundation (http://www.mapcode.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/service/src/test/java/com/mapcode/services/ApiCoordsTest.java b/service/src/test/java/com/mapcode/services/ApiCoordsTest.java
index 4203f51..b26e594 100644
--- a/service/src/test/java/com/mapcode/services/ApiCoordsTest.java
+++ b/service/src/test/java/com/mapcode/services/ApiCoordsTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2016 Stichting Mapcode Foundation (http://www.mapcode.com)
+ * Copyright (C) 2016, Stichting Mapcode Foundation (http://www.mapcode.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/service/src/test/java/com/mapcode/services/ApiDTOTest.java b/service/src/test/java/com/mapcode/services/ApiDTOTest.java
index 59d80ab..8935695 100644
--- a/service/src/test/java/com/mapcode/services/ApiDTOTest.java
+++ b/service/src/test/java/com/mapcode/services/ApiDTOTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2016 Stichting Mapcode Foundation (http://www.mapcode.com)
+ * Copyright (C) 2016, Stichting Mapcode Foundation (http://www.mapcode.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/service/src/test/java/com/mapcode/services/ApiOthersTest.java b/service/src/test/java/com/mapcode/services/ApiOthersTest.java
index 5ce4ba5..591e7d3 100644
--- a/service/src/test/java/com/mapcode/services/ApiOthersTest.java
+++ b/service/src/test/java/com/mapcode/services/ApiOthersTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2016 Stichting Mapcode Foundation (http://www.mapcode.com)
+ * Copyright (C) 2016, Stichting Mapcode Foundation (http://www.mapcode.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/service/src/test/java/com/mapcode/services/ApiTerritoriesTest.java b/service/src/test/java/com/mapcode/services/ApiTerritoriesTest.java
index 953ac5c..2b698bc 100644
--- a/service/src/test/java/com/mapcode/services/ApiTerritoriesTest.java
+++ b/service/src/test/java/com/mapcode/services/ApiTerritoriesTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2016 Stichting Mapcode Foundation (http://www.mapcode.com)
+ * Copyright (C) 2016, Stichting Mapcode Foundation (http://www.mapcode.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/service/src/test/java/com/mapcode/services/LocalTestServer.java b/service/src/test/java/com/mapcode/services/LocalTestServer.java
index 15809a7..4159413 100644
--- a/service/src/test/java/com/mapcode/services/LocalTestServer.java
+++ b/service/src/test/java/com/mapcode/services/LocalTestServer.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2016 Stichting Mapcode Foundation (http://www.mapcode.com)
+ * Copyright (C) 2016, Stichting Mapcode Foundation (http://www.mapcode.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/service/src/test/resources/log4j.xml b/service/src/test/resources/log4j.xml
index 9bcc1ec..e347832 100644
--- a/service/src/test/resources/log4j.xml
+++ b/service/src/test/resources/log4j.xml
@@ -1,6 +1,6 @@