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