- restconf client implementation using RuntimeGeneratedMappingService
[yangtools.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11
12     <modelVersion>4.0.0</modelVersion>
13     <artifactId>yangtools</artifactId>
14     <groupId>org.opendaylight.yangtools</groupId>
15     <version>0.6.2-SNAPSHOT</version>
16     <packaging>pom</packaging>
17     <prerequisites>
18         <maven>3.0.4</maven>
19     </prerequisites>
20
21     <properties>
22         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
24
25         <!-- Java Versions -->
26         <maven.compiler.source>1.7</maven.compiler.source>
27         <maven.compiler.target>1.7</maven.compiler.target>
28
29         <!-- Build Plugin Versions -->
30         <maven.bundle.version>2.4.0</maven.bundle.version>
31         <maven.jar.version>2.4</maven.jar.version>
32         <maven.javadoc.version>2.9.1</maven.javadoc.version>
33         <maven.release.version>2.4.2</maven.release.version>
34         <maven.source.version>2.2.1</maven.source.version>
35         <maven.surefire.version>2.16</maven.surefire.version>
36
37         <!-- Supporting Libraries -->
38         <commons.lang.version>3.1</commons.lang.version>
39         <junit.version>4.10</junit.version>
40         <slf4j.version>1.7.2</slf4j.version>
41         <guava.version>14.0.1</guava.version>
42         <xtend.version>2.4.3</xtend.version>
43         <groovy.version>2.1.6</groovy.version>
44         <mockito.version>1.9.5</mockito.version>
45         <javassist.version>3.17.1-GA</javassist.version>
46     </properties>
47
48     <scm>
49         <connection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</connection>
50         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</developerConnection>
51         <url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>
52         <tag>HEAD</tag>
53     </scm>
54
55     <modules>
56         <module>concepts</module>
57         <module>yang</module>
58         <module>code-generator</module>
59         <module>model</module>
60         <module>restconf</module>
61         <module>integration-test</module>
62         <module>mockito-configuration</module>
63         <module>websocket</module>
64         <!-- module>third-party</module -->
65     </modules>
66
67     <pluginRepositories>
68         <!-- OpenDayLight Repo Mirror -->
69         <pluginRepository>
70             <id>opendaylight-mirror</id>
71             <name>opendaylight-mirror</name>
72             <url>${nexusproxy}/groups/public/</url>
73             <snapshots>
74                 <enabled>false</enabled>
75             </snapshots>
76             <releases>
77                 <enabled>true</enabled>
78                 <updatePolicy>never</updatePolicy>
79             </releases>
80         </pluginRepository>
81
82         <!-- OpenDayLight Snapshot artifact -->
83         <pluginRepository>
84             <id>opendaylight-snapshot</id>
85             <name>opendaylight-snapshot</name>
86             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
87             <snapshots>
88                 <enabled>true</enabled>
89             </snapshots>
90             <releases>
91                 <enabled>false</enabled>
92             </releases>
93         </pluginRepository>
94     </pluginRepositories>
95
96     <repositories>
97         <!-- OpenDayLight Repo Mirror -->
98         <repository>
99             <id>opendaylight-mirror</id>
100             <name>opendaylight-mirror</name>
101             <url>${nexusproxy}/groups/public/</url>
102             <snapshots>
103                 <enabled>false</enabled>
104             </snapshots>
105             <releases>
106                 <enabled>true</enabled>
107                 <updatePolicy>never</updatePolicy>
108             </releases>
109         </repository>
110
111         <!-- OpenDayLight Snapshot artifact -->
112         <repository>
113             <id>opendaylight-snapshot</id>
114             <name>opendaylight-snapshot</name>
115             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
116             <snapshots>
117                 <enabled>true</enabled>
118             </snapshots>
119             <releases>
120                 <enabled>false</enabled>
121             </releases>
122         </repository>
123     </repositories>
124
125     <dependencyManagement>
126         <dependencies>
127             <!-- Testing Dependencies -->
128             <dependency>
129                 <groupId>junit</groupId>
130                 <artifactId>junit</artifactId>
131                 <version>${junit.version}</version>
132                 <scope>test</scope>
133             </dependency>
134             <dependency>
135                 <groupId>org.mockito</groupId>
136                 <artifactId>mockito-all</artifactId>
137                 <version>${mockito.version}</version>
138                 <scope>test</scope>
139             </dependency>
140             <dependency>
141                 <groupId>org.mockito</groupId>
142                 <artifactId>mockito-core</artifactId>
143                 <version>${mockito.version}</version>
144                 <scope>test</scope>
145             </dependency>
146             <dependency>
147                 <groupId>org.slf4j</groupId>
148                 <artifactId>slf4j-simple</artifactId>
149                 <version>${slf4j.version}</version>
150                 <scope>test</scope>
151             </dependency>
152
153             <!-- Supporting Libraries -->
154             <dependency>
155                 <groupId>org.slf4j</groupId>
156                 <artifactId>slf4j-api</artifactId>
157                 <version>${slf4j.version}</version>
158             </dependency>
159             <dependency>
160                 <groupId>com.google.guava</groupId>
161                 <artifactId>guava</artifactId>
162                 <version>${guava.version}</version>
163             </dependency>
164             <dependency>
165                 <groupId>org.eclipse.xtend</groupId>
166                 <artifactId>org.eclipse.xtend.lib</artifactId>
167                 <version>${xtend.version}</version>
168             </dependency>
169             <dependency>
170                 <groupId>org.apache.commons</groupId>
171                 <artifactId>commons-lang3</artifactId>
172                 <version>${commons.lang.version}</version>
173             </dependency>
174
175             <!-- Plugin integration -->
176             <dependency>
177                 <groupId>org.sonatype.plexus</groupId>
178                 <artifactId>plexus-build-api</artifactId>
179                 <version>0.0.7</version>
180             </dependency>
181             <dependency>
182                 <groupId>org.codehaus.plexus</groupId>
183                 <artifactId>plexus-slf4j-logging</artifactId>
184                 <version>1.1</version>
185             </dependency>
186
187             <!-- Our artifacts -->
188             <dependency>
189                     <groupId>${project.groupId}</groupId>
190                     <artifactId>concepts</artifactId>
191                     <version>${project.version}</version>
192             </dependency>
193         </dependencies>
194     </dependencyManagement>
195
196     <dependencies>
197         <dependency>
198             <groupId>org.slf4j</groupId>
199             <artifactId>slf4j-simple</artifactId>
200         </dependency>
201     </dependencies>
202
203     <distributionManagement>
204         <!-- OpenDayLight Released artifact -->
205         <repository>
206             <id>opendaylight-release</id>
207             <url>${nexusproxy}/repositories/opendaylight.release/</url>
208         </repository>
209         <!-- OpenDayLight Snapshot artifact -->
210         <snapshotRepository>
211             <id>opendaylight-snapshot</id>
212             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
213         </snapshotRepository>
214         <site>
215             <id>${project.artifactId}-site</id>
216             <url>./</url>
217         </site>
218     </distributionManagement>
219
220     <build>
221         <pluginManagement>
222             <plugins>
223                 <plugin>
224                     <groupId>org.apache.maven.plugins</groupId>
225                     <artifactId>maven-jar-plugin</artifactId>
226                     <version>${maven.jar.version}</version>
227                     <configuration>
228                         <archive>
229                             <!-- Bundle OSGi Manifest created by maven-bundle-plugin
230                                 into jar file -->
231                             <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
232                         </archive>
233                     </configuration>
234                 </plugin>
235                 <plugin>
236                     <groupId>org.apache.felix</groupId>
237                     <artifactId>maven-bundle-plugin</artifactId>
238                     <version>${maven.bundle.version}</version>
239                     <extensions>true</extensions>
240                     <executions>
241                         <execution>
242                             <id>bundle-manifest</id>
243                             <phase>process-classes</phase>
244                             <goals>
245                                 <goal>manifest</goal>
246                             </goals>
247                         </execution>
248                     </executions>
249                     <configuration>
250                         <instructions>
251                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
252                             <Export-Package>*</Export-Package>
253                         </instructions>
254                     </configuration>
255                 </plugin>
256                 <plugin>
257                     <groupId>org.eclipse.xtend</groupId>
258                     <artifactId>xtend-maven-plugin</artifactId>
259                     <version>${xtend.version}</version>
260                     <executions>
261                         <execution>
262                             <goals>
263                                 <goal>compile</goal>
264                             </goals>
265                             <configuration>
266                                 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
267                             </configuration>
268                         </execution>
269                     </executions>
270                 </plugin>
271                 <plugin>
272                     <artifactId>maven-clean-plugin</artifactId>
273                     <version>2.5</version>
274                     <configuration>
275                         <filesets>
276                             <fileset>
277                                 <directory>${basedir}/src/main/xtend-gen</directory>
278                                 <includes>
279                                     <include>**</include>
280                                 </includes>
281                             </fileset>
282                         </filesets>
283                     </configuration>
284                 </plugin>
285                 <plugin>
286                     <groupId>org.eclipse.m2e</groupId>
287                     <artifactId>lifecycle-mapping</artifactId>
288                     <version>1.0.0</version>
289                     <configuration>
290                         <lifecycleMappingMetadata>
291                             <pluginExecutions>
292                                 <pluginExecution>
293                                     <pluginExecutionFilter>
294                                         <groupId>org.apache.felix</groupId>
295                                         <artifactId>maven-bundle-plugin</artifactId>
296                                         <versionRange>[1.0,)</versionRange>
297                                         <goals>
298                                             <goal>manifest</goal>
299                                         </goals>
300                                     </pluginExecutionFilter>
301                                     <action>
302                                         <execute />
303                                     </action>
304                                 </pluginExecution>
305                             </pluginExecutions>
306                         </lifecycleMappingMetadata>
307                     </configuration>
308                 </plugin>
309                 <plugin>
310                     <groupId>org.apache.maven.plugins</groupId>
311                     <artifactId>maven-javadoc-plugin</artifactId>
312                     <version>${maven.javadoc.version}</version>
313                     <configuration>
314                         <stylesheetfile>stylesheet.css</stylesheetfile>
315                     </configuration>
316                     <executions>
317                         <execution>
318                             <id>attach-javadocs</id>
319                             <goals>
320                                 <goal>jar</goal>
321                             </goals>
322                         </execution>
323                         <execution>
324                             <goals>
325                                 <goal>aggregate</goal>
326                             </goals>
327                             <phase>site</phase>
328                         </execution>
329                     </executions>
330                 </plugin>
331                 <plugin>
332                     <groupId>org.apache.maven.plugins</groupId>
333                     <artifactId>maven-release-plugin</artifactId>
334                     <version>${maven.release.version}</version>
335
336                     <!-- Since we have a maven plugin, we need to install it -->
337                     <configuration>
338                         <preparationGoals>clean install</preparationGoals>
339                         <completionGoals>clean install</completionGoals>
340                     </configuration>
341                 </plugin>
342             </plugins>
343         </pluginManagement>
344         <plugins>
345             <plugin>
346                 <groupId>org.apache.maven.plugins</groupId>
347                 <artifactId>maven-jar-plugin</artifactId>
348             </plugin>
349             <plugin>
350                 <groupId>org.apache.felix</groupId>
351                 <artifactId>maven-bundle-plugin</artifactId>
352             </plugin>
353             <plugin>
354                 <groupId>org.apache.maven.plugins</groupId>
355                 <artifactId>maven-source-plugin</artifactId>
356                 <version>${maven.source.version}</version>
357                 <executions>
358                     <execution>
359                         <id>attach-sources</id>
360                         <goals>
361                             <goal>jar</goal>
362                         </goals>
363                     </execution>
364                 </executions>
365             </plugin>
366             <plugin>
367                 <groupId>org.apache.maven.plugins</groupId>
368                 <artifactId>maven-javadoc-plugin</artifactId>
369             </plugin>
370         </plugins>
371     </build>
372
373     <reporting>
374         <plugins>
375             <plugin>
376                 <groupId>org.codehaus.mojo</groupId>
377                 <artifactId>findbugs-maven-plugin</artifactId>
378                 <version>2.5.3</version>
379                 <configuration>
380                     <effort>Max</effort>
381                     <threshold>Low</threshold>
382                     <goal>site</goal>
383                 </configuration>
384             </plugin>
385             <plugin>
386                 <groupId>org.codehaus.mojo</groupId>
387                 <artifactId>jdepend-maven-plugin</artifactId>
388                 <version>2.0-beta-2</version>
389             </plugin>
390         </plugins>
391     </reporting>
392 </project>