blob: f9a80f08817f5b64472ddf8588bad439c5f9a727 [file] [log] [blame]
Dan Timoney1b476832017-02-15 15:09:44 -05001<?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 Williamseb2d4022017-08-30 19:32:32 -07003 <modelVersion>4.0.0</modelVersion>
4 <parent>
5 <artifactId>vnfapi</artifactId>
6 <groupId>org.onap.sdnc.northbound</groupId>
7 <version>1.2.0-SNAPSHOT</version>
8 </parent>
9 <artifactId>vnfapi-features</artifactId>
Dan Timoney1b476832017-02-15 15:09:44 -050010
Marcus G K Williamseb2d4022017-08-30 19:32:32 -070011 <packaging>jar</packaging>
Dan Timoney1b476832017-02-15 15:09:44 -050012
Marcus G K Williamseb2d4022017-08-30 19:32:32 -070013 <dependencies>
14 <dependency>
15 <groupId>org.onap.sdnc.northbound</groupId>
16 <artifactId>vnfapi-model</artifactId>
17 <version>${project.version}</version>
18 </dependency>
19 <dependency>
20 <groupId>org.onap.sdnc.northbound</groupId>
21 <artifactId>vnfapi-provider</artifactId>
22 <classifier>config</classifier>
23 <type>xml</type>
24 </dependency>
25 <dependency>
26 <groupId>org.onap.sdnc.northbound</groupId>
27 <artifactId>vnfapi-provider</artifactId>
28 <version>${project.version}</version>
29 </dependency>
Dan Timoney1b476832017-02-15 15:09:44 -050030
Marcus G K Williamseb2d4022017-08-30 19:32:32 -070031 <dependency>
32 <groupId>org.opendaylight.mdsal</groupId>
33 <artifactId>features-mdsal</artifactId>
34 <version>${odl.mdsal.features.version}</version>
35 <classifier>features</classifier>
36 <type>xml</type>
Dan Timoney1b476832017-02-15 15:09:44 -050037
Marcus G K Williamseb2d4022017-08-30 19:32:32 -070038 <scope>runtime</scope>
39 </dependency>
Dan Timoney1b476832017-02-15 15:09:44 -050040
41
42
Marcus G K Williamseb2d4022017-08-30 19:32:32 -070043 <!-- dependency for opendaylight-karaf-empty for use by testing -->
44 <dependency>
45 <groupId>org.opendaylight.controller</groupId>
46 <artifactId>opendaylight-karaf-empty</artifactId>
47 <version>${odl.karaf.empty.distro.version}</version>
48 <type>zip</type>
49 </dependency>
Dan Timoney1b476832017-02-15 15:09:44 -050050
51
Marcus G K Williamseb2d4022017-08-30 19:32:32 -070052 <dependency>
53 <!-- Required for launching the feature tests-->
54 <groupId>org.opendaylight.odlparent</groupId>
55 <artifactId>features-test</artifactId>
56 <scope>test</scope>
57 <version>${odl.commons.opendaylight.version}</version>
58 </dependency>
Dan Timoney1b476832017-02-15 15:09:44 -050059
Marcus G K Williamseb2d4022017-08-30 19:32:32 -070060 <dependency>
61 <groupId>org.opendaylight.yangtools</groupId>
62 <artifactId>features-yangtools</artifactId>
63 <version>${odl.yangtools.version}</version>
64 <classifier>features</classifier>
65 <type>xml</type>
66 <scope>runtime</scope>
67 </dependency>
68 </dependencies>
Dan Timoney1b476832017-02-15 15:09:44 -050069
Marcus G K Williamseb2d4022017-08-30 19:32:32 -070070 <build>
71 <resources>
72 <resource>
73 <filtering>true</filtering>
74 <directory>src/main/resources</directory>
75 </resource>
76 </resources>
77 <plugins>
78 <plugin>
79 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-resources-plugin</artifactId>
81 <executions>
82 <execution>
83 <id>filter</id>
84 <goals>
85 <goal>resources</goal>
86 </goals>
87 <phase>generate-resources</phase>
88 </execution>
89 </executions>
90 </plugin>
91 <!--
92 <plugin>
93 launches the feature test, which validates that your karaf feature can
94 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
96 bundles defined correctly.
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-surefire-plugin</artifactId>
99 <version>2.16</version>
100 <configuration>
101 <systemPropertyVariables>
102 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
103 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
104 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
105 </systemPropertyVariables>
106 <dependenciesToScan>
107 <dependency>org.opendaylight.yangtools:features-test</dependency>
108 </dependenciesToScan>
109 </configuration>
110 </plugin>
111 -->
112 <plugin>
113 <groupId>org.codehaus.mojo</groupId>
114 <artifactId>build-helper-maven-plugin</artifactId>
115 <executions>
116 <execution>
117 <id>attach-artifacts</id>
118 <goals>
119 <goal>attach-artifact</goal>
120 </goals>
121 <phase>package</phase>
122 <configuration>
123 <artifacts>
124 <artifact>
125 <file>${project.build.directory}/classes/${features.file}</file>
126 <type>xml</type>
127 <classifier>features</classifier>
128 </artifact>
129 </artifacts>
130 </configuration>
131 </execution>
132 </executions>
133 </plugin>
134 </plugins>
135 </build>
Dan Timoney1b476832017-02-15 15:09:44 -0500136</project>