[RENUMBER] Roll to next snapshot
[sdnc/core.git] / sliapi / 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>sliapi</artifactId>
6                 <groupId>org.openecomp.sdnc.core</groupId>
7                 <version>1.1.1-SNAPSHOT</version>
8         </parent>
9         <artifactId>sliapi-features</artifactId>
10
11         <packaging>jar</packaging>
12
13         <dependencies>
14                 <dependency>
15                         <groupId>org.openecomp.sdnc.core</groupId>
16                         <artifactId>sliapi-model</artifactId>
17                 </dependency>
18                 <dependency>
19                         <groupId>org.openecomp.sdnc.core</groupId>
20                         <artifactId>sliapi-provider</artifactId>
21                         <classifier>config</classifier>
22                         <type>xml</type>
23                 </dependency>
24                 <dependency>
25                         <groupId>org.openecomp.sdnc.core</groupId>
26                         <artifactId>sliapi-provider</artifactId>
27                 </dependency>
28
29                 <dependency>
30                         <groupId>org.opendaylight.mdsal</groupId>
31                         <artifactId>features-mdsal</artifactId>
32                         <version>${odl.mdsal.features.version}</version>
33                         <classifier>features</classifier>
34                         <type>xml</type>
35
36                         <scope>runtime</scope>
37                 </dependency>
38
39
40
41                 <!-- dependency for opendaylight-karaf-empty for use by testing -->
42                 <dependency>
43                         <groupId>org.opendaylight.controller</groupId>
44                         <artifactId>opendaylight-karaf-empty</artifactId>
45                         <type>zip</type>
46                 </dependency>
47
48
49                 <dependency>
50                     <!-- Required for launching the feature tests-->
51                         <groupId>org.opendaylight.odlparent</groupId>
52                         <artifactId>features-test</artifactId>
53                         <scope>test</scope>
54                         <version>${odl.commons.opendaylight.version}</version>
55                 </dependency>
56
57                 <dependency>
58                         <groupId>org.opendaylight.yangtools</groupId>
59                         <artifactId>features-yangtools</artifactId>
60                         <version>${odl.yangtools.version}</version>
61                         <classifier>features</classifier>
62                         <type>xml</type>
63                         <scope>runtime</scope>
64                 </dependency>
65         </dependencies>
66
67         <build>
68                 <resources>
69                         <resource>
70                                 <filtering>true</filtering>
71                                 <directory>src/main/resources</directory>
72                         </resource>
73                 </resources>
74                 <plugins>
75                         <plugin>
76                                 <groupId>org.apache.maven.plugins</groupId>
77                                 <artifactId>maven-resources-plugin</artifactId>
78                                 <executions>
79                                         <execution>
80                                                 <id>filter</id>
81                                                 <goals>
82                                                         <goal>resources</goal>
83                                                 </goals>
84                                                 <phase>generate-resources</phase>
85                                         </execution>
86                                 </executions>
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                         <plugin>
93
94                                 <groupId>org.apache.maven.plugins</groupId>
95                                 <artifactId>maven-surefire-plugin</artifactId>
96                                 <version>2.16</version>
97                                 <configuration>
98                                         <systemPropertyVariables>
99                                                 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
100                                                 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
101                                                 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
102                                         </systemPropertyVariables>
103                                         <dependenciesToScan>
104                                                 <dependency>org.opendaylight.yangtools:features-test</dependency>
105                                         </dependenciesToScan>
106                                 </configuration>
107                         </plugin>
108                         -->
109                         <plugin>
110                                 <groupId>org.codehaus.mojo</groupId>
111                                 <artifactId>build-helper-maven-plugin</artifactId>
112                                 <executions>
113                                         <execution>
114                                                 <id>attach-artifacts</id>
115                                                 <goals>
116                                                         <goal>attach-artifact</goal>
117                                                 </goals>
118                                                 <phase>package</phase>
119                                                 <configuration>
120                                                         <artifacts>
121                                                                 <artifact>
122                                                                         <file>${project.build.directory}/classes/${features.file}</file>
123                                                                         <type>xml</type>
124                                                                         <classifier>features</classifier>
125                                                                 </artifact>
126                                                         </artifacts>
127                                                 </configuration>
128                                         </execution>
129                                 </executions>
130                         </plugin>
131                 </plugins>
132         </build>
133 </project>