Seed code submit of generic-resource-api
[sdnc/northbound.git] / generic-resource-api / provider / 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3         <modelVersion>4.0.0</modelVersion>
4
5         <parent>
6                 <groupId>org.onap.sdnc.northbound</groupId>
7                 <artifactId>generic-resource-api</artifactId>
8                 <version>1.2.0-SNAPSHOT</version>
9         </parent>
10
11         <artifactId>generic-resource-api.provider</artifactId>
12         <packaging>bundle</packaging>
13
14         <dependencies>
15                 <dependency>
16                         <groupId>org.onap.sdnc.northbound</groupId>
17                         <artifactId>generic-resource-api.model</artifactId>
18                 </dependency>
19                 <dependency>
20                         <groupId>org.opendaylight.controller</groupId>
21                         <artifactId>config-api</artifactId>
22                         <version>${odl.controller.config.api.version}</version>
23                 </dependency>
24                 <dependency>
25                         <groupId>org.opendaylight.controller</groupId>
26                         <artifactId>sal-binding-config</artifactId>
27                         <version>${odl.mdsal.version}</version>
28                 </dependency>
29                 <dependency>
30                         <groupId>org.opendaylight.controller</groupId>
31                         <artifactId>sal-binding-api</artifactId>
32                         <version>${odl.mdsal.version}</version>
33                 </dependency>
34                 <dependency>
35                         <groupId>org.opendaylight.controller</groupId>
36                         <artifactId>sal-common-util</artifactId>
37                         <version>${odl.mdsal.version}</version>
38                 </dependency>
39
40         <!--
41                 <dependency>
42                         <groupId>org.opendaylight.controller</groupId>
43                         <artifactId>sal-test-model</artifactId>
44                         <version>${odl.mdsal.version}</version>
45                         <scope>test</scope>
46                 </dependency>
47                 <dependency>
48                         <groupId>org.opendaylight.netconf</groupId>
49                         <artifactId>sal-rest-connector</artifactId>
50                         <version>${odl.mdsal.version}</version>
51                         <scope>test</scope>
52                 </dependency>
53
54                 <dependency>
55                         <groupId>org.opendaylight.controller</groupId>
56                         <artifactId>sal-binding-broker-impl</artifactId>
57                         <version>${odl.mdsal.version}</version>
58                         <scope>test</scope>
59                 </dependency>
60                 <dependency>
61                         <groupId>org.opendaylight.controller</groupId>
62                         <artifactId>sal-binding-broker-impl</artifactId>
63                         <version>${odl.mdsal.version}}</version>
64                         <type>test-jar</type>
65                         <classifier>tests</classifier>
66                         <scope>test</scope>
67                 </dependency>
68         -->
69                 <dependency>
70                         <groupId>org.apache.commons</groupId>
71                         <artifactId>commons-lang3</artifactId>
72                 </dependency>
73
74         <dependency>
75             <groupId>org.onap.ccsdk.sli.core</groupId>
76             <artifactId>sli-common</artifactId>
77             <version>${sdnctl.sli.version}</version>
78         </dependency>
79         <dependency>
80             <groupId>org.onap.ccsdk.sli.core</groupId>
81             <artifactId>sli-provider</artifactId>
82             <version>${sdnctl.sli.version}</version>
83         </dependency>
84
85                 <dependency>
86                         <groupId>junit</groupId>
87                         <artifactId>junit</artifactId>
88                         <version>3.8.1</version>
89                         <scope>test</scope>
90                 </dependency>
91         </dependencies>
92
93         <build>
94             <plugins>
95         <!--
96                 <plugin>
97                 <groupId>com.brocade.tools</groupId>
98                     <artifactId>providermodule-plugin</artifactId>
99                     <version>1.0.0-SNAPSHOT</version>
100                     <configuration>
101                         <packageId>org.onap.sdnc.northbound</packageId>
102                         <appName>generic-resource-api</appName>
103                     </configuration>
104                     <executions>
105                        <execution>
106                           <phase>process-sources</phase>
107                           <goals>
108                               <goal>process</goal>
109                           </goals>
110                     </execution>
111                 </executions>
112             </plugin>
113             -->
114                         <plugin>
115                                 <groupId>org.apache.felix</groupId>
116                                 <artifactId>maven-bundle-plugin</artifactId>
117                                 <extensions>true</extensions>
118                                 <configuration>
119                                         <instructions>
120                                                 <Export-Package>org.opendaylight.controller.config.yang.config.generic-resource-api_provider.impl</Export-Package>
121                                                 <Import-Package>*</Import-Package>
122                                         </instructions>
123                                 </configuration>
124                         </plugin>
125                         <plugin>
126                                 <groupId>org.opendaylight.yangtools</groupId>
127                                 <artifactId>yang-maven-plugin</artifactId>
128                                 <executions>
129                                         <execution>
130                                                 <id>config</id>
131                                                 <goals>
132                                                         <goal>generate-sources</goal>
133                                                 </goals>
134                                                 <configuration>
135                                                         <codeGenerators>
136                                                                 <generator>
137                                                                         <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
138                                                                         <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
139                                                                         <additionalConfiguration>
140                                                                                 <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
141                                                                         </additionalConfiguration>
142                                                                 </generator>
143                                                                 <generator>
144                                                                         <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
145                                                                         <outputBaseDir>${salGeneratorPath}</outputBaseDir>
146                                                                 </generator>
147                                                         </codeGenerators>
148                                                         <inspectDependencies>true</inspectDependencies>
149                                                 </configuration>
150                                         </execution>
151                                 </executions>
152                                 <dependencies>
153                                         <dependency>
154                                                 <groupId>org.opendaylight.mdsal</groupId>
155                                                 <artifactId>maven-sal-api-gen-plugin</artifactId>
156                                                 <version>${odl.sal.api.gen.plugin.version}</version>
157                                                 <type>jar</type>
158                                         </dependency>
159                                         <dependency>
160                                                 <groupId>org.opendaylight.controller</groupId>
161                                                 <artifactId>yang-jmx-generator-plugin</artifactId>
162                                                 <version>${odl.yang.jmx.generator.version}</version>
163                                         </dependency>
164                                 </dependencies>
165                         </plugin>
166                         <plugin>
167                                 <groupId>org.codehaus.mojo</groupId>
168                                 <artifactId>build-helper-maven-plugin</artifactId>
169                                 <executions>
170                                         <execution>
171                                                 <id>attach-artifacts</id>
172                                                 <goals>
173                                                         <goal>attach-artifact</goal>
174                                                 </goals>
175                                                 <phase>package</phase>
176                                                 <configuration>
177                                                         <artifacts>
178                                                                 <artifact>
179                                                                         <file>${project.build.directory}/classes/initial/generic-resource-api-provider.xml</file>
180                                                                         <type>xml</type>
181                                                                         <classifier>config</classifier>
182                                                                 </artifact>
183                                                         </artifacts>
184                                                 </configuration>
185                                         </execution>
186                                 </executions>
187                         </plugin>
188                 </plugins>
189         </build>
190 </project>