Remove JDK 8 doclint override
[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     <parent>
14       <groupId>org.opendaylight.yangtools</groupId>
15       <artifactId>yangtools-parent</artifactId>
16       <version>1.0.0-SNAPSHOT</version>
17       <relativePath>common/parent</relativePath>
18     </parent>
19
20     <modelVersion>4.0.0</modelVersion>
21     <artifactId>yangtools-aggregator</artifactId>
22     <name>yangtools</name> <!-- Used by Sonar to set project name -->
23     <packaging>pom</packaging>
24
25     <scm>
26         <connection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</connection>
27         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</developerConnection>
28         <url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>
29         <tag>HEAD</tag>
30     </scm>
31
32     <modules>
33         <module>common</module>
34         <module>yang</module>
35         <module>websocket</module>
36         <module>yang-validation-tool</module>
37     </modules>
38
39     <profiles>
40       <profile>
41         <id>benchmarks</id>
42         <activation>
43           <activeByDefault>false</activeByDefault>
44         </activation>
45         <modules>
46           <module>benchmarks</module>
47         </modules>
48       </profile>
49
50       <profile>
51         <!--
52             This profile is to ensure we only build javadocs reports
53             when we plan to deploy Maven site for our project.
54         -->
55         <id>maven-site</id>
56         <activation>
57           <file>
58             <exists>${user.dir}/deploy-site.xml</exists>
59           </file>
60         </activation>
61
62         <build>
63           <plugins>
64             <plugin>
65               <groupId>org.apache.maven.plugins</groupId>
66               <artifactId>maven-javadoc-plugin</artifactId>
67               <inherited>false</inherited>
68               <executions>
69                 <execution>
70                   <id>aggregate</id>
71                   <goals>
72                     <goal>aggregate</goal>
73                   </goals>
74                   <phase>package</phase>
75                   <configuration>
76                     <!-- ignore javadoc warnings caused by JDK8 -->
77                     <additionalparam>${javadoc.args}</additionalparam>
78                   </configuration>
79               </execution>
80               </executions>
81             </plugin>
82           </plugins>
83         </build>
84       </profile>
85     </profiles>
86
87     <build>
88         <pluginManagement>
89             <plugins>
90                 <plugin>
91                  <groupId>org.apache.maven.plugins</groupId>
92                  <artifactId>maven-checkstyle-plugin</artifactId>
93                  <configuration>
94                    <failOnViolation>false</failOnViolation>
95                    <configLocation>checkstyle-logging.xml</configLocation>
96                    <consoleOutput>true</consoleOutput>
97                    <includeTestSourceDirectory>true</includeTestSourceDirectory>
98                    <sourceDirectory>${project.basedir}</sourceDirectory>
99                    <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
100                    <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/,**\/src/main/xtend-gen\/</excludes>
101                  </configuration>
102                  <dependencies>
103                    <dependency>
104                      <groupId>org.opendaylight.yangtools</groupId>
105                      <artifactId>checkstyle-logging</artifactId>
106                      <version>${project.version}</version>
107                    </dependency>
108                  </dependencies>
109                  <executions>
110                    <execution>
111                      <goals>
112                        <goal>check</goal>
113                      </goals>
114                    </execution>
115                  </executions>
116                </plugin>
117             </plugins>
118         </pluginManagement>
119     </build>
120
121   <!--
122       Maven Site Configuration
123
124       The following configuration is necessary for maven-site-plugin to
125       correctly identify the correct deployment path for OpenDaylight Maven
126       sites.
127   -->
128   <url>${odl.site.url}/${project.groupId}/${stream}/</url>
129
130   <distributionManagement>
131     <site>
132       <id>opendaylight-site</id>
133       <url>${nexus.site.url}/</url>
134     </site>
135   </distributionManagement>
136 </project>