20cfbf819670a8f20d116c549b934eb91fc85a82
[appc.git] / appc-oam / appc-oam-bundle / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project
3         xmlns="http://maven.apache.org/POM/4.0.0"
4         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5          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.*,
33                             org.openecomp.appc.listener,
34                             *;resolution:=optional
35                         </Import-Package>
36                         <Embed-Dependency>
37                             appc-common;scope=compile|runtime;inline=false
38                         </Embed-Dependency>
39                         <Embed-Transitive>true</Embed-Transitive>
40                     </instructions>
41                 </configuration>
42             </plugin>
43             <plugin>
44                 <groupId>org.opendaylight.yangtools</groupId>
45                 <artifactId>yang-maven-plugin</artifactId>
46                 <executions>
47                     <execution>
48                         <id>config</id>
49                         <goals>
50                             <goal>generate-sources</goal>
51                         </goals>
52                         <configuration>
53                             <codeGenerators>
54                                 <generator>
55                                     <codeGeneratorClass>
56                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
57                                     </codeGeneratorClass>
58                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
59                                     <additionalConfiguration>
60                                         <namespaceToPackage1>
61                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
62                                         </namespaceToPackage1>
63                                     </additionalConfiguration>
64                                 </generator>
65                                 <generator>
66                                     <codeGeneratorClass>
67                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
68                                     </codeGeneratorClass>
69                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
70                                 </generator>
71                             </codeGenerators>
72                             <inspectDependencies>true</inspectDependencies>
73                         </configuration>
74                     </execution>
75                 </executions>
76                 <dependencies>
77                     <dependency>
78                         <groupId>org.opendaylight.mdsal</groupId>
79                         <artifactId>maven-sal-api-gen-plugin</artifactId>
80                         <version>${odl.sal.api.gen.plugin.version}</version>
81                         <type>jar</type>
82                     </dependency>
83                     <dependency>
84                         <groupId>org.opendaylight.controller</groupId>
85                         <artifactId>yang-jmx-generator-plugin</artifactId>
86                         <version>${odl.yang.jmx.generator.version}</version>
87                     </dependency>
88                 </dependencies>
89             </plugin>
90             <plugin>
91                 <groupId>org.codehaus.mojo</groupId>
92                 <artifactId>build-helper-maven-plugin</artifactId>
93                 <executions>
94                     <execution>
95                         <id>attach-artifacts</id>
96                         <goals>
97                             <goal>attach-artifact</goal>
98                         </goals>
99                         <phase>package</phase>
100                         <configuration>
101                             <artifacts>
102                                 <artifact>
103                                     <file>${project.build.directory}/classes/initial/appc-oam.xml</file>
104                                     <type>xml</type>
105                                     <classifier>config</classifier>
106                                 </artifact>
107                             </artifacts>
108                         </configuration>
109                     </execution>
110                 </executions>
111             </plugin>
112         </plugins>
113         <pluginManagement>
114             <plugins>
115                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
116                 <plugin>
117                     <groupId>org.eclipse.m2e</groupId>
118                     <artifactId>lifecycle-mapping</artifactId>
119                     <version>1.0.0</version>
120                     <configuration>
121                         <lifecycleMappingMetadata>
122                             <pluginExecutions>
123                                 <pluginExecution>
124                                     <pluginExecutionFilter>
125                                         <groupId>org.codehaus.mojo</groupId>
126                                         <artifactId>build-helper-maven-plugin</artifactId>
127                                         <versionRange>[1.9.1,)</versionRange>
128                                         <goals>
129                                             <goal>add-source</goal>
130                                         </goals>
131                                     </pluginExecutionFilter>
132                                     <action>
133                                         <ignore/>
134                                     </action>
135                                 </pluginExecution>
136                             </pluginExecutions>
137                         </lifecycleMappingMetadata>
138                     </configuration>
139                 </plugin>
140             </plugins>
141         </pluginManagement>
142     </build>
143
144     <dependencies>
145         <dependency>
146             <groupId>org.openecomp.appc</groupId>
147             <artifactId>appc-common</artifactId>
148             <version>${project.version}</version>
149         </dependency>
150         <dependency>
151             <groupId>org.openecomp.appc</groupId>
152             <artifactId>appc-oam-model</artifactId>
153             <version>${project.version}</version>
154         </dependency>
155         <dependency>
156             <groupId>org.openecomp.appc</groupId>
157             <artifactId>appc-metric-bundle</artifactId>
158             <version>${project.version}</version>
159         </dependency>
160
161         <dependency>
162             <groupId>org.openecomp.appc</groupId>
163             <artifactId>appc-request-handler-api</artifactId>
164             <version>${project.version}</version>
165         </dependency>
166         <dependency>
167             <groupId>org.openecomp.appc</groupId>
168             <artifactId>appc-lifecycle-management-api</artifactId>
169             <version>${project.version}</version>
170         </dependency>
171         <dependency>
172             <groupId>org.openecomp.appc</groupId>
173             <artifactId>appc-lifecycle-management-core</artifactId>
174             <version>${project.version}</version>
175         </dependency>
176         <dependency>
177             <groupId>org.openecomp.appc</groupId>
178             <artifactId>state-machine-lib</artifactId>
179             <version>${project.version}</version>
180         </dependency>
181
182         <dependency>
183             <groupId>org.opendaylight.controller</groupId>
184             <artifactId>config-api</artifactId>
185         </dependency>
186         <dependency>
187             <groupId>org.opendaylight.controller</groupId>
188             <artifactId>sal-binding-config</artifactId>
189         </dependency>
190         <dependency>
191             <groupId>org.opendaylight.controller</groupId>
192             <artifactId>sal-binding-api</artifactId>
193         </dependency>
194         <dependency>
195             <groupId>org.opendaylight.controller</groupId>
196             <artifactId>sal-common-util</artifactId>
197         </dependency>
198         <dependency>
199             <artifactId>sal-test-model</artifactId>
200             <groupId>org.opendaylight.controller</groupId>
201             <scope>test</scope>
202         </dependency>
203         <dependency>
204             <artifactId>sal-rest-connector</artifactId>
205             <groupId>org.opendaylight.netconf</groupId>
206             <scope>test</scope>
207         </dependency>
208         <dependency>
209             <groupId>org.opendaylight.controller</groupId>
210             <artifactId>sal-binding-broker-impl</artifactId>
211             <scope>test</scope>
212         </dependency>
213         <dependency>
214             <groupId>org.opendaylight.controller</groupId>
215             <artifactId>sal-binding-broker-impl</artifactId>
216             <classifier>tests</classifier>
217             <version>${odl.mdsal.version}</version>
218             <type>test-jar</type>
219             <scope>test</scope>
220         </dependency>
221         <dependency>
222             <groupId>junit</groupId>
223             <artifactId>junit</artifactId>
224             <scope>test</scope>
225         </dependency>
226         <dependency>
227             <groupId>org.mockito</groupId>
228             <artifactId>mockito-all</artifactId>
229             <version>1.10.19</version>
230             <scope>test</scope>
231         </dependency>
232         <dependency>
233             <groupId>org.powermock</groupId>
234             <artifactId>powermock-api-mockito</artifactId>
235             <version>1.6.2</version>
236             <scope>test</scope>
237         </dependency>
238         <dependency>
239             <groupId>org.powermock</groupId>
240             <artifactId>powermock-module-junit4</artifactId>
241             <version>1.6.2</version>
242             <scope>test</scope>
243         </dependency>
244         <!-- TEMP CODE -->
245         <dependency>
246             <groupId>org.json</groupId>
247             <artifactId>json</artifactId>
248         </dependency>
249
250
251         <dependency>
252             <groupId>org.openecomp.appc</groupId>
253             <artifactId>appc-message-adapter-api</artifactId>
254             <version>${project.version}</version>
255             <scope>provided</scope>
256         </dependency>
257         <dependency>
258             <groupId>org.openecomp.appc</groupId>
259             <artifactId>appc-message-adapter-factory</artifactId>
260             <version>${project.version}</version>
261             <scope>provided</scope>
262         </dependency>
263         <dependency>
264             <groupId>org.openecomp.appc</groupId>
265             <artifactId>appc-dmaap-adapter-bundle</artifactId>
266             <version>${project.version}</version>
267             <scope>provided</scope>
268         </dependency>
269         <dependency>
270             <groupId>org.openecomp.appc</groupId>
271             <artifactId>appc-event-listener-bundle</artifactId>
272             <version>${project.version}</version>
273             <scope>provided</scope>
274         </dependency>
275
276     </dependencies>
277
278 </project>