Roll to version 1.2.1-SNAPSHOT
[sdnc/northbound.git] / generic-resource-api / features / pom.xml
1 <?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"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5
6     <parent>
7         <groupId>org.onap.sdnc.northbound</groupId>
8         <artifactId>generic-resource-api</artifactId>
9         <version>1.2.1-SNAPSHOT</version>
10     </parent>
11
12     <artifactId>generic-resource-api-features</artifactId>
13     <packaging>jar</packaging>
14
15     <dependencies>
16         <dependency>
17             <groupId>org.onap.sdnc.northbound</groupId>
18             <artifactId>generic-resource-api-model</artifactId>
19         </dependency>
20         <dependency>
21             <groupId>org.onap.sdnc.northbound</groupId>
22             <artifactId>generic-resource-api-provider</artifactId>
23         </dependency>
24
25         <dependency>
26             <groupId>org.opendaylight.mdsal</groupId>
27             <artifactId>features-mdsal</artifactId>
28             <version>${odl.mdsal.features.version}</version>
29             <type>xml</type>
30             <classifier>features</classifier>
31             <scope>runtime</scope>
32         </dependency>
33
34         <dependency><!-- Required for launching the feature tests -->
35             <groupId>org.opendaylight.odlparent</groupId>
36             <artifactId>features-test</artifactId>
37             <version>${odl.commons.opendaylight.version}</version>
38             <scope>test</scope>
39         </dependency>
40
41         <dependency>
42             <groupId>org.opendaylight.yangtools</groupId>
43             <artifactId>features-yangtools</artifactId>
44             <version>${odl.yangtools.version}</version>
45             <type>xml</type>
46             <classifier>features</classifier>
47             <scope>runtime</scope>
48         </dependency>
49     </dependencies>
50
51     <build>
52         <resources>
53             <resource>
54                 <filtering>true</filtering>
55                 <directory>src/main/resources</directory>
56             </resource>
57         </resources>
58         <plugins>
59             <plugin>
60                 <groupId>org.apache.maven.plugins</groupId>
61                 <artifactId>maven-resources-plugin</artifactId>
62                 <executions>
63                     <execution>
64                         <id>filter</id>
65                         <goals>
66                             <goal>resources</goal>
67                         </goals>
68                         <phase>generate-resources</phase>
69                     </execution>
70                 </executions>
71             </plugin>
72             <plugin>
73                 <groupId>org.codehaus.mojo</groupId>
74                 <artifactId>build-helper-maven-plugin</artifactId>
75                 <executions>
76                     <execution>
77                         <id>attach-artifacts</id>
78                         <goals>
79                             <goal>attach-artifact</goal>
80                         </goals>
81                         <phase>package</phase>
82                         <configuration>
83                             <artifacts>
84                                 <artifact>
85                                     <file>${project.build.directory}/classes/${features.file}</file>
86                                     <type>xml</type>
87                                     <classifier>features</classifier>
88                                 </artifact>
89                             </artifacts>
90                         </configuration>
91                     </execution>
92                 </executions>
93             </plugin>
94         </plugins>
95     </build>
96 </project>