diff options
author | Ashlee Young <ashlee@onosfw.com> | 2015-09-09 22:15:21 -0700 |
---|---|---|
committer | Ashlee Young <ashlee@onosfw.com> | 2015-09-09 22:15:21 -0700 |
commit | 13d05bc8458758ee39cb829098241e89616717ee (patch) | |
tree | 22a4d1ce65f15952f07a3df5af4b462b4697cb3a /framework/src/onos/features | |
parent | 6139282e1e93c2322076de4b91b1c85d0bc4a8b3 (diff) |
ONOS checkin based on commit tag e796610b1f721d02f9b0e213cf6f7790c10ecd60
Change-Id: Ife8810491034fe7becdba75dda20de4267bd15cd
Diffstat (limited to 'framework/src/onos/features')
-rw-r--r-- | framework/src/onos/features/features.xml | 140 | ||||
-rw-r--r-- | framework/src/onos/features/pom.xml | 89 |
2 files changed, 229 insertions, 0 deletions
diff --git a/framework/src/onos/features/features.xml b/framework/src/onos/features/features.xml new file mode 100644 index 00000000..dec02998 --- /dev/null +++ b/framework/src/onos/features/features.xml @@ -0,0 +1,140 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<!-- + ~ Copyright 2014 Open Networking Laboratory + ~ + ~ Licensed 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. + --> +<features xmlns="http://karaf.apache.org/xmlns/features/v1.2.0" + name="onos-@FEATURE-VERSION"> + <repository>mvn:org.onosproject/onos-features/@ONOS-VERSION/xml/features + </repository> + + <feature name="onos-thirdparty-base" version="@FEATURE-VERSION" + description="ONOS 3rd party dependencies"> + <bundle>mvn:commons-lang/commons-lang/2.6</bundle> + <bundle>mvn:org.apache.commons/commons-lang3/3.3.2</bundle> + <bundle>mvn:commons-configuration/commons-configuration/1.10</bundle> + <bundle>mvn:com.google.guava/guava/18.0</bundle> + <bundle>mvn:io.netty/netty/3.9.2.Final</bundle> + <bundle>mvn:io.netty/netty-common/4.0.23.Final</bundle> + <bundle>mvn:io.netty/netty-buffer/4.0.23.Final</bundle> + <bundle>mvn:io.netty/netty-transport/4.0.23.Final</bundle> + <bundle>mvn:io.netty/netty-handler/4.0.23.Final</bundle> + <bundle>mvn:io.netty/netty-codec/4.0.23.Final</bundle> + <bundle>mvn:io.netty/netty-transport-native-epoll/4.0.23.Final</bundle> + <bundle>mvn:commons-pool/commons-pool/1.6</bundle> + <bundle>mvn:org.apache.commons/commons-math3/3.2</bundle> + + <bundle>mvn:joda-time/joda-time/2.5</bundle> + + <bundle>mvn:io.dropwizard.metrics/metrics-core/3.1.0</bundle> + <bundle>mvn:io.dropwizard.metrics/metrics-json/3.1.0</bundle> + <bundle>mvn:com.eclipsesource.minimal-json/minimal-json/0.9.1</bundle> + + <bundle>mvn:com.esotericsoftware/kryo/3.0.0</bundle> + <bundle>mvn:com.esotericsoftware/reflectasm/1.10.0</bundle> + <bundle>mvn:org.ow2.asm/asm/4.2</bundle> + <bundle>mvn:com.esotericsoftware/minlog/1.3.0</bundle> + <bundle>mvn:org.objenesis/objenesis/2.1</bundle> + + <bundle>mvn:org.onosproject/onlab-nio/@ONOS-VERSION</bundle> + + <bundle>mvn:com.fasterxml.jackson.core/jackson-core/2.4.2</bundle> + <bundle>mvn:com.fasterxml.jackson.core/jackson-annotations/2.4.2</bundle> + <bundle>mvn:com.fasterxml.jackson.core/jackson-databind/2.4.2</bundle> + + <bundle>mvn:commons-configuration/commons-configuration/1.10</bundle> + <bundle>mvn:commons-collections/commons-collections/3.2.1</bundle> + + <!-- FIXME: we should switch to use fasterxml jackson --> + <bundle>mvn:org.codehaus.jackson/jackson-core-asl/1.9.13</bundle> + <bundle>mvn:org.codehaus.jackson/jackson-mapper-asl/1.9.13</bundle> + + <bundle>mvn:com.typesafe/config/1.2.1</bundle> + <bundle>mvn:org.onosproject/onlab-thirdparty/@ONOS-VERSION</bundle> + + <bundle>mvn:org.mapdb/mapdb/1.0.7</bundle> + </feature> + + <feature name="onos-thirdparty-web" version="@FEATURE-VERSION" + description="ONOS 3rd party dependencies for web apps"> + <feature>war</feature> + <feature>onos-thirdparty-base</feature> + <!-- FIXME: we should upgrade our jersey eventually --> + <bundle>mvn:com.sun.jersey/jersey-core/1.19</bundle> + <bundle>mvn:com.sun.jersey/jersey-server/1.19</bundle> + <bundle>mvn:com.sun.jersey/jersey-servlet/1.19</bundle> + <bundle>mvn:com.sun.jersey.contribs/jersey-multipart/1.19</bundle> + <bundle>mvn:org.jvnet.mimepull/mimepull/1.9.3</bundle> + <bundle>mvn:javax.ws.rs/jsr311-api/1.1.1</bundle> + </feature> + + <feature name="onos-api" version="@FEATURE-VERSION" + description="ONOS services and model API"> + <feature>scr</feature> + <feature>onos-thirdparty-base</feature> + <bundle>mvn:org.onosproject/onlab-misc/@ONOS-VERSION</bundle> + <bundle>mvn:org.onosproject/onlab-osgi/@ONOS-VERSION</bundle> + + <bundle>mvn:org.onosproject/onos-api/@ONOS-VERSION</bundle> + <bundle>mvn:org.onosproject/onos-incubator-api/@ONOS-VERSION</bundle> + </feature> + + <feature name="onos-core" version="@FEATURE-VERSION" + description="ONOS core components"> + <feature>onos-api</feature> + <bundle>mvn:org.onosproject/onos-core-net/@ONOS-VERSION</bundle> + <bundle>mvn:org.onosproject/onos-core-common/@ONOS-VERSION</bundle> + <bundle>mvn:org.onosproject/onos-core-dist/@ONOS-VERSION</bundle> + <bundle>mvn:org.onosproject/onos-core-serializers/@ONOS-VERSION</bundle> + <bundle>mvn:org.onosproject/onlab-netty/@ONOS-VERSION</bundle> + </feature> + + <feature name="onos-incubator" version="@FEATURE-VERSION" + description="ONOS core incubator components"> + <feature>onos-core</feature> + <bundle>mvn:org.onosproject/onos-incubator-net/@ONOS-VERSION</bundle> + <bundle>mvn:org.onosproject/onos-incubator-store/@ONOS-VERSION</bundle> + </feature> + + <feature name="onos-rest" version="@FEATURE-VERSION" + description="ONOS REST API components"> + <feature>onos-api</feature> + <feature>onos-thirdparty-web</feature> + <bundle>mvn:org.onosproject/onlab-rest/@ONOS-VERSION</bundle> + <bundle>mvn:org.onosproject/onos-rest/@ONOS-VERSION</bundle> + </feature> + + <feature name="onos-gui" version="@FEATURE-VERSION" + description="ONOS GUI console components"> + <feature>onos-api</feature> + <feature>onos-thirdparty-web</feature> + <bundle>mvn:org.eclipse.jetty/jetty-websocket/8.1.15.v20140411</bundle> + <bundle>mvn:org.onosproject/onlab-rest/@ONOS-VERSION</bundle> + <bundle>mvn:org.onosproject/onos-gui/@ONOS-VERSION</bundle> + </feature> + + <feature name="onos-cli" version="@FEATURE-VERSION" + description="ONOS admin command console components"> + <feature>onos-api</feature> + <bundle>mvn:org.onosproject/onos-cli/@ONOS-VERSION</bundle> + </feature> + + <feature name="onos-security" version="@FEATURE-VERSION" + description="Security-Mode ONOS"> + <feature>onos-api</feature> + <bundle>mvn:org.onosproject/org.apache.felix.framework.security/2.2.0.onos</bundle> + <bundle>mvn:org.onosproject/onos-security/@ONOS-VERSION</bundle> + </feature> + +</features> diff --git a/framework/src/onos/features/pom.xml b/framework/src/onos/features/pom.xml new file mode 100644 index 00000000..c4a22b60 --- /dev/null +++ b/framework/src/onos/features/pom.xml @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ Copyright 2014 Open Networking Laboratory + ~ + ~ Licensed 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. + --> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.onosproject</groupId> + <artifactId>onos</artifactId> + <version>1.3.0-SNAPSHOT</version> + <relativePath>../pom.xml</relativePath> + </parent> + + <artifactId>onos-features</artifactId> + <packaging>pom</packaging> + + <description>ONOS Apache Karaf feature definitions</description> + + <build> + <plugins> + <plugin> + <groupId>com.google.code.maven-replacer-plugin</groupId> + <artifactId>replacer</artifactId> + <version>1.5.3</version> + <executions> + <execution> + <phase>prepare-package</phase> + <goals> + <goal>replace</goal> + </goals> + </execution> + </executions> + <configuration> + <file>${pom.basedir}/features.xml</file> + <outputFile>${pom.basedir}/target/features.xml</outputFile> + <replacements> + <replacement> + <token>@ONOS-VERSION</token> + <value>${project.version}</value> + </replacement> + <replacement> + <token>@FEATURE-VERSION</token> + <value>${project.version}</value> + </replacement> + </replacements> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.9</version> + <executions> + <execution> + <id>attach-artifacts</id> + <phase>package</phase> + <goals> + <goal>attach-artifact</goal> + </goals> + <configuration> + <artifacts> + <artifact> + <file>target/features.xml</file> + <type>xml</type> + <classifier>features</classifier> + </artifact> + </artifacts> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + +</project> |