blob: 2e0e46cb914f1b38acf4cff5b8c29f926b66b47f [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">
3 <modelVersion>4.0.0</modelVersion>
4 <parent>
5 <artifactId>asdcApi</artifactId>
6 <groupId>org.openecomp.sdnc.northbound</groupId>
Dan Timoney518824f2017-04-25 10:44:10 -04007 <version>1.1.1-SNAPSHOT</version>
Dan Timoney1b476832017-02-15 15:09:44 -05008 </parent>
9 <artifactId>asdcApi-features</artifactId>
10
11 <packaging>jar</packaging>
12
13 <dependencies>
14 <dependency>
15 <groupId>org.openecomp.sdnc.northbound</groupId>
16 <artifactId>asdcApi-model</artifactId>
17 <version>${project.version}</version>
18 </dependency>
19 <dependency>
20 <groupId>org.openecomp.sdnc.northbound</groupId>
21 <artifactId>asdcApi-provider</artifactId>
22 <version>${project.version}</version>
23 <classifier>config</classifier>
24 <type>xml</type>
25 </dependency>
26 <dependency>
27 <groupId>org.openecomp.sdnc.northbound</groupId>
28 <artifactId>asdcApi-provider</artifactId>
29 <version>${project.version}</version>
30 </dependency>
31
32 <dependency>
33 <groupId>org.opendaylight.mdsal</groupId>
34 <artifactId>features-mdsal</artifactId>
35 <version>${odl.mdsal.features.version}</version>
36 <classifier>features</classifier>
37 <type>xml</type>
38
39
40 <scope>runtime</scope>
41 </dependency>
42
43
44
45 <!-- dependency for opendaylight-karaf-empty for use by testing -->
46 <dependency>
47 <groupId>org.opendaylight.controller</groupId>
48 <artifactId>opendaylight-karaf-empty</artifactId>
49 <type>zip</type>
50 </dependency>
51
52
53 <dependency>
54 <!-- Required for launching the feature tests-->
55 <groupId>org.opendaylight.odlparent</groupId>
56 <artifactId>features-test</artifactId>
57 <scope>test</scope>
58 <version>${odl.commons.opendaylight.version}</version>
59 </dependency>
60
61 <dependency>
62 <groupId>org.opendaylight.yangtools</groupId>
63 <artifactId>features-yangtools</artifactId>
64 <version>${odl.yangtools.version}</version>
65 <classifier>features</classifier>
66 <type>xml</type>
67 <scope>runtime</scope>
68 </dependency>
69 </dependencies>
70
71 <build>
72 <resources>
73 <resource>
74 <filtering>true</filtering>
75 <directory>src/main/resources</directory>
76 </resource>
77 </resources>
78 <plugins>
79 <plugin>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-resources-plugin</artifactId>
82 <executions>
83 <execution>
84 <id>filter</id>
85 <goals>
86 <goal>resources</goal>
87 </goals>
88 <phase>generate-resources</phase>
89 </execution>
90 </executions>
91 </plugin>
92 <!-- launches the feature test, which validates that your karaf feature can
93 be installed inside of a karaf container. It doesn't validate that your
94 functionality works correctly, just that you have all of the dependent
95 bundles defined correctly.
96 <plugin>
97
98 <groupId>org.apache.maven.plugins</groupId>
99 <artifactId>maven-surefire-plugin</artifactId>
100 <version>2.16</version>
101 <configuration>
102 <systemPropertyVariables>
103 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
104 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
105 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
106 </systemPropertyVariables>
107 <dependenciesToScan>
108 <dependency>org.opendaylight.yangtools:features-test</dependency>
109 </dependenciesToScan>
110 </configuration>
111 </plugin>
112 -->
113 <plugin>
114 <groupId>org.codehaus.mojo</groupId>
115 <artifactId>build-helper-maven-plugin</artifactId>
116 <executions>
117 <execution>
118 <id>attach-artifacts</id>
119 <goals>
120 <goal>attach-artifact</goal>
121 </goals>
122 <phase>package</phase>
123 <configuration>
124 <artifacts>
125 <artifact>
126 <file>${project.build.directory}/classes/${features.file}</file>
127 <type>xml</type>
128 <classifier>features</classifier>
129 </artifact>
130 </artifacts>
131 </configuration>
132 </execution>
133 </executions>
134 </plugin>
135 </plugins>
136 </build>
137</project>