1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <modelVersion>4.0.0</modelVersion>
5 <artifactId>utils</artifactId>
6 <groupId>org.onap.ccsdk.sli.core</groupId>
7 <version>0.1.2-SNAPSHOT</version>
9 <artifactId>utils-features</artifactId>
10 <name>DBLIB Adaptor - Features</name>
12 <packaging>jar</packaging>
18 <groupId>org.onap.ccsdk.sli.core</groupId>
19 <artifactId>utils-provider</artifactId>
20 <version>${project.version}</version>
24 <groupId>commons-lang</groupId>
25 <artifactId>commons-lang</artifactId>
26 <version>${commons.lang.version}</version>
27 <scope>compile</scope>
31 <groupId>org.opendaylight.mdsal</groupId>
32 <artifactId>features-mdsal</artifactId>
33 <version>${odl.mdsal.features.version}</version>
34 <classifier>features</classifier>
37 <scope>runtime</scope>
41 <groupId>org.apache.tomcat</groupId>
42 <artifactId>tomcat-jdbc</artifactId>
43 <version>${tomcat-jdbc.version}</version>
46 <!-- dependency for opendaylight-karaf-empty for use by testing -->
48 <groupId>org.opendaylight.odlparent</groupId>
49 <artifactId>opendaylight-karaf-empty</artifactId>
50 <version>${odl.karaf.empty.distro.version}</version>
55 <!-- Required for launching the feature tests -->
56 <groupId>org.opendaylight.odlparent</groupId>
57 <artifactId>features-test</artifactId>
58 <version>${odl.commons.opendaylight.version}</version>
63 <groupId>org.opendaylight.yangtools</groupId>
64 <artifactId>features-yangtools</artifactId>
65 <version>${odl.yangtools.version}</version>
66 <classifier>features</classifier>
68 <scope>runtime</scope>
75 <filtering>true</filtering>
76 <directory>src/main/resources</directory>
81 <groupId>org.apache.maven.plugins</groupId>
82 <artifactId>maven-resources-plugin</artifactId>
87 <goal>resources</goal>
89 <phase>generate-resources</phase>
93 <!-- launches the feature test, which validates that your karaf feature
94 can be installed inside of a karaf container. It doesn't validate that your
95 functionality works correctly, just that you have all of the dependent bundles
99 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-surefire-plugin</artifactId>
101 <version>2.16</version>
103 <systemPropertyVariables>
104 <karaf.distro.groupId>org.opendaylight.odlparent</karaf.distro.groupId>
105 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
106 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
107 </systemPropertyVariables>
109 <dependency>org.opendaylight.yangtools:features-test</dependency>
110 </dependenciesToScan>
115 <groupId>org.codehaus.mojo</groupId>
116 <artifactId>build-helper-maven-plugin</artifactId>
119 <id>attach-artifacts</id>
121 <goal>attach-artifact</goal>
123 <phase>package</phase>
127 <file>${project.build.directory}/classes/${features.file}</file>
129 <classifier>features</classifier>