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

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.