blob: f8e789147fc2d3f38ef8e50876ee9b61326182a2 [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>
Jessica Wagantall1240ccf2017-11-20 11:04:57 -08007 <version>1.3.0-SNAPSHOT</version>
Marcus G K Williamseb2d4022017-08-30 19:32:32 -07008 </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>
Dan Timoneydd3f7402017-10-12 16:01:06 -040019
Marcus G K Williamseb2d4022017-08-30 19:32:32 -070020 <dependency>
21 <groupId>org.onap.sdnc.northbound</groupId>
22 <artifactId>vnfapi-provider</artifactId>
23 <version>${project.version}</version>
24 </dependency>
Dan Timoney1b476832017-02-15 15:09:44 -050025
Marcus G K Williamseb2d4022017-08-30 19:32:32 -070026 <dependency>
27 <groupId>org.opendaylight.mdsal</groupId>
28 <artifactId>features-mdsal</artifactId>
29 <version>${odl.mdsal.features.version}</version>
30 <classifier>features</classifier>
31 <type>xml</type>
Dan Timoney1b476832017-02-15 15:09:44 -050032
Marcus G K Williamseb2d4022017-08-30 19:32:32 -070033 <scope>runtime</scope>
34 </dependency>
Dan Timoney1b476832017-02-15 15:09:44 -050035
36
37
Marcus G K Williamseb2d4022017-08-30 19:32:32 -070038 <!-- dependency for opendaylight-karaf-empty for use by testing -->
39 <dependency>
40 <groupId>org.opendaylight.controller</groupId>
41 <artifactId>opendaylight-karaf-empty</artifactId>
42 <version>${odl.karaf.empty.distro.version}</version>
43 <type>zip</type>
44 </dependency>
Dan Timoney1b476832017-02-15 15:09:44 -050045
46
Marcus G K Williamseb2d4022017-08-30 19:32:32 -070047 <dependency>
48 <!-- Required for launching the feature tests-->
49 <groupId>org.opendaylight.odlparent</groupId>
50 <artifactId>features-test</artifactId>
51 <scope>test</scope>
52 <version>${odl.commons.opendaylight.version}</version>
53 </dependency>
Dan Timoney1b476832017-02-15 15:09:44 -050054
Marcus G K Williamseb2d4022017-08-30 19:32:32 -070055 <dependency>
56 <groupId>org.opendaylight.yangtools</groupId>
57 <artifactId>features-yangtools</artifactId>
58 <version>${odl.yangtools.version}</version>
59 <classifier>features</classifier>
60 <type>xml</type>
61 <scope>runtime</scope>
62 </dependency>
63 </dependencies>
Dan Timoney1b476832017-02-15 15:09:44 -050064
Marcus G K Williamseb2d4022017-08-30 19:32:32 -070065 <build>
66 <resources>
67 <resource>
68 <filtering>true</filtering>
69 <directory>src/main/resources</directory>
70 </resource>
71 </resources>
72 <plugins>
73 <plugin>
74 <groupId>org.apache.maven.plugins</groupId>
75 <artifactId>maven-resources-plugin</artifactId>
76 <executions>
77 <execution>
78 <id>filter</id>
79 <goals>
80 <goal>resources</goal>
81 </goals>
82 <phase>generate-resources</phase>
83 </execution>
84 </executions>
85 </plugin>
86 <!--
87 <plugin>
88 launches the feature test, which validates that your karaf feature can
89 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
91 bundles defined correctly.
92 <groupId>org.apache.maven.plugins</groupId>
93 <artifactId>maven-surefire-plugin</artifactId>
94 <version>2.16</version>
95 <configuration>
96 <systemPropertyVariables>
97 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
98 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
99 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
100 </systemPropertyVariables>
101 <dependenciesToScan>
102 <dependency>org.opendaylight.yangtools:features-test</dependency>
103 </dependenciesToScan>
104 </configuration>
105 </plugin>
106 -->
107 <plugin>
108 <groupId>org.codehaus.mojo</groupId>
109 <artifactId>build-helper-maven-plugin</artifactId>
110 <executions>
111 <execution>
112 <id>attach-artifacts</id>
113 <goals>
114 <goal>attach-artifact</goal>
115 </goals>
116 <phase>package</phase>
117 <configuration>
118 <artifacts>
119 <artifact>
120 <file>${project.build.directory}/classes/${features.file}</file>
121 <type>xml</type>
122 <classifier>features</classifier>
123 </artifact>
124 </artifacts>
125 </configuration>
126 </execution>
127 </executions>
128 </plugin>
129 </plugins>
130 </build>
Dan Timoney1b476832017-02-15 15:09:44 -0500131</project>