From: Stephen Kitt Date: Tue, 15 Dec 2015 14:43:27 +0000 (+0100) Subject: Pull in com.typesafe:config from odlparent X-Git-Tag: release/beryllium~62 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=1d93526ad8d11be87fe89a7667efda42043d8baf Pull in com.typesafe:config from odlparent Along with an equivalent patch to netconf (forthcoming), this will ensure the versions of com.typesafe:config are the same in both projects, avoiding issues loading Karaf features in some cases (e.g. odl-restconf-all from the netconf distribution). This involves migrating features-akka to features-parent, which requires support for extended version specifiers in odlparent (I5033fae1ea13a31b1f2e3b97806829fe086e5f92). commons.odlparent is used as an artifact POM to avoid having to duplicate properties, without embarking on a whole-sale property clean-up (yet). Change-Id: Ie557c8cb1634552acdf4762a5fe13a902a0ce8c2 Signed-off-by: Stephen Kitt --- diff --git a/features/akka/pom.xml b/features/akka/pom.xml index 84e743f349..7f8d2efe73 100644 --- a/features/akka/pom.xml +++ b/features/akka/pom.xml @@ -5,128 +5,68 @@ This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html ---> +--> + 4.0.0 - org.opendaylight.controller - commons.opendaylight + org.opendaylight.odlparent + features-parent 1.6.0-SNAPSHOT - ../../opendaylight/commons/opendaylight + features-akka org.opendaylight.controller - jar + 1.6.0-SNAPSHOT + pom features.xml - 1.2.0-SNAPSHOT 1.6.0-SNAPSHOT 0.8.0-SNAPSHOT 1.6.0-SNAPSHOT 2.16 + 2.3.14 + 2.10 + + + + org.opendaylight.controller + commons.opendaylight + 1.6.0-SNAPSHOT + pom + import + + + - - - - - org.scala-lang scala-library - ${scala.version}.${scala.micro.version} org.scala-lang scala-reflect - ${scala.version}.${scala.micro.version} com.typesafe config - ${typesafe.config.version} com.typesafe.akka akka-actor_${scala.version} - ${akka.version} com.typesafe.akka akka-slf4j_${scala.version} - ${akka.version} com.typesafe.akka akka-osgi_${scala.version} - ${akka.version} org.uncommons.maths uncommons-maths - ${uncommons.maths.version} jfree @@ -141,7 +81,6 @@ com.google.protobuf protobuf-java - ${protobuf.version} io.netty @@ -151,26 +90,19 @@ com.typesafe.akka akka-remote_${scala.version} - ${akka.version} com.typesafe.akka akka-cluster_${scala.version} - ${akka.version} org.iq80.leveldb leveldb - ${leveldb.version} org.fusesource.leveldbjni leveldbjni-all - ${leveldbjni.version} - org.opendaylight.odlparent @@ -194,66 +126,6 @@ --> - - - - src/main/resources - true - - - - - org.apache.maven.plugins - maven-resources-plugin - - - filter - generate-resources - - resources - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - attach-artifacts - package - - attach-artifact - - - - - ${project.build.directory}/classes/${features.file} - xml - features - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${surefire.version} - - - org.opendaylight.controller - opendaylight-karaf-empty - ${karaf.empty.version} - - - org.opendaylight.odlparent:features-test - - - - - scm:git:http://git.opendaylight.org/gerrit/controller.git scm:git:ssh://git.opendaylight.org:29418/controller.git diff --git a/features/akka/src/main/resources/features.xml b/features/akka/src/main/features/features.xml similarity index 51% rename from features/akka/src/main/resources/features.xml rename to features/akka/src/main/features/features.xml index 6a9b5888f2..f0f004eb39 100644 --- a/features/akka/src/main/resources/features.xml +++ b/features/akka/src/main/features/features.xml @@ -1,7 +1,7 @@ - odl-akka-scala odl-akka-system odl-akka-clustering odl-akka-leveldb odl-akka-persistence - - mvn:org.scala-lang/scala-library/${scala.version}.${scala.micro.version} - mvn:org.scala-lang/scala-reflect/${scala.version}.${scala.micro.version} + mvn:org.scala-lang/scala-library/{{VERSION}} + mvn:org.scala-lang/scala-reflect/{{VERSION}} odl-akka-scala - mvn:com.typesafe/config/${typesafe.config.version} + mvn:com.typesafe/config/{{VERSION}} mvn:com.typesafe.akka/akka-actor_${scala.version}/${akka.version} mvn:com.typesafe.akka/akka-slf4j_${scala.version}/${akka.version} mvn:com.typesafe.akka/akka-osgi_${scala.version}/${akka.version} odl-akka-system - wrap:mvn:org.uncommons.maths/uncommons-maths/${uncommons.maths.version} - mvn:com.google.protobuf/protobuf-java/${protobuf.version} - mvn:io.netty/netty/3.8.0.Final + wrap:mvn:org.uncommons.maths/uncommons-maths/{{VERSION}} + mvn:com.google.protobuf/protobuf-java/{{VERSION}} + mvn:io.netty/netty/{{VERSION}} mvn:com.typesafe.akka/akka-remote_${scala.version}/${akka.version} mvn:com.typesafe.akka/akka-cluster_${scala.version}/${akka.version} - wrap:mvn:org.iq80.leveldb/leveldb/${leveldb.version} - mvn:org.fusesource.leveldbjni/leveldbjni-all/${leveldbjni.version} + wrap:mvn:org.iq80.leveldb/leveldb/{{VERSION}} + mvn:org.fusesource.leveldbjni/leveldbjni-all/{{VERSION}} odl-akka-leveldb odl-akka-system mvn:com.typesafe.akka/akka-persistence-experimental_${scala.version}/${akka.version} - wrap:mvn:com.google.protobuf/protobuf-java/${protobuf.version}$overwrite=merge&DynamicImport-Package=org.opendaylight.controller.protobuff.messages.*;org.opendaylight.controller.cluster.raft.protobuff.client.messages.* + wrap:mvn:com.google.protobuf/protobuf-java/{{VERSION}}$overwrite=merge&DynamicImport-Package=org.opendaylight.controller.protobuff.messages.*;org.opendaylight.controller.cluster.raft.protobuff.client.messages.* diff --git a/opendaylight/commons/opendaylight/pom.xml b/opendaylight/commons/opendaylight/pom.xml index 735c5f1eb2..d2b2d1d4d4 100644 --- a/opendaylight/commons/opendaylight/pom.xml +++ b/opendaylight/commons/opendaylight/pom.xml @@ -145,7 +145,6 @@ 0.6.0-SNAPSHOT 1.2.0-SNAPSHOT 0.6.0-SNAPSHOT - 1.2.0 1.2.2a 0.6.0-SNAPSHOT 0.2.0-SNAPSHOT @@ -296,6 +295,26 @@ app 1.0.0-v20070606 + + org.uncommons.maths + uncommons-maths + ${uncommons.maths.version} + + + com.google.protobuf + protobuf-java + ${protobuf.version} + + + org.iq80.leveldb + leveldb + ${leveldb.version} + + + org.fusesource.leveldbjni + leveldbjni-all + ${leveldbjni.version} + @@ -767,6 +786,11 @@ scala-library ${scala.version}.1 + + org.scala-lang + scala-reflect + ${scala.version}.1 + org.opendaylight.controller commons.logback_settings