blob: 74cf3e778a9234740d7dd1267a4a320737072580 [file] [log] [blame]
Yuta HIGUCHIe76a24d2014-09-27 00:48:34 -07001<?xml version="1.0" encoding="UTF-8"?>
alshabibab984662014-12-04 18:56:18 -08002<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07003 ~ Copyright 2014-present Open Networking Foundation
alshabibab984662014-12-04 18:56:18 -08004 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 -->
Yuta HIGUCHIe76a24d2014-09-27 00:48:34 -070017<project xmlns="http://maven.apache.org/POM/4.0.0"
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4_0_0.xsd">
Brian O'Connor932d9412014-12-03 17:20:11 -080020 <modelVersion>4.0.0</modelVersion>
Yuta HIGUCHI382b2662014-10-02 15:44:12 -070021
Brian O'Connor932d9412014-12-03 17:20:11 -080022 <parent>
23 <groupId>org.onosproject</groupId>
24 <artifactId>onos-base</artifactId>
25 <version>1</version>
26 </parent>
27
28 <groupId>org.onosproject</groupId>
29 <artifactId>onos-build-conf</artifactId>
ONOS Jenkins User98c91a02018-09-04 22:07:36 +000030 <version>1.14.1-SNAPSHOT</version>
Ayaka Koshibe41ee2f02015-07-01 16:06:25 -070031 <description>Various ONOS build settings</description>
Brian O'Connor932d9412014-12-03 17:20:11 -080032
33 <properties>
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35 </properties>
Yuta HIGUCHI382b2662014-10-02 15:44:12 -070036
Brian O'Connorbe95f682016-05-18 15:40:19 -070037 <dependencies>
38 <dependency>
39 <groupId>com.puppycrawl.tools</groupId>
40 <artifactId>checkstyle</artifactId>
Yuta HIGUCHIe7e71a82018-05-18 16:36:43 -070041 <version>8.10</version>
Brian O'Connorbe95f682016-05-18 15:40:19 -070042 </dependency>
43 </dependencies>
44
45 <build>
46 <plugins>
47 <plugin>
48 <groupId>org.apache.maven.plugins</groupId>
49 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHI42cc1402018-05-21 12:08:03 -070050 <version>3.7.0</version>
51 <configuration>
52 <source>1.8</source>
53 <target>1.8</target>
54 <compilerArgs>
55 <compilerArg>-Xpkginfo:always</compilerArg>
56 </compilerArgs>
57 </configuration>
Brian O'Connorbe95f682016-05-18 15:40:19 -070058 </plugin>
Yuta HIGUCHI42cc1402018-05-21 12:08:03 -070059
60 <plugin>
61 <groupId>org.apache.maven.plugins</groupId>
62 <artifactId>maven-checkstyle-plugin</artifactId>
63 <version>3.0.0</version>
64 <dependencies>
65 <dependency>
66 <groupId>com.puppycrawl.tools</groupId>
67 <artifactId>checkstyle</artifactId>
68 <version>8.10</version>
69 </dependency>
70 </dependencies>
71 <configuration>
72 <configLocation>${project.build.outputDirectory}/onos/checkstyle-mvn.xml</configLocation>
73 <suppressionsLocation>${project.build.outputDirectory}/onos/suppressions.xml
74 </suppressionsLocation>
75 <headerLocation>${project.build.outputDirectory}/onos/onos-java.header</headerLocation>
76 <failsOnError>false</failsOnError>
77 <logViolationsToConsole>true</logViolationsToConsole>
78 <includeTestSourceDirectory>true</includeTestSourceDirectory>
79 <includeResources>false</includeResources>
80 </configuration>
81 <executions>
82 <execution>
83 <id>validate-checkstyle</id>
84 <phase>verify</phase>
85 <goals>
86 <goal>check</goal>
87 </goals>
88 </execution>
89 </executions>
90 </plugin>
91
Brian O'Connorbe95f682016-05-18 15:40:19 -070092 </plugins>
93 </build>
94
tom0eb04ca2014-08-25 14:34:51 -070095</project>
96