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