[CCSDK-6] Populate seed code
[ccsdk/sli/adaptors.git] / aai-service / 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>aai-service</artifactId>
6                 <groupId>org.openecomp.sdnc.adaptors</groupId>
7                 <version>0.0.1-SNAPSHOT</version>
8         </parent>
9         <artifactId>aai-service-features</artifactId>
10         <name>AAI Interface Service - Features</name>
11
12         <packaging>jar</packaging>
13
14         <dependencies>
15
16
17                 <dependency>
18                         <groupId>org.openecomp.sdnc.adaptors</groupId>
19                         <artifactId>aai-service-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.features.version}</version>
27                         <classifier>features</classifier>
28                         <type>xml</type>
29
30                         <scope>runtime</scope>
31                 </dependency>
32
33
34                 <!-- dependency for opendaylight-karaf-empty for use by testing -->
35                 <dependency>
36                         <groupId>org.opendaylight.odlparent</groupId>
37                         <artifactId>opendaylight-karaf-empty</artifactId>
38                         <version>${odl.karaf.empty.distro.version}</version>
39                         <type>zip</type>
40                 </dependency>
41
42
43                 <dependency>
44                         <!-- Required for launching the feature tests -->
45                         <groupId>org.opendaylight.odlparent</groupId>
46                         <artifactId>features-test</artifactId>
47                         <version>${odl.commons.opendaylight.version}</version>
48                         <scope>test</scope>
49                 </dependency>
50
51                 <dependency>
52                         <groupId>org.opendaylight.yangtools</groupId>
53                         <artifactId>features-yangtools</artifactId>
54                         <version>${odl.yangtools.version}</version>
55                         <classifier>features</classifier>
56                         <type>xml</type>
57                         <scope>runtime</scope>
58                 </dependency>
59
60                 <dependency>
61                         <groupId>com.sun.jersey</groupId>
62                         <artifactId>jersey-client</artifactId>
63                         <version>1.17</version>
64                 </dependency>
65                 <dependency>
66                         <groupId>com.sun.jersey</groupId>
67                         <artifactId>jersey-core</artifactId>
68                         <version>1.17</version>
69                 </dependency>
70                 <dependency>
71                     <groupId>commons-lang</groupId>
72                     <artifactId>commons-lang</artifactId>
73                     <version>2.6</version>
74                 </dependency>
75                 <dependency>
76                         <groupId>com.fasterxml.jackson.core</groupId>
77                         <artifactId>jackson-databind</artifactId>
78                 </dependency>
79                 <dependency>
80                         <groupId>com.fasterxml.jackson.core</groupId>
81                         <artifactId>jackson-annotations</artifactId>
82                 </dependency>
83                 <dependency>
84                         <groupId>com.fasterxml.jackson.core</groupId>
85                         <artifactId>jackson-core</artifactId>
86                 </dependency>
87         </dependencies>
88
89         <build>
90                 <resources>
91                         <resource>
92                                 <filtering>true</filtering>
93                                 <directory>src/main/resources</directory>
94                         </resource>
95                 </resources>
96                 <plugins>
97                         <plugin>
98                                 <groupId>org.apache.maven.plugins</groupId>
99                                 <artifactId>maven-resources-plugin</artifactId>
100                                 <executions>
101                                         <execution>
102                                                 <id>filter</id>
103                                                 <goals>
104                                                         <goal>resources</goal>
105                                                 </goals>
106                                                 <phase>generate-resources</phase>
107                                         </execution>
108                                 </executions>
109                         </plugin>
110                                         <!-- launches the feature test, which validates that your karaf feature
111                                         can be installed inside of a karaf container. It doesn't validate that your
112                                         functionality works correctly, just that you have all of the dependent bundles
113                                         defined correctly.
114                         <plugin>
115
116                                 <groupId>org.apache.maven.plugins</groupId>
117                                 <artifactId>maven-surefire-plugin</artifactId>
118                                 <version>2.16</version>
119                                 <configuration>
120                                         <systemPropertyVariables>
121                                                 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
122                                                 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
123                                                 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
124                                         </systemPropertyVariables>
125                                         <dependenciesToScan>
126                                                 <dependency>org.opendaylight.yangtools:features-test</dependency>
127                                         </dependenciesToScan>
128                                 </configuration>
129                         </plugin>
130                         -->
131                         <plugin>
132                                 <groupId>org.codehaus.mojo</groupId>
133                                 <artifactId>build-helper-maven-plugin</artifactId>
134                                 <executions>
135                                         <execution>
136                                                 <id>attach-artifacts</id>
137                                                 <goals>
138                                                         <goal>attach-artifact</goal>
139                                                 </goals>
140                                                 <phase>package</phase>
141                                                 <configuration>
142                                                         <artifacts>
143                                                                 <artifact>
144                                                                         <file>${project.build.directory}/classes/${features.file}</file>
145                                                                         <type>xml</type>
146                                                                         <classifier>features</classifier>
147                                                                 </artifact>
148                                                         </artifacts>
149                                                 </configuration>
150                                         </execution>
151                                 </executions>
152                         </plugin>
153                 </plugins>
154         </build>
155 </project>