Merge "Provide consistent hash code for enums and use it too"
[controller.git] / opendaylight / sal / yang-prototype / 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     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>yang-prototype</artifactId>
7     <version>0.5-SNAPSHOT</version>
8     <packaging>pom</packaging>
9     <name>${project.artifactId}</name>
10     <description>
11         yang-prototype
12     </description>
13     <scm>
14       <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
15       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
16       <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
17     </scm>
18
19     <modules>
20         <module>sal</module>
21         <module>concepts-lang</module>
22     </modules>
23
24     <properties>
25         <yangtools.version>0.5.5-SNAPSHOT</yangtools.version>
26         <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
27         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
28         <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
29         <siteplugin>3.2</siteplugin>
30         <defaultStylesheet>${project.basedir}/src/site/resources/stylesheet.css</defaultStylesheet>
31         <projectinfo>2.6</projectinfo>
32         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
33         <compiler.version>2.3.2</compiler.version>
34         <surefire.version>2.13</surefire.version>
35         <exam.version>3.0.0</exam.version>
36         <url.version>1.5.0</url.version>
37         <enunciate.version>1.26.2</enunciate.version>
38         <sonar.branch>${user.name}-private-view</sonar.branch>
39         <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
40         <logback.version>1.0.9</logback.version>
41         <slf4j.version>1.7.2</slf4j.version>
42     </properties>
43
44     <pluginRepositories>
45         <pluginRepository>
46           <id>central</id>
47           <name>maven repo1</name>
48           <url>http://repo1.maven.org/maven2</url>
49           <snapshots>
50              <enabled>false</enabled>
51           </snapshots>
52           <releases>
53             <enabled>true</enabled>
54           </releases>
55         </pluginRepository>
56         <pluginRepository>
57             <id>opendaylight.snapshot</id>
58             <name>opendaylight.snapshot</name>
59             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
60         </pluginRepository>
61     </pluginRepositories>
62
63
64     <repositories>
65         <!-- EBR release -->
66         <!-- http://repository.springsource.com/maven/bundles/release -->
67         <repository>
68             <id>ebr-bundles-release</id>
69             <name>ebr-bundles-release</name>
70             <url>${nexusproxy}/repositories/ebr-bundles-release/</url>
71         </repository>
72         <!-- EBR external -->
73         <!-- http://repository.springsource.com/maven/bundles/external -->
74         <repository>
75             <id>ebr-bundles-external</id>
76             <name>ebr-bundles-external</name>
77             <url>${nexusproxy}/repositories/ebr-bundles-external/</url>
78         </repository>
79         <repository>
80           <id>central</id>
81           <name>central</name>
82           <url>http://repo1.maven.org/maven2</url>
83           <snapshots>
84              <enabled>false</enabled>
85           </snapshots>
86           <releases>
87             <enabled>true</enabled>
88           </releases>
89         </repository>
90         <!-- Pax mirror -->
91         <!-- https://oss.sonatype.org/content/repositories/ops4j-releases -->
92         <repository>
93             <id>ops4j-releases</id>
94             <name>ops4j-releases</name>
95             <url>${nexusproxy}/repositories/ops4j-releases/</url>
96         </repository>
97         <!-- Third Packages hosted in local maven because not available in 
98             other places -->
99         <repository>
100             <id>thirdparty</id>
101             <name>thirdparty</name>
102             <url>${nexusproxy}/repositories/thirdparty/</url>
103         </repository>
104         <!-- Jboss mirror -->
105         <!-- https://repository.jboss.org/nexus/content/repositories/releases -->
106         <repository>
107             <id>jboss.releases</id>
108             <name>jboss.releases</name>
109             <url>${nexusproxy}/repositories/jboss.releases/</url>
110         </repository>
111         <!-- OpenDayLight Released artifact -->
112         <repository>
113             <id>opendaylight-release</id>
114             <name>opendaylight-release</name>
115             <url>${nexusproxy}/repositories/opendaylight.release/</url>
116         </repository>
117         <!-- OpenDayLight Snapshot artifact -->
118         <repository>
119             <id>opendaylight-snapshot</id>
120             <name>opendaylight-snapshot</name>
121             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
122         </repository>
123     </repositories>
124
125     <distributionManagement>
126         <!-- OpenDayLight Released artifact -->
127         <repository>
128             <id>opendaylight-release</id>
129             <url>${nexusproxy}/repositories/opendaylight.release/</url>
130         </repository>
131         <!-- OpenDayLight Snapshot artifact -->
132         <snapshotRepository>
133             <id>opendaylight-snapshot</id>
134             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
135         </snapshotRepository>
136         <site>
137             <id>${project.artifactId}-site</id>
138             <url>./</url>
139         </site>
140     </distributionManagement>
141
142     <dependencyManagement>
143         <dependencies>
144             <dependency>
145                 <groupId>junit</groupId>
146                 <artifactId>junit</artifactId>
147                 <version>4.10</version>
148                 <scope>test</scope>
149                 <optional>true</optional>
150             </dependency>
151             <dependency>
152                 <groupId>org.slf4j</groupId>
153                 <artifactId>slf4j-api</artifactId>
154                 <version>1.7.2</version>
155             </dependency>
156         </dependencies>
157     </dependencyManagement>
158
159     <build>
160         <plugins>
161             <plugin>
162                 <groupId>org.apache.maven.plugins</groupId>
163                 <artifactId>maven-compiler-plugin</artifactId>
164                 <version>${compiler.version}</version>
165                 <inherited>true</inherited>
166                 <configuration>
167                     <source>1.7</source>
168                     <target>1.7</target>
169                 </configuration>
170             </plugin>
171             <plugin>
172                 <artifactId>maven-source-plugin</artifactId>
173                 <executions>
174                     <execution>
175                         <id>attach-sources</id>
176                         <phase>deploy</phase>
177                         <goals>
178                             <goal>jar-no-fork</goal>
179                         </goals>
180                     </execution>
181                 </executions>
182             </plugin>
183             <plugin>
184                 <!-- explicitly define maven-deploy-plugin after other to 
185                     force exec order -->
186                 <artifactId>maven-deploy-plugin</artifactId>
187                 <executions>
188                     <execution>
189                         <id>deploy</id>
190                         <phase>deploy</phase>
191                         <goals>
192                             <goal>deploy</goal>
193                         </goals>
194                     </execution>
195                 </executions>
196             </plugin>
197
198             <plugin>
199                 <groupId>org.apache.maven.plugins</groupId>
200                 <artifactId>maven-javadoc-plugin</artifactId>
201                 <configuration>
202                     <stylesheetfile>${defaultStylesheet}</stylesheetfile>
203                     <excludePackageNames>
204                         *.opendaylight.controller.antlrv4.code.gen
205                     </excludePackageNames>
206                 </configuration>
207                 <executions>
208                     <execution>
209                         <id>aggregate</id>
210                         <goals>
211                             <goal>aggregate</goal>
212                         </goals>
213                         <phase>site</phase>
214                     </execution>
215                     <execution>
216                         <id>attach-javadocs</id>
217                         <phase>deploy</phase>
218                         <goals>
219                             <goal>jar</goal>
220                         </goals>
221                     </execution>
222                 </executions>
223             </plugin>
224
225             <plugin>
226                 <groupId>org.apache.maven.plugins</groupId>
227                 <artifactId>maven-site-plugin</artifactId>
228                 <version>${siteplugin}</version>
229                 <inherited>false</inherited>
230                 <dependencies>
231                     <dependency>
232                         <groupId>org.apache.maven.doxia</groupId>
233                         <artifactId>doxia-module-markdown</artifactId>
234                         <version>1.3</version>
235                     </dependency>
236                 </dependencies>
237                 <configuration>
238                     <siteDirectory>${project.basedir}/src/site</siteDirectory>
239                     <inputEncoding>UTF-8</inputEncoding>
240                     <outputEncoding>UTF-8</outputEncoding>
241                 </configuration>
242             </plugin>
243         </plugins>
244
245         <pluginManagement>
246             <plugins>
247                 <plugin>
248                     <groupId>org.apache.maven.plugins</groupId>
249                     <artifactId>maven-source-plugin</artifactId>
250                     <version>2.2.1</version>
251                 </plugin>
252                 <plugin>
253                     <groupId>org.apache.maven.plugins</groupId>
254                     <artifactId>maven-deploy-plugin</artifactId>
255                     <version>2.7</version>
256                 </plugin>
257                 <plugin>
258                     <groupId>org.apache.maven.plugins</groupId>
259                     <artifactId>maven-surefire-plugin</artifactId>
260                     <version>2.15</version>
261                 </plugin>
262                 <plugin>
263                     <groupId>org.apache.maven.plugins</groupId>
264                     <artifactId>maven-site-plugin</artifactId>
265                     <version>${siteplugin}</version>
266                     <dependencies>
267                         <dependency>
268                             <groupId>org.apache.maven.doxia</groupId>
269                             <artifactId>doxia-module-markdown</artifactId>
270                             <version>1.3</version>
271                         </dependency>
272                     </dependencies>
273                     <configuration>
274                         <siteDirectory>${project.parent.basedir}/src/site</siteDirectory>
275                         <inputEncoding>UTF-8</inputEncoding>
276                         <outputEncoding>UTF-8</outputEncoding>
277                     </configuration>
278                 </plugin>
279                 <plugin>
280                     <groupId>org.apache.maven.plugins</groupId>
281                     <artifactId>maven-javadoc-plugin</artifactId>
282                     <version>2.9.1</version>
283                     <configuration>
284                         <stylesheetfile>${defaultStylesheet}</stylesheetfile>
285                     </configuration>
286                     <executions>
287                         <execution>
288                             <id>aggregate</id>
289                             <goals>
290                                 <goal>aggregate</goal>
291                             </goals>
292                             <phase>site</phase>
293                         </execution>
294                         <execution>
295                             <id>attach-javadocs</id>
296                             <phase>deploy</phase>
297                             <goals>
298                                 <goal>jar</goal>
299                             </goals>
300                         </execution>
301                     </executions>
302                 </plugin>
303             </plugins>
304         </pluginManagement>
305
306     </build>
307
308     <reporting>
309         <plugins>
310             <plugin>
311                 <groupId>org.apache.maven.plugins</groupId>
312                 <artifactId>maven-javadoc-plugin</artifactId>
313                 <version>2.9.1</version>
314                 <reportSets>
315                     <reportSet>
316                         <reports>
317                             <report>javadoc</report>
318                         </reports>
319                     </reportSet>
320                 </reportSets>
321             </plugin>
322             <plugin>
323                 <groupId>org.codehaus.mojo</groupId>
324                 <artifactId>findbugs-maven-plugin</artifactId>
325                 <version>2.4.0</version>
326                 <configuration>
327                     <effort>Max</effort>
328                     <threshold>Low</threshold>
329                     <goal>site</goal>
330                 </configuration>
331             </plugin>
332             <plugin>
333                 <groupId>org.codehaus.mojo</groupId>
334                 <artifactId>jdepend-maven-plugin</artifactId>
335                 <version>2.0-beta-2</version>
336             </plugin>
337         </plugins>
338     </reporting>
339
340     <profiles>
341         <profile>
342             <id>viewbuild</id>
343             <activation>
344                 <activeByDefault>true</activeByDefault>
345             </activation>
346             <properties>
347                 <build.suffix>${project.version}</build.suffix>
348             </properties>
349         </profile>
350         <profile>
351             <id>jenkins</id>
352             <activation>
353                 <property>
354                     <name>BUILDSUFFIX</name>
355                 </property>
356             </activation>
357             <properties>
358                 <build.suffix>${BUILDSUFFIX}</build.suffix>
359             </properties>
360         </profile>
361     </profiles>
362
363 </project>