<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+Copyright (c) 2014 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
+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.lispflowmapping</groupId>
- <artifactId>lispflowmapping-all</artifactId>
- <version>1.2.0-SNAPSHOT</version>
+ <groupId>org.opendaylight.odlparent</groupId>
+ <artifactId>features-parent</artifactId>
+ <version>1.7.0-SNAPSHOT</version>
+ <relativePath/>
</parent>
+
+ <groupId>org.opendaylight.lispflowmapping</groupId>
<artifactId>features-lispflowmapping</artifactId>
- <packaging>jar</packaging>
+ <version>1.4.0-SNAPSHOT</version>
<name>LISP Flow Mapping Project - Karaf Features</name>
+
+ <prerequisites>
+ <maven>3.1.1</maven>
+ </prerequisites>
+
<properties>
+ <commons.opendaylight.version>1.7.0-SNAPSHOT</commons.opendaylight.version>
+ <configfile.directory>etc/opendaylight/karaf</configfile.directory>
+ <config.version>0.5.0-SNAPSHOT</config.version>
+ <dlux.core.version>0.4.0-SNAPSHOT</dlux.core.version>
<features.file>features.xml</features.file>
+ <mdsal.version>1.4.0-SNAPSHOT</mdsal.version>
+ <mdsal.model.version>0.9.0-SNAPSHOT</mdsal.model.version>
+ <neutron.version>0.7.0-SNAPSHOT</neutron.version>
+ <restconf.version>1.4.0-SNAPSHOT</restconf.version>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <!-- project specific dependencies -->
+ <dependency>
+ <groupId>org.opendaylight.controller</groupId>
+ <artifactId>mdsal-artifacts</artifactId>
+ <version>${mdsal.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>features-adsal</artifactId>
+ <groupId>org.opendaylight.mdsal.model</groupId>
+ <artifactId>features-mdsal-model</artifactId>
+ <version>${mdsal.model.version}</version>
<classifier>features</classifier>
<type>xml</type>
+ <scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.opendaylight.controller</groupId>
- <artifactId>features-mdsal</artifactId>
+ <artifactId>features-config</artifactId>
+ <version>${config.version}</version>
<classifier>features</classifier>
<type>xml</type>
</dependency>
<dependency>
<groupId>org.opendaylight.controller</groupId>
- <artifactId>features-netconf-connector</artifactId>
+ <artifactId>features-mdsal</artifactId>
<classifier>features</classifier>
<type>xml</type>
+ <scope>runtime</scope>
</dependency>
<dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>features-neutron</artifactId>
+ <groupId>org.opendaylight.netconf</groupId>
+ <artifactId>features-restconf</artifactId>
+ <version>${restconf.version}</version>
<classifier>features</classifier>
<type>xml</type>
+ <scope>runtime</scope>
</dependency>
<dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>features-nsf</artifactId>
+ <groupId>org.opendaylight.dlux</groupId>
+ <artifactId>features-dlux</artifactId>
+ <version>${dlux.core.version}</version>
<classifier>features</classifier>
<type>xml</type>
+ <scope>runtime</scope>
</dependency>
- <!-- dependency for opendaylight-karaf-empty for use by testing -->
<dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>opendaylight-karaf-empty</artifactId>
- <type>zip</type>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mappingservice.dsbackend</artifactId>
+ <version>${project.version}</version>
</dependency>
-
<dependency>
- <groupId>org.opendaylight.lispflowmapping</groupId>
- <artifactId>mappingservice.api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.lispflowmapping</groupId>
- <artifactId>mappingservice.clusterdao</artifactId>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mappingservice.implementation</artifactId>
+ <version>${project.version}</version>
</dependency>
-
<dependency>
- <groupId>org.opendaylight.lispflowmapping</groupId>
- <artifactId>mappingservice.config</artifactId>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mappingservice.southbound</artifactId>
+ <version>${project.version}</version>
</dependency>
-
<dependency>
- <groupId>org.opendaylight.lispflowmapping</groupId>
- <artifactId>mappingservice.implementation</artifactId>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mappingservice.api</artifactId>
+ <version>${project.version}</version>
</dependency>
-
<dependency>
- <groupId>org.opendaylight.lispflowmapping</groupId>
- <artifactId>mappingservice.netconf</artifactId>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mappingservice.inmemorydb</artifactId>
+ <version>${project.version}</version>
</dependency>
-
<dependency>
- <groupId>org.opendaylight.lispflowmapping</groupId>
+ <groupId>${project.groupId}</groupId>
<artifactId>mappingservice.neutron</artifactId>
+ <version>${project.version}</version>
</dependency>
-
<dependency>
- <groupId>org.opendaylight.lispflowmapping</groupId>
- <artifactId>mappingservice.northbound</artifactId>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mappingservice.shell</artifactId>
+ <version>${project.version}</version>
</dependency>
-
<dependency>
- <groupId>org.opendaylight.lispflowmapping</groupId>
- <artifactId>mappingservice.southbound</artifactId>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mappingservice.lisp-proto</artifactId>
+ <version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.opendaylight.lispflowmapping</groupId>
- <artifactId>mappingservice.yangmodel</artifactId>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>lispflowmapping-ui-bundle</artifactId>
+ <version>${project.version}</version>
</dependency>
- <!-- error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; -->
<dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
- </dependency>
- <!-- test to validate features.xml -->
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>features-test</artifactId>
- <scope>test</scope>
+ <groupId>org.opendaylight.neutron</groupId>
+ <artifactId>features-neutron</artifactId>
+ <version>${neutron.version}</version>
+ <classifier>features</classifier>
+ <type>xml</type>
</dependency>
</dependencies>
- <build>
- <resources>
- <resource>
- <filtering>true</filtering>
- <directory>src/main/resources</directory>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>filter</id>
- <goals>
- <goal>resources</goal>
- </goals>
- <phase>generate-resources</phase>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemPropertyVariables>
- <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
- <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
- <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
- </systemPropertyVariables>
- <dependenciesToScan>
- <dependency>org.opendaylight.yangtools:features-test</dependency>
- </dependenciesToScan>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-artifacts</id>
- <goals>
- <goal>attach-artifact</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <artifacts>
- <artifact>
- <file>${project.build.directory}/classes/${features.file}</file>
- <type>xml</type>
- <classifier>features</classifier>
- </artifact>
- </artifacts>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
+ <!--
+ Maven Site Configuration
+
+ The following configuration is necessary for maven-site-plugin to
+ correctly identify the correct deployment path for OpenDaylight Maven
+ sites.
+ -->
+ <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
+
+ <distributionManagement>
+ <site>
+ <id>opendaylight-site</id>
+ <url>${nexus.site.url}/${project.artifactId}/</url>
+ </site>
+ </distributionManagement>
+
</project>