Merge of new rebased code
[appc.git] / appc-provider / appc-provider-bundle / 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"
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-provider</artifactId>
7         <groupId>org.openecomp.appc</groupId>
8         <version>1.1.0-SNAPSHOT</version>
9     </parent>
10     <artifactId>appc-provider-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_provider.impl</Export-Package>
21                         <Export-Package>org.openecomp.appc.provider</Export-Package>
22                         <!-- <Import-Package>!groovy.lang,!javax.jms,!org.codehaus.commons.compiler,!org.codehaus.groovy.*,!org.codehaus.janino,!com.ibm.icu.*,!com.sun.faces.*,!org.apache.log,*;resolution:=optional</Import-Package> -->
23                         <!-- <Embed-Dependency>appc-common,eelf-core,logback-core,logback-classic;scope=compile|runtime;inline=false,domain-model-lib,appc-command-executor-api,appc-request-handler-api</Embed-Dependency> -->
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                             *;resolution:=optional
31                         </Import-Package>
32                         <Embed-Dependency>
33                             appc-common;scope=compile|runtime;inline=false
34                         </Embed-Dependency>
35                         <Embed-Transitive>true</Embed-Transitive>
36                     </instructions>
37                 </configuration>
38             </plugin>
39             <plugin>
40                 <groupId>org.opendaylight.yangtools</groupId>
41                 <artifactId>yang-maven-plugin</artifactId>
42                 <version>${odl.yangtools.version}</version>
43                 <executions>
44                     <execution>
45                         <id>config</id>
46                         <goals>
47                             <goal>generate-sources</goal>
48                         </goals>
49                         <configuration>
50                             <codeGenerators>
51                                 <generator>
52                                     <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
53                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
54                                     <additionalConfiguration>
55                                         <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
56                                     </additionalConfiguration>
57                                 </generator>
58                                 <generator>
59                                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
60                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
61                                 </generator>
62                             </codeGenerators>
63                             <inspectDependencies>true</inspectDependencies>
64                         </configuration>
65                     </execution>
66                 </executions>
67                 <dependencies>
68                     <dependency>
69                         <groupId>org.opendaylight.mdsal</groupId>
70                         <artifactId>maven-sal-api-gen-plugin</artifactId>
71                         <version>${odl.sal.api.gen.plugin.version}</version>
72                         <type>jar</type>
73                     </dependency>
74                     <dependency>
75                         <groupId>org.opendaylight.controller</groupId>
76                         <artifactId>yang-jmx-generator-plugin</artifactId>
77                         <version>${odl.yang.jmx.generator.version}</version>
78                     </dependency>
79                 </dependencies>
80             </plugin>
81             <plugin>
82                 <groupId>org.codehaus.mojo</groupId>
83                 <artifactId>build-helper-maven-plugin</artifactId>
84                 <executions>
85                     <execution>
86                         <id>attach-artifacts</id>
87                         <goals>
88                             <goal>attach-artifact</goal>
89                         </goals>
90                         <phase>package</phase>
91                         <configuration>
92                             <artifacts>
93                                 <artifact>
94                                     <file>${project.build.directory}/classes/initial/appc-provider.xml</file>
95                                     <type>xml</type>
96                                     <classifier>config</classifier>
97                                 </artifact>
98                             </artifacts>
99                         </configuration>
100                     </execution>
101                 </executions>
102             </plugin>
103         </plugins>
104         <pluginManagement>
105             <plugins>
106                 <!--This plugin's configuration is used to store Eclipse 
107                     m2e settings only. It has no influence on the Maven build itself. -->
108                 <plugin>
109                     <groupId>org.eclipse.m2e</groupId>
110                     <artifactId>lifecycle-mapping</artifactId>
111                     <version>1.0.0</version>
112                     <configuration>
113                         <lifecycleMappingMetadata>
114                             <pluginExecutions>
115                                 <pluginExecution>
116                                     <pluginExecutionFilter>
117                                         <groupId>org.codehaus.mojo</groupId>
118                                         <artifactId>build-helper-maven-plugin</artifactId>
119                                         <versionRange>[1.9.1,)</versionRange>
120                                         <goals>
121                                             <goal>add-source</goal>
122                                         </goals>
123                                     </pluginExecutionFilter>
124                                     <action>
125                                         <ignore />
126                                     </action>
127                                 </pluginExecution>
128                             </pluginExecutions>
129                         </lifecycleMappingMetadata>
130                     </configuration>
131                 </plugin>
132             </plugins>
133         </pluginManagement>
134     </build>
135     <dependencies>
136         <dependency>
137             <groupId>org.openecomp.appc</groupId>
138             <artifactId>appc-request-handler-api</artifactId>
139             <version>${project.version}</version>
140             <type>bundle</type>
141             <scope>provided</scope>
142 <!--             <exclusions> -->
143 <!--                 <exclusion> -->
144 <!--                     <groupId>org.openecomp.appc</groupId> -->
145 <!--                     <artifactId>domain-model-lib</artifactId> -->
146 <!--                 </exclusion> -->
147 <!--             </exclusions> -->
148         </dependency>
149         <dependency>
150             <groupId>org.openecomp.appc</groupId>
151             <artifactId>appc-common</artifactId>
152             <version>${project.version}</version>
153 <!--             <classifier>jar-with-dependencies</classifier> -->
154         </dependency>
155         <dependency>
156             <groupId>org.openecomp.appc</groupId>
157             <artifactId>appc-provider-model</artifactId>
158             <version>${project.version}</version>
159         </dependency>
160
161         <!-- ADDED THIS ARTIFACT TO BE ABLE TO FIND org.openecomp.appc.domainmodel.lcm -->
162 <!--         <dependency> -->
163 <!--             <groupId>org.openecomp.appc</groupId> -->
164 <!--             <artifactId>domain-model-lib</artifactId> -->
165 <!--             <version>${project.version}</version> -->
166 <!--         </dependency> -->
167
168         <dependency>
169             <groupId>org.opendaylight.controller</groupId>
170             <artifactId>config-api</artifactId>
171         </dependency>
172         <dependency>
173             <groupId>org.opendaylight.controller</groupId>
174             <artifactId>sal-binding-config</artifactId>
175         </dependency>
176         <dependency>
177             <groupId>org.opendaylight.controller</groupId>
178             <artifactId>sal-binding-api</artifactId>
179         </dependency>
180         <dependency>
181             <groupId>org.opendaylight.controller</groupId>
182             <artifactId>sal-common-util</artifactId>
183         </dependency>
184         <dependency>
185             <groupId>org.openecomp.sdnc.core</groupId>
186             <artifactId>sli-common</artifactId>
187         </dependency>
188         <dependency>
189             <groupId>org.openecomp.sdnc.core</groupId>
190             <artifactId>sli-provider</artifactId>
191         </dependency>
192         <dependency>
193             <artifactId>sal-test-model</artifactId>
194             <groupId>org.opendaylight.controller</groupId>
195             <scope>test</scope>
196         </dependency>
197         <dependency>
198             <artifactId>sal-rest-connector</artifactId>
199             <groupId>org.opendaylight.netconf</groupId>
200             <scope>test</scope>
201         </dependency>
202         <dependency>
203             <groupId>org.opendaylight.controller</groupId>
204             <artifactId>sal-binding-broker-impl</artifactId>
205             <scope>test</scope>
206         </dependency>
207         <dependency>
208             <groupId>org.opendaylight.controller</groupId>
209             <artifactId>sal-binding-broker-impl</artifactId>
210             <classifier>tests</classifier>
211             <version>${odl.mdsal.version}</version>
212             <type>test-jar</type>
213             <scope>test</scope>
214         </dependency>
215         <dependency>
216             <groupId>junit</groupId>
217             <artifactId>junit</artifactId>
218             <scope>test</scope>
219         </dependency>
220         <!-- TEMP CODE -->
221         <dependency>
222             <groupId>org.json</groupId>
223             <artifactId>json</artifactId>
224         </dependency>
225     </dependencies>
226 </project>