blob: 9259d6cd16566d3e1dd46ea028544d8b5f069601 [file] [log] [blame]
Dan Timoney5363b272017-07-18 20:23:07 -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">
Marcus G K Williams806052b2017-08-02 15:09:24 -07003 <modelVersion>4.0.0</modelVersion>
4 <parent>
5 <artifactId>aai-service</artifactId>
6 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
7 <version>0.0.1-SNAPSHOT</version>
8 </parent>
9 <artifactId>aai-service-features</artifactId>
10 <name>AAI Interface Service - Features</name>
Dan Timoney5363b272017-07-18 20:23:07 -040011
Marcus G K Williams806052b2017-08-02 15:09:24 -070012 <packaging>jar</packaging>
Dan Timoney5363b272017-07-18 20:23:07 -040013
Marcus G K Williams806052b2017-08-02 15:09:24 -070014 <dependencies>
Dan Timoney5363b272017-07-18 20:23:07 -040015
16
Marcus G K Williams806052b2017-08-02 15:09:24 -070017 <dependency>
18 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
19 <artifactId>aai-service-provider</artifactId>
20 <version>${project.version}</version>
21 </dependency>
Dan Timoney5363b272017-07-18 20:23:07 -040022
Marcus G K Williams806052b2017-08-02 15:09:24 -070023 <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>
Dan Timoney5363b272017-07-18 20:23:07 -040029
Marcus G K Williams806052b2017-08-02 15:09:24 -070030 <scope>runtime</scope>
31 </dependency>
Dan Timoney5363b272017-07-18 20:23:07 -040032
33
Marcus G K Williams806052b2017-08-02 15:09:24 -070034 <!-- 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>
Dan Timoney5363b272017-07-18 20:23:07 -040041
42
Marcus G K Williams806052b2017-08-02 15:09:24 -070043 <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>
Dan Timoney5363b272017-07-18 20:23:07 -040050
Marcus G K Williams806052b2017-08-02 15:09:24 -070051 <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>
Dan Timoney5363b272017-07-18 20:23:07 -040059
Marcus G K Williams806052b2017-08-02 15:09:24 -070060 <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>
Dan Timoney5363b272017-07-18 20:23:07 -040088
Marcus G K Williams806052b2017-08-02 15:09:24 -070089 <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>
Dan Timoney5363b272017-07-18 20:23:07 -0400115
Marcus G K Williams806052b2017-08-02 15:09:24 -0700116 <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>
Dan Timoney5363b272017-07-18 20:23:07 -0400155</project>