blob: ba61b5e4ffa021d3fef8dcffbbfd427b7a7bec2c [file] [log] [blame]
Patrick Bradyc7d00752017-06-01 10:45:37 -07001<?xml version="1.0" encoding="UTF-8"?>
beili.zhou9adb43f2017-08-11 22:16:05 -04002<project
3 xmlns="http://maven.apache.org/POM/4.0.0"
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Patrick Bradyc7d00752017-06-01 10:45:37 -07005 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
6 <modelVersion>4.0.0</modelVersion>
7 <parent>
8 <artifactId>appc-oam</artifactId>
9 <groupId>org.openecomp.appc</groupId>
10 <version>1.1.0-SNAPSHOT</version>
11 </parent>
12 <artifactId>appc-oam-bundle</artifactId>
13 <packaging>bundle</packaging>
14 <build>
15 <plugins>
16 <plugin>
17 <groupId>org.apache.felix</groupId>
18 <artifactId>maven-bundle-plugin</artifactId>
19 <extensions>true</extensions>
20 <configuration>
21 <instructions>
22 <Export-Package>org.opendaylight.controller.config.yang.config.sample_oam.impl</Export-Package>
23 <Export-Package>org.openecomp.appc.oam</Export-Package>
24 <Import-Package>
25 org.openecomp.appc.i18n,
26 org.openecomp.appc.logging,
27 org.openecomp.appc.util,
28 com.att.eelf.configuration,
29 com.att.eelf.i18n,
30 org.openecomp.appc.adapter.messaging.*,
31 org.openecomp.appc.adapter.message.*,
32 org.openecomp.appc.adapter.factory.*,
Patrick Bradyc7d00752017-06-01 10:45:37 -070033 *;resolution:=optional
34 </Import-Package>
35 <Embed-Dependency>
36 appc-common;scope=compile|runtime;inline=false
37 </Embed-Dependency>
38 <Embed-Transitive>true</Embed-Transitive>
39 </instructions>
40 </configuration>
41 </plugin>
42 <plugin>
43 <groupId>org.opendaylight.yangtools</groupId>
44 <artifactId>yang-maven-plugin</artifactId>
45 <executions>
46 <execution>
47 <id>config</id>
48 <goals>
49 <goal>generate-sources</goal>
50 </goals>
51 <configuration>
52 <codeGenerators>
53 <generator>
54 <codeGeneratorClass>
55 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
56 </codeGeneratorClass>
57 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
58 <additionalConfiguration>
59 <namespaceToPackage1>
60 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
61 </namespaceToPackage1>
62 </additionalConfiguration>
63 </generator>
64 <generator>
65 <codeGeneratorClass>
Patrick Brady76706002017-09-04 21:37:25 -070066 org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
Patrick Bradyc7d00752017-06-01 10:45:37 -070067 </codeGeneratorClass>
68 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
69 </generator>
70 </codeGenerators>
71 <inspectDependencies>true</inspectDependencies>
72 </configuration>
73 </execution>
74 </executions>
75 <dependencies>
76 <dependency>
77 <groupId>org.opendaylight.mdsal</groupId>
78 <artifactId>maven-sal-api-gen-plugin</artifactId>
79 <version>${odl.sal.api.gen.plugin.version}</version>
80 <type>jar</type>
81 </dependency>
82 <dependency>
83 <groupId>org.opendaylight.controller</groupId>
84 <artifactId>yang-jmx-generator-plugin</artifactId>
85 <version>${odl.yang.jmx.generator.version}</version>
86 </dependency>
87 </dependencies>
88 </plugin>
89 <plugin>
90 <groupId>org.codehaus.mojo</groupId>
91 <artifactId>build-helper-maven-plugin</artifactId>
92 <executions>
93 <execution>
94 <id>attach-artifacts</id>
95 <goals>
96 <goal>attach-artifact</goal>
97 </goals>
98 <phase>package</phase>
99 <configuration>
100 <artifacts>
101 <artifact>
102 <file>${project.build.directory}/classes/initial/appc-oam.xml</file>
103 <type>xml</type>
104 <classifier>config</classifier>
105 </artifact>
106 </artifacts>
107 </configuration>
108 </execution>
109 </executions>
110 </plugin>
111 </plugins>
112 <pluginManagement>
113 <plugins>
114 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
115 <plugin>
116 <groupId>org.eclipse.m2e</groupId>
117 <artifactId>lifecycle-mapping</artifactId>
118 <version>1.0.0</version>
119 <configuration>
120 <lifecycleMappingMetadata>
121 <pluginExecutions>
122 <pluginExecution>
123 <pluginExecutionFilter>
124 <groupId>org.codehaus.mojo</groupId>
125 <artifactId>build-helper-maven-plugin</artifactId>
126 <versionRange>[1.9.1,)</versionRange>
127 <goals>
128 <goal>add-source</goal>
129 </goals>
130 </pluginExecutionFilter>
131 <action>
132 <ignore/>
133 </action>
134 </pluginExecution>
135 </pluginExecutions>
136 </lifecycleMappingMetadata>
137 </configuration>
138 </plugin>
139 </plugins>
140 </pluginManagement>
141 </build>
142
143 <dependencies>
144 <dependency>
145 <groupId>org.openecomp.appc</groupId>
146 <artifactId>appc-common</artifactId>
147 <version>${project.version}</version>
148 </dependency>
149 <dependency>
150 <groupId>org.openecomp.appc</groupId>
151 <artifactId>appc-oam-model</artifactId>
152 <version>${project.version}</version>
153 </dependency>
154 <dependency>
155 <groupId>org.openecomp.appc</groupId>
156 <artifactId>appc-metric-bundle</artifactId>
157 <version>${project.version}</version>
158 </dependency>
159
160 <dependency>
161 <groupId>org.openecomp.appc</groupId>
162 <artifactId>appc-request-handler-api</artifactId>
163 <version>${project.version}</version>
164 </dependency>
beili.zhou9adb43f2017-08-11 22:16:05 -0400165 <dependency>
166 <groupId>org.openecomp.appc</groupId>
167 <artifactId>appc-lifecycle-management-api</artifactId>
168 <version>${project.version}</version>
169 </dependency>
170 <dependency>
171 <groupId>org.openecomp.appc</groupId>
172 <artifactId>appc-lifecycle-management-core</artifactId>
173 <version>${project.version}</version>
174 </dependency>
175 <dependency>
176 <groupId>org.openecomp.appc</groupId>
177 <artifactId>state-machine-lib</artifactId>
178 <version>${project.version}</version>
179 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700180
181 <dependency>
182 <groupId>org.opendaylight.controller</groupId>
183 <artifactId>config-api</artifactId>
184 </dependency>
185 <dependency>
186 <groupId>org.opendaylight.controller</groupId>
187 <artifactId>sal-binding-config</artifactId>
188 </dependency>
189 <dependency>
190 <groupId>org.opendaylight.controller</groupId>
191 <artifactId>sal-binding-api</artifactId>
192 </dependency>
193 <dependency>
194 <groupId>org.opendaylight.controller</groupId>
195 <artifactId>sal-common-util</artifactId>
196 </dependency>
197 <dependency>
198 <artifactId>sal-test-model</artifactId>
199 <groupId>org.opendaylight.controller</groupId>
200 <scope>test</scope>
201 </dependency>
202 <dependency>
203 <artifactId>sal-rest-connector</artifactId>
204 <groupId>org.opendaylight.netconf</groupId>
205 <scope>test</scope>
206 </dependency>
207 <dependency>
208 <groupId>org.opendaylight.controller</groupId>
209 <artifactId>sal-binding-broker-impl</artifactId>
210 <scope>test</scope>
211 </dependency>
212 <dependency>
213 <groupId>org.opendaylight.controller</groupId>
214 <artifactId>sal-binding-broker-impl</artifactId>
215 <classifier>tests</classifier>
216 <version>${odl.mdsal.version}</version>
217 <type>test-jar</type>
218 <scope>test</scope>
219 </dependency>
220 <dependency>
221 <groupId>junit</groupId>
222 <artifactId>junit</artifactId>
223 <scope>test</scope>
224 </dependency>
beili.zhou9adb43f2017-08-11 22:16:05 -0400225 <dependency>
226 <groupId>org.mockito</groupId>
Patrick Brady76706002017-09-04 21:37:25 -0700227 <artifactId>mockito-core</artifactId>
beili.zhou9adb43f2017-08-11 22:16:05 -0400228 <version>1.10.19</version>
229 <scope>test</scope>
230 </dependency>
231 <dependency>
232 <groupId>org.powermock</groupId>
233 <artifactId>powermock-api-mockito</artifactId>
Patrick Brady76706002017-09-04 21:37:25 -0700234 <version>1.6.4</version>
beili.zhou9adb43f2017-08-11 22:16:05 -0400235 <scope>test</scope>
236 </dependency>
237 <dependency>
238 <groupId>org.powermock</groupId>
239 <artifactId>powermock-module-junit4</artifactId>
240 <version>1.6.2</version>
241 <scope>test</scope>
242 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700243 <!-- TEMP CODE -->
244 <dependency>
245 <groupId>org.json</groupId>
246 <artifactId>json</artifactId>
247 </dependency>
248
249
beili.zhou9adb43f2017-08-11 22:16:05 -0400250 <dependency>
251 <groupId>org.openecomp.appc</groupId>
252 <artifactId>appc-message-adapter-api</artifactId>
253 <version>${project.version}</version>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700254 <scope>provided</scope>
beili.zhou9adb43f2017-08-11 22:16:05 -0400255 </dependency>
256 <dependency>
257 <groupId>org.openecomp.appc</groupId>
258 <artifactId>appc-message-adapter-factory</artifactId>
259 <version>${project.version}</version>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700260 <scope>provided</scope>
beili.zhou9adb43f2017-08-11 22:16:05 -0400261 </dependency>
262 <dependency>
263 <groupId>org.openecomp.appc</groupId>
264 <artifactId>appc-dmaap-adapter-bundle</artifactId>
265 <version>${project.version}</version>
266 <scope>provided</scope>
267 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700268
269 </dependencies>
270
271</project>