forked from opendaylight/yangtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
147 lines (134 loc) · 4.99 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<?xml version="1.0" encoding="UTF-8"?>
<!-- vi: set et smarttab sw=4 tabstop=4: -->
<!--
Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yangtools-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>common/parent</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>yangtools-aggregator</artifactId>
<name>yangtools</name> <!-- Used by Sonar to set project name -->
<packaging>pom</packaging>
<scm>
<connection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</connection>
<developerConnection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</developerConnection>
<url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>
<tag>HEAD</tag>
</scm>
<modules>
<module>common</module>
<module>yang</module>
<module>websocket</module>
<module>yang-validation-tool</module>
</modules>
<profiles>
<profile>
<id>benchmarks</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>benchmarks</module>
</modules>
</profile>
<!-- Turn off doclint on aggregated API javadoc build -->
<profile>
<id>jdk8</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<javadoc.args>-Xdoclint:none</javadoc.args>
</properties>
</profile>
<profile>
<!--
This profile is to ensure we only build javadocs reports
when we plan to deploy Maven site for our project.
-->
<id>maven-site</id>
<activation>
<file>
<exists>${user.dir}/deploy-site.xml</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<inherited>false</inherited>
<executions>
<execution>
<id>aggregate</id>
<goals>
<goal>aggregate</goal>
</goals>
<phase>package</phase>
<configuration>
<!-- ignore javadoc warnings caused by JDK8 -->
<additionalparam>${javadoc.args}</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<failOnViolation>false</failOnViolation>
<configLocation>checkstyle-logging.xml</configLocation>
<consoleOutput>true</consoleOutput>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<sourceDirectory>${project.basedir}</sourceDirectory>
<includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
<excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/,**\/src/main/xtend-gen\/</excludes>
</configuration>
<dependencies>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>checkstyle-logging</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<!--
Maven Site Configuration
The following configuration is necessary for maven-site-plugin to
correctly identify the correct deployment path for OpenDaylight Maven
sites.
-->
<url>${odl.site.url}/${project.groupId}/${stream}/</url>
<distributionManagement>
<site>
<id>opendaylight-site</id>
<url>${nexus.site.url}/</url>
</site>
</distributionManagement>
</project>