diff --git a/README.md b/README.md
index 054680ed3..033a3989f 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,7 @@ Then [download the Cling distribution](https://github.com/4thline/cling/releases
org.fourthline.cling
cling-core
- 2.1.1
+ 2.1.2
```
@@ -96,7 +96,7 @@ If your build fails with Android/dex packaging errors, you forgot the clean.
org.fourthline.cling
cling-core
- 2.1.2-SNAPSHOT
+ 2.1.2
````
@@ -105,8 +105,8 @@ Building OS X Workbench DMG
---
hdiutil create -srcfolder \
- workbench/target/cling-workbench-2.1.2-SNAPSHOT/Cling\ Workbench.app \
- workbench/target/cling-workbench-2.1.2-SNAPSHOT/Cling\ Workbench.dmg
+ workbench/target/cling-workbench-2.1.2/Cling\ Workbench.app \
+ workbench/target/cling-workbench-2.1.2/Cling\ Workbench.dmg
Publishing a release
--------------------
@@ -118,7 +118,7 @@ Update Maven repository:
````
mvn clean install
-mvn deploy
+mvn clean deploy -DskipTests
````
## Projects and applications using Cling
diff --git a/core/pom.xml b/core/pom.xml
index 44a796d04..d435a05ae 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -7,7 +7,7 @@
org.fourthline.cling
cling
- 2.1.2-SNAPSHOT
+ 2.1.2
Cling Core
diff --git a/core/src/site/xhtml/index.xhtml b/core/src/site/xhtml/index.xhtml
index 9c090663e..9524fc3d5 100644
--- a/core/src/site/xhtml/index.xhtml
+++ b/core/src/site/xhtml/index.xhtml
@@ -92,7 +92,7 @@
org.fourthline.cling
cling-core
- 2.1.2-SNAPSHOT
+ 2.1.2
]]>
diff --git a/core/src/test/java/example/controlpoint/EventSubscriptionTest.java b/core/src/test/java/example/controlpoint/EventSubscriptionTest.java
index 7fd37d561..cdffad652 100644
--- a/core/src/test/java/example/controlpoint/EventSubscriptionTest.java
+++ b/core/src/test/java/example/controlpoint/EventSubscriptionTest.java
@@ -178,7 +178,7 @@ protected void invalidMessage(RemoteGENASubscription sub,
service.getManager().getPropertyChangeSupport().firePropertyChange("Status", false, true);
assertEquals(callback.getSubscription().getCurrentSequence().getValue(), Long.valueOf(2)); // It's the NEXT sequence!
- assert callback.getSubscription().getSubscriptionId().startsWith("uuid:");
+ assertTrue(callback.getSubscription().getSubscriptionId().startsWith("uuid:"));
// Actually, the local subscription we are testing here has an "unlimited" duration
assertEquals(callback.getSubscription().getActualDurationSeconds(), Integer.MAX_VALUE);
@@ -187,7 +187,7 @@ protected void invalidMessage(RemoteGENASubscription sub,
assertEquals(testAssertions.size(), 4);
for (Boolean testAssertion : testAssertions) {
- assert testAssertion;
+ assertTrue(testAssertion);
}
assertEquals(upnpService.getRouter().getSentStreamRequestMessages().size(), 0);
diff --git a/core/src/test/java/org/fourthline/cling/test/gena/OutgoingSubscriptionLifecycleTest.java b/core/src/test/java/org/fourthline/cling/test/gena/OutgoingSubscriptionLifecycleTest.java
index af9516656..a9ddb1da1 100644
--- a/core/src/test/java/org/fourthline/cling/test/gena/OutgoingSubscriptionLifecycleTest.java
+++ b/core/src/test/java/org/fourthline/cling/test/gena/OutgoingSubscriptionLifecycleTest.java
@@ -39,7 +39,6 @@
import org.fourthline.cling.model.types.UnsignedIntegerFourBytes;
import org.fourthline.cling.protocol.ProtocolCreationException;
import org.fourthline.cling.test.data.SampleData;
-import org.fourthline.cling.transport.RouterException;
import org.seamless.util.URIUtil;
import org.testng.annotations.Test;
@@ -49,7 +48,7 @@
import java.util.List;
import java.util.concurrent.Semaphore;
-import static org.testng.Assert.assertEquals;
+import static org.testng.Assert.*;
public class OutgoingSubscriptionLifecycleTest {
@@ -98,7 +97,7 @@ public void established(GENASubscription subscription) {
@Override
public void ended(GENASubscription subscription, CancelReason reason, UpnpResponse responseStatus) {
- assert reason == null;
+ assertNull(reason);
assertEquals(responseStatus.getStatusCode(), UpnpResponse.Status.OK.getStatusCode());
testAssertions.add(true);
}
@@ -119,7 +118,7 @@ public void eventsMissed(GENASubscription subscription, int numberOfMissedEvents
// Subscription process OK?
for (Boolean testAssertion : testAssertions) {
- assert testAssertion;
+ assertTrue(testAssertion);
}
// Simulate received event
@@ -136,11 +135,11 @@ public void eventsMissed(GENASubscription subscription, int numberOfMissedEvents
callback.end();
- assert callback.getSubscription() == null;
+ assertNull(callback.getSubscription());
assertEquals(testAssertions.size(), 3);
for (Boolean testAssertion : testAssertions) {
- assert testAssertion;
+ assertTrue(testAssertion);
}
List sentMessages = upnpService.getRouter().getSentStreamRequestMessages();
@@ -302,7 +301,7 @@ public void run() {
assertEquals(1, notificationCalled.size());
for (Boolean testAssertion : testAssertions) {
- assert testAssertion;
+ assertTrue(testAssertion);
}
}
diff --git a/demo/android/browser/pom.xml b/demo/android/browser/pom.xml
index 29296b585..5ad9d2611 100755
--- a/demo/android/browser/pom.xml
+++ b/demo/android/browser/pom.xml
@@ -5,7 +5,7 @@
org.fourthline.cling
cling-demo-android
- 2.1.2-SNAPSHOT
+ 2.1.2
Cling Demo Android Browser
diff --git a/demo/android/light/pom.xml b/demo/android/light/pom.xml
index 11da5d3b2..b40f7e306 100755
--- a/demo/android/light/pom.xml
+++ b/demo/android/light/pom.xml
@@ -5,7 +5,7 @@
org.fourthline.cling
cling-demo-android
- 2.1.2-SNAPSHOT
+ 2.1.2
Cling Demo Android Light
diff --git a/demo/android/pom.xml b/demo/android/pom.xml
index face6433d..b900516b7 100755
--- a/demo/android/pom.xml
+++ b/demo/android/pom.xml
@@ -6,7 +6,7 @@
org.fourthline.cling
cling-demo
- 2.1.2-SNAPSHOT
+ 2.1.2
Cling Demo Android
diff --git a/demo/pom.xml b/demo/pom.xml
index cb00d563d..8b67923e0 100644
--- a/demo/pom.xml
+++ b/demo/pom.xml
@@ -7,7 +7,7 @@
org.fourthline.cling
cling
- 2.1.2-SNAPSHOT
+ 2.1.2
Cling Demo
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 6b17a282c..1567fd599 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -7,7 +7,7 @@
cling
org.fourthline.cling
- 2.1.2-SNAPSHOT
+ 2.1.2
Cling Distribution
diff --git a/distribution/src/dist/README.txt b/distribution/src/dist/README.txt
index 55baa57b2..8e7f3a4aa 100644
--- a/distribution/src/dist/README.txt
+++ b/distribution/src/dist/README.txt
@@ -57,24 +57,24 @@ DEPENDENCIES
Required dependencies of Cling Core (included with this distribution):
- +- org.fourthline.cling:cling-core:jar:2.1.2-SNAPSHOT
- +- org.seamless:seamless-util:jar:1.1.1
- +- org.seamless:seamless-http:jar:1.1.1
- \- org.seamless:seamless-xml:jar:1.1.1
+ +- org.fourthline.cling:cling-core:jar:2.1.2
+ +- org.seamless:seamless-util:jar:1.1.2
+ +- org.seamless:seamless-http:jar:1.1.2
+ \- org.seamless:seamless-xml:jar:1.1.2
Additional dependencies of Cling Core on Android (not included):
- +- org.eclipse.jetty:jetty-server:jar:8.1.8.v20121106
+ +- org.eclipse.jetty:jetty-server:jar:8.1.22.v20160922
| +- org.eclipse.jetty.orbit:javax.servlet:jar:3.0.0.v201112011016
- | +- org.eclipse.jetty:jetty-continuation:jar:8.1.8.v20121106
- | \- org.eclipse.jetty:jetty-http:jar:8.1.8.v20121106
- | \- org.eclipse.jetty:jetty-io:jar:8.1.8.v20121106
- | \- org.eclipse.jetty:jetty-util:jar:8.1.8.v20121106
- +- org.eclipse.jetty:jetty-servlet:jar:8.1.8.v20121106
- | \- org.eclipse.jetty:jetty-security:jar:8.1.8.v20121106
- +- org.eclipse.jetty:jetty-client:jar:8.1.8.v20121106
- +- org.slf4j:slf4j-jdk14:jar:1.6.1 (or any other SLF4J implementation)
- \- org.slf4j:slf4j-api:jar:1.6.1
+ | +- org.eclipse.jetty:jetty-continuation:jar:8.1.22.v20160922
+ | \- org.eclipse.jetty:jetty-http:jar:8.1.22.v20160922
+ | \- org.eclipse.jetty:jetty-io:jar:8.1.22.v20160922
+ | \- org.eclipse.jetty:jetty-util:jar:8.1.22.v20160922
+ +- org.eclipse.jetty:jetty-servlet:jar:8.1.22.v20160922
+ | \- org.eclipse.jetty:jetty-security:jar:8.1.22.v20160922
+ +- org.eclipse.jetty:jetty-client:jar:8.1.22.v20160922
+ +- org.slf4j:slf4j-jdk14:jar:1.7.25 (or any other SLF4J implementation)
+ \- org.slf4j:slf4j-api:jar:1.7.25
WARNING: Jetty JAR files each contain an 'about.html' file, you will get
an error when trying to package your application with APK. Use the Android
diff --git a/mediarenderer/pom.xml b/mediarenderer/pom.xml
index 972cc32dd..71c49ea36 100644
--- a/mediarenderer/pom.xml
+++ b/mediarenderer/pom.xml
@@ -7,7 +7,7 @@
org.fourthline.cling
cling
- 2.1.2-SNAPSHOT
+ 2.1.2
Cling MediaRenderer
diff --git a/mediarenderer/src/site/xhtml/index.xhtml b/mediarenderer/src/site/xhtml/index.xhtml
index c46e3e1b9..a127262aa 100644
--- a/mediarenderer/src/site/xhtml/index.xhtml
+++ b/mediarenderer/src/site/xhtml/index.xhtml
@@ -51,7 +51,7 @@ java -Djna.library.path=/usr/lib -jar cling-mediarenderer.jar
-
- JDK 1.6 desktop application (any OS)
+ JDK 1.6 desktop application (any OS)
-
Cling main distribution (incl. Cling Core library)
diff --git a/pom.xml b/pom.xml
index f17bc7205..be885eaec 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
org.fourthline.cling
cling
pom
- 2.1.2-SNAPSHOT
+ 2.1.2
core
@@ -73,7 +73,7 @@
4thline.org
- scpexe://4thline.org/webroot/vhosts/8080/4thline.org/m2/
+ scpexe://4thline/data/website/docroot/m2/
@@ -84,7 +84,7 @@
1.7
1.7
- 1.1.1
+ 1.1.2
1.1.1
6.14.3
4.1.1.4
@@ -258,12 +258,11 @@
-
org.apache.maven.wagon
wagon-ssh-external
- 1.0-beta-7
+ 3.2.0
diff --git a/support/pom.xml b/support/pom.xml
index bad2a6bfb..e925ec2a8 100644
--- a/support/pom.xml
+++ b/support/pom.xml
@@ -7,7 +7,7 @@
org.fourthline.cling
cling
- 2.1.2-SNAPSHOT
+ 2.1.2
Cling Support
diff --git a/support/src/site/xhtml/index.xhtml b/support/src/site/xhtml/index.xhtml
index 50642ea0e..4d3765747 100644
--- a/support/src/site/xhtml/index.xhtml
+++ b/support/src/site/xhtml/index.xhtml
@@ -100,7 +100,7 @@
org.fourthline.cling
cling-support
- 2.1.2-SNAPSHOT
+ 2.1.2
]]>
diff --git a/website/pom.xml b/website/pom.xml
index 5736e2baf..584b5b091 100644
--- a/website/pom.xml
+++ b/website/pom.xml
@@ -7,7 +7,7 @@
cling
org.fourthline.cling
- 2.1.2-SNAPSHOT
+ 2.1.2
Cling Website
diff --git a/website/src/site/xhtml/index.xhtml b/website/src/site/xhtml/index.xhtml
index 96ea9aa83..fb0b6006c 100644
--- a/website/src/site/xhtml/index.xhtml
+++ b/website/src/site/xhtml/index.xhtml
@@ -19,7 +19,7 @@
- The current release of Cling is 2.1.2-SNAPSHOT (xxxx-xx-xx): Download
+ The current release of Cling is 2.1.2 (xxxx-xx-xx): Download
diff --git a/workbench/pom.xml b/workbench/pom.xml
index 57a11857e..2ed4163ad 100644
--- a/workbench/pom.xml
+++ b/workbench/pom.xml
@@ -7,7 +7,7 @@
org.fourthline.cling
cling
- 2.1.2-SNAPSHOT
+ 2.1.2
Cling Workbench
diff --git a/workbench/src/site/xhtml/index.xhtml b/workbench/src/site/xhtml/index.xhtml
index 63b3d196c..5ffbed355 100644
--- a/workbench/src/site/xhtml/index.xhtml
+++ b/workbench/src/site/xhtml/index.xhtml
@@ -28,7 +28,7 @@