blob: 2448576e12429607ffcaeeb95d52bf8b8b601e5f [file] [log] [blame]
Dan Timoney5363b272017-07-18 20:23:07 -04001<?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">
Marcus G K Williams806052b2017-08-02 15:09:24 -07003 <modelVersion>4.0.0</modelVersion>
4 <parent>
5 <artifactId>resource-assignment</artifactId>
6 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
Dan Timoney4b4fa3e2017-08-14 14:54:46 -04007 <version>0.1.0-SNAPSHOT</version>
Marcus G K Williams806052b2017-08-02 15:09:24 -07008 </parent>
9 <artifactId>resource-assignment-features</artifactId>
10 <name>Resource Assignment Adaptor - Features</name>
Dan Timoney5363b272017-07-18 20:23:07 -040011
Marcus G K Williams806052b2017-08-02 15:09:24 -070012 <packaging>jar</packaging>
Dan Timoney5363b272017-07-18 20:23:07 -040013
Marcus G K Williams806052b2017-08-02 15:09:24 -070014 <dependencies>
Dan Timoney5363b272017-07-18 20:23:07 -040015
16
Marcus G K Williams806052b2017-08-02 15:09:24 -070017 <dependency>
18 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
19 <artifactId>resource-assignment-provider</artifactId>
20 <version>${project.version}</version>
21 </dependency>
Dan Timoney5363b272017-07-18 20:23:07 -040022
Marcus G K Williams806052b2017-08-02 15:09:24 -070023 <dependency>
24 <groupId>commons-lang</groupId>
25 <artifactId>commons-lang</artifactId>
26 <version>2.6</version>
27 <scope>compile</scope>
28 </dependency>
Dan Timoney5363b272017-07-18 20:23:07 -040029
Marcus G K Williams806052b2017-08-02 15:09:24 -070030 <dependency>
31 <groupId>org.opendaylight.mdsal</groupId>
32 <artifactId>features-mdsal</artifactId>
33 <version>${odl.mdsal.features.version}</version>
34 <classifier>features</classifier>
35 <type>xml</type>
Dan Timoney5363b272017-07-18 20:23:07 -040036
Marcus G K Williams806052b2017-08-02 15:09:24 -070037 <scope>runtime</scope>
38 </dependency>
Dan Timoney5363b272017-07-18 20:23:07 -040039
40
Marcus G K Williams806052b2017-08-02 15:09:24 -070041 <!-- dependency for opendaylight-karaf-empty for use by testing -->
42 <dependency>
43 <groupId>org.opendaylight.odlparent</groupId>
44 <artifactId>opendaylight-karaf-empty</artifactId>
45 <version>${odl.karaf.empty.distro.version}</version>
46 <type>zip</type>
47 </dependency>
Dan Timoney5363b272017-07-18 20:23:07 -040048
Marcus G K Williams806052b2017-08-02 15:09:24 -070049 <dependency>
50 <!-- Required for launching the feature tests -->
51 <groupId>org.opendaylight.odlparent</groupId>
52 <artifactId>features-test</artifactId>
53 <version>${odl.commons.opendaylight.version}</version>
54 <scope>test</scope>
55 </dependency>
Dan Timoney5363b272017-07-18 20:23:07 -040056
Marcus G K Williams806052b2017-08-02 15:09:24 -070057 <dependency>
58 <groupId>org.opendaylight.yangtools</groupId>
59 <artifactId>features-yangtools</artifactId>
60 <version>${odl.yangtools.version}</version>
61 <classifier>features</classifier>
62 <type>xml</type>
63 <scope>runtime</scope>
64 </dependency>
65 </dependencies>
Dan Timoney5363b272017-07-18 20:23:07 -040066
Marcus G K Williams806052b2017-08-02 15:09:24 -070067 <build>
68 <resources>
69 <resource>
70 <filtering>true</filtering>
71 <directory>src/main/resources</directory>
72 </resource>
73 </resources>
74 <plugins>
75 <plugin>
76 <groupId>org.apache.maven.plugins</groupId>
77 <artifactId>maven-resources-plugin</artifactId>
78 <executions>
79 <execution>
80 <id>filter</id>
81 <goals>
82 <goal>resources</goal>
83 </goals>
84 <phase>generate-resources</phase>
85 </execution>
86 </executions>
87 </plugin>
88 <!-- launches the feature test, which validates that your karaf feature
89 can be installed inside of a karaf container. It doesn't validate that your
90 functionality works correctly, just that you have all of the dependent bundles
91 defined correctly.
92 <plugin>
Dan Timoney5363b272017-07-18 20:23:07 -040093
Marcus G K Williams806052b2017-08-02 15:09:24 -070094 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-surefire-plugin</artifactId>
96 <version>2.16</version>
97 <configuration>
98 <systemPropertyVariables>
99 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
100 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
101 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
102 </systemPropertyVariables>
103 <dependenciesToScan>
104 <dependency>org.opendaylight.yangtools:features-test</dependency>
105 </dependenciesToScan>
106 </configuration>
107 </plugin>
108 -->
109 <plugin>
110 <groupId>org.codehaus.mojo</groupId>
111 <artifactId>build-helper-maven-plugin</artifactId>
112 <executions>
113 <execution>
114 <id>attach-artifacts</id>
115 <goals>
116 <goal>attach-artifact</goal>
117 </goals>
118 <phase>package</phase>
119 <configuration>
120 <artifacts>
121 <artifact>
122 <file>${project.build.directory}/classes/${features.file}</file>
123 <type>xml</type>
124 <classifier>features</classifier>
125 </artifact>
126 </artifacts>
127 </configuration>
128 </execution>
129 </executions>
130 </plugin>
131 </plugins>
132 </build>
Dan Timoney5363b272017-07-18 20:23:07 -0400133</project>