Merge "Implement edit-config operations for NormalizedNode yang-data-api"
[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"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12
13     <modelVersion>4.0.0</modelVersion>
14     <artifactId>yangtools</artifactId>
15     <groupId>org.opendaylight.yangtools</groupId>
16     <version>0.6.2-SNAPSHOT</version>
17     <packaging>pom</packaging>
18     <prerequisites>
19         <maven>3.0.4</maven>
20     </prerequisites>
21
22     <properties>
23         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
24         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
25
26         <!-- Java Versions -->
27         <maven.compiler.source>1.7</maven.compiler.source>
28         <maven.compiler.target>1.7</maven.compiler.target>
29
30         <!-- Build Plugin Versions -->
31         <maven.bundle.version>2.4.0</maven.bundle.version>
32         <maven.jar.version>2.3.2</maven.jar.version>
33         <maven.javadoc.version>2.9.1</maven.javadoc.version>
34         <maven.release.version>2.4.2</maven.release.version>
35         <maven.source.version>2.2.1</maven.source.version>
36         <maven.surefire.version>2.16</maven.surefire.version>
37
38         <!-- Supporting Libraries -->
39         <commons.lang.version>3.1</commons.lang.version>
40         <junit.version>4.10</junit.version>
41         <slf4j.version>1.7.2</slf4j.version>
42         <guava.version>14.0.1</guava.version>
43         <xtend.version>2.4.3</xtend.version>
44         <groovy.version>2.1.6</groovy.version>
45         <mockito.version>1.9.5</mockito.version>
46         <javassist.version>3.17.1-GA</javassist.version>
47     </properties>
48
49     <scm>
50         <connection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</connection>
51         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</developerConnection>
52         <url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>
53         <tag>HEAD</tag>
54     </scm>
55
56     <modules>
57         <module>code-generator</module>
58         <module>common</module>
59         <module>integration-test</module>
60         <module>model</module>
61         <module>restconf</module>
62         <module>websocket</module>
63         <module>yang</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             <dependency>
175                 <groupId>com.google.code.findbugs</groupId>
176                 <artifactId>jsr305</artifactId>
177                 <version>2.0.3</version>
178             </dependency>
179
180             <!-- Plugin integration -->
181             <dependency>
182                 <groupId>org.sonatype.plexus</groupId>
183                 <artifactId>plexus-build-api</artifactId>
184                 <version>0.0.7</version>
185             </dependency>
186             <dependency>
187                 <groupId>org.codehaus.plexus</groupId>
188                 <artifactId>plexus-slf4j-logging</artifactId>
189                 <version>1.1</version>
190             </dependency>
191             <dependency>
192                 <groupId>commons-io</groupId>
193                 <artifactId>commons-io</artifactId>
194                 <version>2.4</version>
195             </dependency>
196
197
198             <!-- Our artifacts -->
199             <dependency>
200                 <groupId>${project.groupId}</groupId>
201                 <artifactId>concepts</artifactId>
202                 <version>${project.version}</version>
203             </dependency>
204         </dependencies>
205     </dependencyManagement>
206
207     <dependencies>
208         <dependency>
209             <groupId>org.slf4j</groupId>
210             <artifactId>slf4j-simple</artifactId>
211         </dependency>
212     </dependencies>
213
214     <distributionManagement>
215         <!-- OpenDayLight Released artifact -->
216         <repository>
217             <id>opendaylight-release</id>
218             <url>${nexusproxy}/repositories/opendaylight.release/</url>
219         </repository>
220         <!-- OpenDayLight Snapshot artifact -->
221         <snapshotRepository>
222             <id>opendaylight-snapshot</id>
223             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
224         </snapshotRepository>
225         <site>
226             <id>${project.artifactId}-site</id>
227             <url>./</url>
228         </site>
229     </distributionManagement>
230
231     <build>
232         <pluginManagement>
233             <plugins>
234                 <plugin>
235                     <groupId>org.apache.maven.plugins</groupId>
236                     <artifactId>maven-jar-plugin</artifactId>
237                     <version>${maven.jar.version}</version>
238                     <configuration>
239                         <archive>
240                             <!-- Bundle OSGi Manifest created by maven-bundle-plugin
241                                 into jar file -->
242                             <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
243                         </archive>
244                     </configuration>
245                 </plugin>
246                 <plugin>
247                     <groupId>org.apache.felix</groupId>
248                     <artifactId>maven-bundle-plugin</artifactId>
249                     <version>${maven.bundle.version}</version>
250                     <extensions>true</extensions>
251                     <executions>
252                         <execution>
253                             <id>bundle-manifest</id>
254                             <phase>process-classes</phase>
255                             <goals>
256                                 <goal>manifest</goal>
257                             </goals>
258                         </execution>
259                     </executions>
260                     <configuration>
261                         <instructions>
262                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
263                             <!--
264                                                         <Export-Package>*</Export-Package>
265                             -->
266                         </instructions>
267                     </configuration>
268                 </plugin>
269                 <plugin>
270                     <groupId>org.eclipse.xtend</groupId>
271                     <artifactId>xtend-maven-plugin</artifactId>
272                     <version>${xtend.version}</version>
273                     <executions>
274                         <execution>
275                             <goals>
276                                 <goal>compile</goal>
277                             </goals>
278                             <configuration>
279                                 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
280                             </configuration>
281                         </execution>
282                     </executions>
283                 </plugin>
284                 <plugin>
285                     <artifactId>maven-clean-plugin</artifactId>
286                     <version>2.5</version>
287                     <configuration>
288                         <filesets>
289                             <fileset>
290                                 <directory>${basedir}/src/main/xtend-gen</directory>
291                                 <includes>
292                                     <include>**</include>
293                                 </includes>
294                             </fileset>
295                         </filesets>
296                     </configuration>
297                 </plugin>
298                 <plugin>
299                     <groupId>org.eclipse.m2e</groupId>
300                     <artifactId>lifecycle-mapping</artifactId>
301                     <version>1.0.0</version>
302                     <configuration>
303                         <lifecycleMappingMetadata>
304                             <pluginExecutions>
305                                 <pluginExecution>
306                                     <pluginExecutionFilter>
307                                         <groupId>org.apache.felix</groupId>
308                                         <artifactId>maven-bundle-plugin</artifactId>
309                                         <versionRange>[1.0,)</versionRange>
310                                         <goals>
311                                             <goal>manifest</goal>
312                                         </goals>
313                                     </pluginExecutionFilter>
314                                     <action>
315                                         <execute/>
316                                     </action>
317                                 </pluginExecution>
318                             </pluginExecutions>
319                         </lifecycleMappingMetadata>
320                     </configuration>
321                 </plugin>
322                 <plugin>
323                     <groupId>org.apache.maven.plugins</groupId>
324                     <artifactId>maven-javadoc-plugin</artifactId>
325                     <version>${maven.javadoc.version}</version>
326                     <configuration>
327                         <stylesheetfile>stylesheet.css</stylesheetfile>
328                     </configuration>
329                     <executions>
330                         <execution>
331                             <id>attach-javadocs</id>
332                             <goals>
333                                 <goal>jar</goal>
334                             </goals>
335                         </execution>
336                         <execution>
337                             <goals>
338                                 <goal>aggregate</goal>
339                             </goals>
340                             <phase>site</phase>
341                         </execution>
342                     </executions>
343                 </plugin>
344                 <plugin>
345                     <groupId>org.apache.maven.plugins</groupId>
346                     <artifactId>maven-release-plugin</artifactId>
347                     <version>${maven.release.version}</version>
348
349                     <!-- Since we have a maven plugin, we need to install it -->
350                     <configuration>
351                         <preparationGoals>clean install</preparationGoals>
352                         <completionGoals>clean install</completionGoals>
353                     </configuration>
354                 </plugin>
355             </plugins>
356         </pluginManagement>
357         <plugins>
358             <plugin>
359                 <groupId>org.apache.maven.plugins</groupId>
360                 <artifactId>maven-jar-plugin</artifactId>
361             </plugin>
362             <plugin>
363                 <groupId>org.apache.felix</groupId>
364                 <artifactId>maven-bundle-plugin</artifactId>
365             </plugin>
366             <plugin>
367                 <groupId>org.apache.maven.plugins</groupId>
368                 <artifactId>maven-source-plugin</artifactId>
369                 <version>${maven.source.version}</version>
370                 <executions>
371                     <execution>
372                         <id>attach-sources</id>
373                         <goals>
374                             <goal>jar</goal>
375                         </goals>
376                     </execution>
377                 </executions>
378             </plugin>
379             <plugin>
380                 <groupId>org.apache.maven.plugins</groupId>
381                 <artifactId>maven-javadoc-plugin</artifactId>
382             </plugin>
383         </plugins>
384     </build>
385
386     <reporting>
387         <plugins>
388             <plugin>
389                 <groupId>org.codehaus.mojo</groupId>
390                 <artifactId>findbugs-maven-plugin</artifactId>
391                 <version>2.5.3</version>
392                 <configuration>
393                     <effort>Max</effort>
394                     <threshold>Low</threshold>
395                     <goal>site</goal>
396                 </configuration>
397             </plugin>
398             <plugin>
399                 <groupId>org.codehaus.mojo</groupId>
400                 <artifactId>jdepend-maven-plugin</artifactId>
401                 <version>2.0-beta-2</version>
402             </plugin>
403         </plugins>
404     </reporting>
405 </project>