diff --git a/testsuite-osgi/pom.xml b/testsuite-osgi/pom.xml index 33d9980b25..5fd640d089 100644 --- a/testsuite-osgi/pom.xml +++ b/testsuite-osgi/pom.xml @@ -49,7 +49,7 @@ - + maven-deploy-plugin diff --git a/testsuite-osgi/testsuite-osgi-deps/pom.xml b/testsuite-osgi/testsuite-osgi-deps/pom.xml index ee1a53d5ca..b558f309d1 100644 --- a/testsuite-osgi/testsuite-osgi-deps/pom.xml +++ b/testsuite-osgi/testsuite-osgi-deps/pom.xml @@ -25,14 +25,16 @@ netty-testsuite-osgi-deps - feature + bundle Netty/Testsuite/OSGi/Deps verify osgi compliance: all transitive dependencies must be osgi bundles + - + + ${project.groupId} netty-buffer @@ -94,7 +96,7 @@ - + commons-io commons-io @@ -106,36 +108,23 @@ - - - maven-compiler-plugin - - - compile - compile - - compile - - - - test-compile - test-compile - - testCompile - - - - - + org.apache.karaf.tooling karaf-maven-plugin 3.0.0.RC1 true + + + + features-generate-descriptor + + + - + maven-failsafe-plugin @@ -149,7 +138,7 @@ - + maven-deploy-plugin @@ -189,4 +178,5 @@ + diff --git a/testsuite-osgi/testsuite-osgi-deps/src/test/java/io/netty/verify/osgi/package-info.java b/testsuite-osgi/testsuite-osgi-deps/src/test/java/io/netty/verify/osgi/package-info.java deleted file mode 100644 index d33b7a61d4..0000000000 --- a/testsuite-osgi/testsuite-osgi-deps/src/test/java/io/netty/verify/osgi/package-info.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2013 The Netty Project - * - * The Netty Project licenses this file to you under the Apache License, - * version 2.0 (the "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at: - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - */ - -/** - * OSGI Dependency tests - */ -package io.netty.verify.osgi; diff --git a/testsuite-osgi/testsuite-osgi-exam/pom.xml b/testsuite-osgi/testsuite-osgi-exam/pom.xml index fc7355e13d..1dd4dc16e2 100644 --- a/testsuite-osgi/testsuite-osgi-exam/pom.xml +++ b/testsuite-osgi/testsuite-osgi-exam/pom.xml @@ -31,34 +31,15 @@ verify osgi compliance: run tests inside osgi framework - 3.0.0 - 1.5.0 + 3.0.3 + 1.5.2 - - - org.slf4j - slf4j-api - - - - - com.carrotgarden.osgi - carrot-osgi-anno-scr-core - 1.1.3 - - - - org.apache.felix - org.apache.felix.scr - 1.6.2 - - - + ${project.groupId} netty-buffer @@ -110,9 +91,36 @@ ${project.version} + + + org.slf4j + slf4j-api + + + + + org.apache.felix + org.apache.felix.scr + 1.6.2 + + + + + org.osgi + org.osgi.core + 4.3.1 + provided + + + org.osgi + org.osgi.compendium + 4.3.1 + provided + + - + ${project.groupId} netty-transport-udt @@ -131,61 +139,53 @@ test - - - org.osgi - org.osgi.core - 4.3.1 - provided - - - + org.ops4j.pax.exam pax-exam-container-native - ${exam.version} + ${pax.exam.version} test org.ops4j.pax.exam pax-exam-junit4 - ${exam.version} + ${pax.exam.version} test org.ops4j.pax.exam pax-exam-invoker-junit - ${exam.version} + ${pax.exam.version} test org.ops4j.pax.exam pax-exam-inject - ${exam.version} + ${pax.exam.version} test org.ops4j.pax.exam pax-exam-extender-service - ${exam.version} + ${pax.exam.version} test org.ops4j.pax.exam pax-exam-link-mvn - ${exam.version} + ${pax.exam.version} test org.ops4j.pax.url pax-url-aether - ${url.version} + ${pax.url.version} test org.ops4j.pax.url pax-url-wrap - ${url.version} + ${pax.url.version} test @@ -200,7 +200,7 @@ - + org.apache.servicemix.tooling depends-maven-plugin @@ -216,25 +216,17 @@ - + com.carrotgarden.maven carrot-maven-scr-plugin - 1.1.5 + 3.0.3 OSGI-INF/service-component - clean - clean - - clean - - - - generate - process-classes + generate-test-sources generate @@ -242,7 +234,7 @@ - + org.apache.felix maven-bundle-plugin @@ -261,7 +253,7 @@ - + maven-failsafe-plugin @@ -275,7 +267,7 @@ - + maven-deploy-plugin @@ -307,6 +299,19 @@ + + + org.apache.felix + maven-bundle-plugin + [0,) + + manifest + + + + + + diff --git a/testsuite-osgi/testsuite-osgi-exam/src/test/java/io/netty/verify/osgi/UnitHelp.java b/testsuite-osgi/testsuite-osgi-exam/src/test/java/io/netty/verify/osgi/UnitHelp.java index 2e0de2353c..cae5d4a61e 100644 --- a/testsuite-osgi/testsuite-osgi-exam/src/test/java/io/netty/verify/osgi/UnitHelp.java +++ b/testsuite-osgi/testsuite-osgi-exam/src/test/java/io/netty/verify/osgi/UnitHelp.java @@ -50,9 +50,6 @@ public final class UnitHelp { // mavenBundle().groupId("org.ops4j.pax.logging").artifactId( // "pax-logging-service"), - /** install scr annotations */ - mavenBundle("com.carrotgarden.osgi", - "carrot-osgi-anno-scr-core").versionAsInProject(), /** install scr runtime provider */ mavenBundle("org.apache.felix", "org.apache.felix.scr") .versionAsInProject(), diff --git a/testsuite-osgi/testsuite-osgi-split/pom.xml b/testsuite-osgi/testsuite-osgi-split/pom.xml index e829463095..d9634de238 100644 --- a/testsuite-osgi/testsuite-osgi-split/pom.xml +++ b/testsuite-osgi/testsuite-osgi-split/pom.xml @@ -32,7 +32,7 @@ - + ${project.groupId} netty-buffer @@ -89,7 +89,7 @@ - + org.apache.felix maven-bundle-plugin @@ -103,7 +103,7 @@ - + maven-deploy-plugin @@ -113,4 +113,5 @@ +