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