Clean-up pom.xml layout
[controller.git] / opendaylight / md-sal / sal-inmemory-datastore / 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   <parent>
5     <groupId>org.opendaylight.mdsal</groupId>
6     <artifactId>binding-parent</artifactId>
7     <version>0.10.0-SNAPSHOT</version>
8     <relativePath/>
9   </parent>
10
11   <groupId>org.opendaylight.controller</groupId>
12   <version>1.5.0-SNAPSHOT</version>
13   <artifactId>sal-inmemory-datastore</artifactId>
14   <packaging>bundle</packaging>
15
16   <properties>
17     <jmxGeneratorPath>target/generated-sources/config-binding</jmxGeneratorPath>
18   </properties>
19
20   <dependencyManagement>
21     <dependencies>
22       <dependency>
23         <groupId>org.opendaylight.controller</groupId>
24         <artifactId>mdsal-artifacts</artifactId>
25         <version>1.5.0-SNAPSHOT</version>
26         <type>pom</type>
27         <scope>import</scope>
28       </dependency>
29       <dependency>
30         <groupId>org.opendaylight.controller</groupId>
31         <artifactId>config-artifacts</artifactId>
32         <version>0.6.0-SNAPSHOT</version>
33         <type>pom</type>
34         <scope>import</scope>
35       </dependency>
36     </dependencies>
37   </dependencyManagement>
38
39   <dependencies>
40     <dependency>
41       <groupId>com.google.guava</groupId>
42       <artifactId>guava</artifactId>
43     </dependency>
44
45     <!-- SAL Dependencies -->
46
47     <dependency>
48       <groupId>org.opendaylight.controller</groupId>
49       <artifactId>config-api</artifactId>
50     </dependency>
51
52     <dependency>
53       <groupId>org.opendaylight.controller</groupId>
54       <artifactId>sal-binding-api</artifactId>
55     </dependency>
56
57     <dependency>
58       <groupId>org.opendaylight.controller</groupId>
59       <artifactId>sal-common-api</artifactId>
60     </dependency>
61
62     <dependency>
63       <groupId>org.opendaylight.controller</groupId>
64       <artifactId>sal-common-util</artifactId>
65     </dependency>
66
67     <dependency>
68       <groupId>org.opendaylight.controller</groupId>
69       <artifactId>sal-core-api</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.controller</groupId>
73       <artifactId>sal-core-spi</artifactId>
74     </dependency>
75
76     <dependency>
77       <groupId>org.opendaylight.yangtools</groupId>
78       <artifactId>concepts</artifactId>
79     </dependency>
80
81     <dependency>
82       <groupId>org.opendaylight.yangtools</groupId>
83       <artifactId>util</artifactId>
84     </dependency>
85
86     <dependency>
87       <groupId>org.opendaylight.mdsal</groupId>
88       <artifactId>yang-binding</artifactId>
89     </dependency>
90
91     <dependency>
92       <groupId>org.opendaylight.yangtools</groupId>
93       <artifactId>yang-common</artifactId>
94     </dependency>
95
96     <dependency>
97       <groupId>org.opendaylight.yangtools</groupId>
98       <artifactId>yang-data-api</artifactId>
99     </dependency>
100     <dependency>
101       <groupId>org.opendaylight.yangtools</groupId>
102       <artifactId>yang-data-impl</artifactId>
103     </dependency>
104     <dependency>
105       <groupId>org.opendaylight.yangtools</groupId>
106       <artifactId>yang-parser-impl</artifactId>
107     </dependency>
108
109     <dependency>
110       <groupId>org.opendaylight.controller</groupId>
111       <artifactId>sal-dom-config</artifactId>
112       <version>${project.version}</version>
113     </dependency>
114
115     <dependency>
116       <groupId>org.osgi</groupId>
117       <artifactId>org.osgi.core</artifactId>
118     </dependency>
119
120     <dependency>
121       <groupId>org.slf4j</groupId>
122       <artifactId>slf4j-api</artifactId>
123     </dependency>
124
125     <!-- Test Dependencies -->
126     <dependency>
127       <groupId>junit</groupId>
128       <artifactId>junit</artifactId>
129       <scope>test</scope>
130     </dependency>
131     <dependency>
132       <groupId>org.slf4j</groupId>
133       <artifactId>slf4j-simple</artifactId>
134       <scope>test</scope>
135     </dependency>
136     <dependency>
137       <groupId>org.opendaylight.mdsal</groupId>
138       <artifactId>mdsal-binding-generator-impl</artifactId>
139       <scope>test</scope>
140     </dependency>
141     <dependency>
142       <groupId>org.opendaylight.yangtools</groupId>
143       <artifactId>mockito-configuration</artifactId>
144       <scope>test</scope>
145     </dependency>
146     <dependency>
147       <groupId>org.opendaylight.controller</groupId>
148       <artifactId>sal-test-model</artifactId>
149       <scope>test</scope>
150       </dependency>
151   </dependencies>
152
153   <build>
154     <plugins>
155       <plugin>
156         <groupId>org.apache.felix</groupId>
157         <artifactId>maven-bundle-plugin</artifactId>
158         <extensions>true</extensions>
159         <configuration>
160           <instructions>
161             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
162
163             <Export-Package>org.opendaylight.controller.md.sal.dom.store.impl.*</Export-Package>
164
165             <Import-Package>*</Import-Package>
166           </instructions>
167         </configuration>
168       </plugin>
169       <plugin>
170         <groupId>org.jacoco</groupId>
171         <artifactId>jacoco-maven-plugin</artifactId>
172         <configuration>
173           <includes>
174             <include>org.opendaylight.controller.*</include>
175           </includes>
176           <check>false</check>
177         </configuration>
178         <executions>
179           <execution>
180             <id>pre-test</id>
181             <goals>
182               <goal>prepare-agent</goal>
183             </goals>
184           </execution>
185           <execution>
186             <id>post-test</id>
187             <goals>
188               <goal>report</goal>
189             </goals>
190             <phase>test</phase>
191           </execution>
192         </executions>
193       </plugin>
194       <plugin>
195         <groupId>org.opendaylight.yangtools</groupId>
196         <artifactId>yang-maven-plugin</artifactId>
197         <dependencies>
198           <dependency>
199             <groupId>org.opendaylight.controller</groupId>
200             <artifactId>yang-jmx-generator-plugin</artifactId>
201             <version> 0.6.0-SNAPSHOT</version>
202           </dependency>
203         </dependencies>
204         <executions>
205           <execution>
206             <id>config</id>
207             <goals>
208               <goal>generate-sources</goal>
209             </goals>
210             <configuration>
211               <codeGenerators>
212                 <generator>
213                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
214                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
215                   <additionalConfiguration>
216                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
217                   </additionalConfiguration>
218                 </generator>
219               </codeGenerators>
220               <inspectDependencies>true</inspectDependencies>
221             </configuration>
222           </execution>
223         </executions>
224       </plugin>
225     </plugins>
226   </build>
227   <scm>
228     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
229     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
230     <tag>HEAD</tag>
231     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
232   </scm>
233
234 </project>