[RENUMBER] Roll to next snapshot
[sdnc/core.git] / filters / 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" 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>filters</artifactId>
6                 <groupId>org.openecomp.sdnc.core</groupId>
7                 <version>1.1.1-SNAPSHOT</version>
8         </parent>
9         <artifactId>filters-features</artifactId>
10         <name>Filters - Features</name>
11
12         <packaging>jar</packaging>
13
14         <dependencies>
15
16
17                 <dependency>
18                         <groupId>org.openecomp.sdnc.core</groupId>
19                         <artifactId>filters-provider</artifactId>
20                         <version>${project.version}</version>
21                 </dependency>
22 <!--
23                 <dependency>
24                         <groupId>org.opendaylight.mdsal</groupId>
25                         <artifactId>features-mdsal</artifactId>
26                         <version>${odl.mdsal.version}</version>
27                         <classifier>features</classifier>
28                         <type>xml</type>
29
30                         <scope>runtime</scope>
31                 </dependency>
32 -->
33         </dependencies>
34
35         <build>
36                 <resources>
37                         <resource>
38                                 <filtering>true</filtering>
39                                 <directory>src/main/resources</directory>
40                         </resource>
41                 </resources>
42                 <plugins>
43                         <plugin>
44                                 <groupId>org.apache.maven.plugins</groupId>
45                                 <artifactId>maven-resources-plugin</artifactId>
46                                 <executions>
47                                         <execution>
48                                                 <id>filter</id>
49                                                 <goals>
50                                                         <goal>resources</goal>
51                                                 </goals>
52                                                 <phase>generate-resources</phase>
53                                         </execution>
54                                 </executions>
55                         </plugin>
56                                         <!-- launches the feature test, which validates that your karaf feature
57                                         can be installed inside of a karaf container. It doesn't validate that your
58                                         functionality works correctly, just that you have all of the dependent bundles
59                                         defined correctly.
60                         <plugin>
61
62                                 <groupId>org.apache.maven.plugins</groupId>
63                                 <artifactId>maven-surefire-plugin</artifactId>
64                                 <version>2.16</version>
65                                 <configuration>
66                                         <systemPropertyVariables>
67                                                 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
68                                                 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
69                                                 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
70                                         </systemPropertyVariables>
71                                         <dependenciesToScan>
72                                                 <dependency>org.opendaylight.yangtools:features-test</dependency>
73                                         </dependenciesToScan>
74                                 </configuration>
75                         </plugin>
76                         -->
77                         <plugin>
78                                 <groupId>org.codehaus.mojo</groupId>
79                                 <artifactId>build-helper-maven-plugin</artifactId>
80                                 <executions>
81                                         <execution>
82                                                 <id>attach-artifacts</id>
83                                                 <goals>
84                                                         <goal>attach-artifact</goal>
85                                                 </goals>
86                                                 <phase>package</phase>
87                                                 <configuration>
88                                                         <artifacts>
89                                                                 <artifact>
90                                                                         <file>${project.build.directory}/classes/${features.file}</file>
91                                                                         <type>xml</type>
92                                                                         <classifier>features</classifier>
93                                                                 </artifact>
94                                                         </artifacts>
95                                                 </configuration>
96                                         </execution>
97                                 </executions>
98                         </plugin>
99                 </plugins>
100         </build>
101 </project>