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