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