<dependencyManagement>
<!-- TODO: Hardcode versions when moving to semantic versioning. -->
<dependencies>
- <!-- Version artifacts. -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>version</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>version</artifactId>
- <version>${project.version}</version>
- <type>xml</type>
- <classifier>config</classifier>
- </dependency>
<!-- Karaf 4 single features. -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>odl-distribution-version</artifactId>
- <version>${project.version}</version>
- <classifier>features</classifier>
- <type>xml</type>
- </dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>odl-integration-compatible-with-all</artifactId>
<type>xml</type>
</dependency>
<!-- Karaf 4 feature repositories. -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>features-distribution</artifactId>
- <version>${project.version}</version>
- <classifier>features</classifier>
- <type>xml</type>
- </dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>features-index</artifactId>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- vi: set et smarttab sw=4 tabstop=4: -->
-<!--
- Copyright (c) 2017 Cisco Systems, Inc. and others. All rights reserved.
-
- 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
--->
-<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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.opendaylight.odlparent</groupId>
- <artifactId>feature-repo-parent</artifactId>
- <version>3.0.2</version>
- <relativePath/>
- </parent>
- <groupId>org.opendaylight.integration</groupId>
- <artifactId>features-distribution</artifactId>
- <version>0.9.0-SNAPSHOT</version>
- <packaging>feature</packaging>
- <!-- <name> formatting is used by autorelease to parse and notify projects on
- build failure. Please do not modify this unless you have a good reason. -->
- <name>ODL :: integration :: ${project.artifactId}</name>
- <description>Repository of features internal to distribution.</description>
- <url>https://wiki.opendaylight.org/view/Integration/Distribution</url>
- <licenses>
- <license>
- <name>Eclipse Public License v1.0</name>
- <url>http://www.eclipse.org/legal/epl-v10.html</url>
- </license>
- </licenses>
- <!-- FIXME: Add developers section -->
- <scm>
- <connection>scm:git:https://git.opendaylight.org/gerrit/integration/distribution.git</connection>
- <developerConnection>scm:git:ssh://git.opendaylight.org:29418/integration/distribution.git</developerConnection>
- <url>https://git.opendaylight.org/gerrit/gitweb?p=integration/distribution.git;a=tree;f=features/repos/distribution;hb=HEAD</url>
- <tag>HEAD</tag>
- </scm>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>all-artifacts</artifactId>
- <version>${project.version}</version>
- <scope>import</scope>
- <type>pom</type>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>odl-distribution-version</artifactId>
- <classifier>features</classifier>
- <type>xml</type>
- </dependency>
- </dependencies>
-</project>
</dependency>
</dependencies>
</profile>
- <!-- Distribution -->
- <profile>
- <id>distribution</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>features-distribution</artifactId>
- <classifier>features</classifier>
- <type>xml</type>
- </dependency>
- </dependencies>
- </profile>
<!-- Dlux -->
<profile>
<id>dlux</id>
</scm>
<modules>
<!-- Keep distribution-artifacts updated -->
- <module>distribution</module>
<module>index</module>
<module>test</module>
</modules>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2017 Cisco Systems, Inc. and others. All rights reserved.
-
- 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
- -->
-<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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.opendaylight.odlparent</groupId>
- <artifactId>single-feature-parent</artifactId>
- <version>3.0.2</version>
- <relativePath/>
- </parent>
- <groupId>org.opendaylight.integration</groupId>
- <artifactId>odl-distribution-version</artifactId>
- <version>0.9.0-SNAPSHOT</version>
- <packaging>feature</packaging>
- <!-- <name> formatting is used by autorelease to parse and notify projects on
- build failure. Please do not modify this unless you have a good reason. -->
- <name>ODL :: integration :: ${project.artifactId}</name>
- <description>Single feature for Version functionality.</description>
- <url>https://wiki.opendaylight.org/view/Integration/Distribution</url>
- <licenses>
- <license>
- <name>Eclipse Public License v1.0</name>
- <url>http://www.eclipse.org/legal/epl-v10.html</url>
- </license>
- </licenses>
- <!-- FIXME: Add developers section -->
- <scm>
- <connection>scm:git:https://git.opendaylight.org/gerrit/integration/distribution.git</connection>
- <developerConnection>scm:git:ssh://git.opendaylight.org:29418/integration/distribution.git</developerConnection>
- <url>https://git.opendaylight.org/gerrit/gitweb?p=integration/distribution.git;a=tree;f=features/singles/odl-distribution-version;hb=HEAD</url>
- <tag>HEAD</tag>
- </scm>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>all-artifacts</artifactId>
- <version>${project.version}</version>
- <scope>import</scope>
- <type>pom</type>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <!-- Version module jar and config. -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>version</artifactId>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>version</artifactId>
- <type>xml</type>
- <classifier>config</classifier>
- </dependency>
- <!-- External single feature dependencies. -->
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>odl-config-persister</artifactId>
- <!-- This pulls in both config-api and yang-common -->
- <type>xml</type>
- <classifier>features</classifier>
- </dependency>
- <!-- Additional dependencies are needed because config-parent also requires sal-binding-config bundle. -->
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <!-- This is an overkill, but odl-mdsal-broker-local is the only feature which contains sal-binding-config
- bundle, and odl-mdsal-broker is its nearest ancestor tested to not fail SingleFeatureTest
- (others are blacklisted in feature-test so SFT is skipped and they would cause SFT failure here). -->
- <artifactId>odl-mdsal-broker</artifactId>
- <type>xml</type>
- <classifier>features</classifier>
- </dependency>
- </dependencies>
-</project>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- vi: set et smarttab sw=4 tabstop=4: -->
-<!--
- Copyright (c) 2017 Cisco Systems, Inc. and others. All rights reserved.
-
- 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
--->
-<features name="odl-integration-distribution-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0">
- <feature name="odl-distribution-version" version="${project.version}">
- <configfile finalname="etc/opendaylight/karaf/odl-version.xml">
- mvn:org.opendaylight.integration/version/${project.version}/xml/config
- </configfile>
- </feature>
-</features>
</dependency>
</dependencies>
</profile>
- <!-- Distribution -->
- <profile>
- <id>distribution</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>odl-distribution-version</artifactId>
- <type>xml</type>
- <classifier>features</classifier>
- </dependency>
- </dependencies>
- </profile>
<!-- DluxApps -->
<profile>
<id>dluxapps</id>
</scm>
<modules>
<!-- Keep distribution-atrifacts updated. -->
- <module>odl-distribution-version</module>
<module>odl-integration-compatible-with-all</module>
<module>odl-integration-all</module>
</modules>
<module>artifacts</module>
<module>karaf</module>
<module>features</module>
- <module>version</module>
</modules>
</project>
+++ /dev/null
-<?xml version="1.0"?>
-<!-- vi: set et smarttab sw=4 tabstop=4: -->
-<!--
- Copyright (c) 2016-2017 Cisco Systems, Inc. and others. All rights reserved.
-
- 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
--->
-<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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>config-filtering-parent</artifactId>
- <version>0.9.0-SNAPSHOT</version>
- <relativePath/>
- </parent>
- <groupId>org.opendaylight.integration</groupId>
- <artifactId>version</artifactId>
- <version>0.9.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
- <!-- <name> formatting is used by autorelease to parse and notify projects on
- build failure. Please do not modify this unless you have a good reason. -->
- <name>ODL :: integration :: ${project.artifactId}</name>
- <description>Sub-project for ODL version(s) reporting mechanism.</description>
- <url>https://wiki.opendaylight.org/view/Integration/Distribution</url>
- <licenses>
- <license>
- <name>Eclipse Public License v1.0</name>
- <url>http://www.eclipse.org/legal/epl-v10.html</url>
- </license>
- </licenses>
- <!-- FIXME: Add developers section -->
- <scm>
- <connection>scm:git:https://git.opendaylight.org/gerrit/integration/distribution.git</connection>
- <developerConnection>scm:git:ssh://git.opendaylight.org:29418/integration/distribution.git</developerConnection>
- <url>https://git.opendaylight.org/gerrit/gitweb?p=integration/distribution.git;a=tree;f=version;hb=HEAD</url>
- <tag>HEAD</tag>
- </scm>
- <!-- Is there a way to inherit/include properties from a file bumped autimatically? -->
- <properties>
- <feature.odlparent.version>3.0.2</feature.odlparent.version>
- </properties>
-</project>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- vi: set et smarttab sw=4 tabstop=4: -->
-<!--
-Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
-
-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
--->
-<snapshot>
- <required-capabilities>
- <capability>urn:opendaylight:params:xml:ns:yang:integration:distribution:version?module=odl-distribution-version&revision=2016-03-16</capability>
- </required-capabilities>
- <configuration>
- <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
- <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
- <module>
- <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:integration:distribution:version">prefix:odl-version</type>
- <name>odl-distribution-version</name>
- <version>${project.version}</version>
- </module>
- <module>
- <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:integration:distribution:version">prefix:odl-version</type>
- <name>odl-odlparent-version</name>
- <version>${feature.odlparent.version}</version>
- </module>
- </modules>
- </data>
- </configuration>
-</snapshot>
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.integration.distribution.version.rev160316;
-public class OdlVersionModule extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.integration.distribution.version.rev160316.AbstractOdlVersionModule {
- public OdlVersionModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
- super(identifier, dependencyResolver);
- }
-
- public OdlVersionModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.integration.distribution.version.rev160316.OdlVersionModule oldModule, java.lang.AutoCloseable oldInstance) {
- super(identifier, dependencyResolver, oldModule, oldInstance);
- }
-
- @Override
- public void customValidation() {
- // add custom validation form module attributes here.
- }
-
- @Override
- public java.lang.AutoCloseable createInstance() {
- return new java.io.Closeable() {
- // TODO: Perhaps write something to datastore in constructor?
-
- @Override
- public void close() {
- }
-
- };
- }
-
-}
+++ /dev/null
-/*
-* Generated file
-*
-* Generated from: yang module name: odl-distribution-version yang module local name: odl-version
-* Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
-* Generated at: Fri Jun 10 11:25:09 IST 2016
-*
-* Do not modify this file unless it is present under src/main directory
-*/
-package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.integration.distribution.version.rev160316;
-public class OdlVersionModuleFactory extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.integration.distribution.version.rev160316.AbstractOdlVersionModuleFactory {
-
-}
+++ /dev/null
-module odl-distribution-version {
- yang-version 1;
- namespace "urn:opendaylight:params:xml:ns:yang:integration:distribution:version";
- prefix "odl-version";
-
- import config { prefix config; revision-date 2013-04-05; }
-
- description
- "Piece of ODL configuration holding version strings for ODL components.";
-
- revision "2016-03-16" {
- description
- "Initial revision";
- }
-
- identity odl-version {
- base config:module-type;
- }
-
- augment "/config:modules/config:module/config:configuration" {
- case odl-version {
- when "/config:modules/config:module/config:type = 'odl-version'";
- leaf version {
- description "Short string with version of component corresponding to module name.";
- type string;
- mandatory true;
- }
- }
- }
-}