summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@egiz.gv.at>2018-09-06 16:42:02 +0200
committerAndreas Abraham <andreas.abraham@egiz.gv.at>2018-09-06 16:42:02 +0200
commit292c8eba8c5f28c141a9b088f52cd06871c4e920 (patch)
tree3e851b11e462befbe416f26b26c8ee649bb9e4e5
parent51ac35d46acc9056b515391609d866ac8afbd231 (diff)
downloadmocca-292c8eba8c5f28c141a9b088f52cd06871c4e920.tar.gz
mocca-292c8eba8c5f28c141a9b088f52cd06871c4e920.tar.bz2
mocca-292c8eba8c5f28c141a9b088f52cd06871c4e920.zip
constants added
-rw-r--r--utils/pom.xml16
-rw-r--r--utils/src/main/java/at/gv/egiz/upater/Constants.java10
2 files changed, 25 insertions, 1 deletions
diff --git a/utils/pom.xml b/utils/pom.xml
index 8819ce68..4c7623b2 100644
--- a/utils/pom.xml
+++ b/utils/pom.xml
@@ -40,12 +40,26 @@
<groupId>com.sun.xml.stream</groupId>
<version>1.0.2</version>
</dependency>
-
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.2</version>
+ </dependency>
+<!-- <dependency> -->
+<!-- <groupId>commons-codec</groupId> -->
+<!-- <artifactId>commons-codec</artifactId> -->
+<!-- <version>1.11</version> -->
+<!-- </dependency> -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.5</version>
</dependency>
+<!-- <dependency> -->
+<!-- <groupId>commons-httpclient</groupId> -->
+<!-- <artifactId>commons-httpclient</artifactId> -->
+<!-- <version>3.1</version> -->
+<!-- </dependency> -->
<!-- for testing -->
<dependency>
diff --git a/utils/src/main/java/at/gv/egiz/upater/Constants.java b/utils/src/main/java/at/gv/egiz/upater/Constants.java
new file mode 100644
index 00000000..5a610039
--- /dev/null
+++ b/utils/src/main/java/at/gv/egiz/upater/Constants.java
@@ -0,0 +1,10 @@
+package at.gv.egiz.upater;
+
+public class Constants {
+
+ public static final String WEBSTART_URL = "https://webstart.buergerkarte.at/";
+ public static final String MOCCA_STR = "mocca/";
+ public static final String VERSION_FILE = "Release.txt";
+ public static final String PATH_TO_VERSION_FILE = WEBSTART_URL + MOCCA_STR + VERSION_FILE;
+
+}