Yuta HIGUCHI | e76a24d | 2014-09-27 00:48:34 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
alshabib | ab98466 | 2014-12-04 18:56:18 -0800 | [diff] [blame] | 2 | <!-- |
Brian O'Connor | a09fe5b | 2017-08-03 21:12:30 -0700 | [diff] [blame] | 3 | ~ Copyright 2014-present Open Networking Foundation |
alshabib | ab98466 | 2014-12-04 18:56:18 -0800 | [diff] [blame] | 4 | ~ |
| 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 HIGUCHI | e76a24d | 2014-09-27 00:48:34 -0700 | [diff] [blame] | 17 | <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'Connor | 932d941 | 2014-12-03 17:20:11 -0800 | [diff] [blame] | 20 | <modelVersion>4.0.0</modelVersion> |
Yuta HIGUCHI | 382b266 | 2014-10-02 15:44:12 -0700 | [diff] [blame] | 21 | |
Brian O'Connor | 932d941 | 2014-12-03 17:20:11 -0800 | [diff] [blame] | 22 | <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 User | 4e5f2d6 | 2018-08-13 23:16:37 +0000 | [diff] [blame] | 30 | <version>1.14.0-SNAPSHOT</version> |
Ayaka Koshibe | 41ee2f0 | 2015-07-01 16:06:25 -0700 | [diff] [blame] | 31 | <description>Various ONOS build settings</description> |
Brian O'Connor | 932d941 | 2014-12-03 17:20:11 -0800 | [diff] [blame] | 32 | |
| 33 | <properties> |
| 34 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 35 | </properties> |
Yuta HIGUCHI | 382b266 | 2014-10-02 15:44:12 -0700 | [diff] [blame] | 36 | |
Brian O'Connor | be95f68 | 2016-05-18 15:40:19 -0700 | [diff] [blame] | 37 | <dependencies> |
| 38 | <dependency> |
| 39 | <groupId>com.puppycrawl.tools</groupId> |
| 40 | <artifactId>checkstyle</artifactId> |
Yuta HIGUCHI | e7e71a8 | 2018-05-18 16:36:43 -0700 | [diff] [blame] | 41 | <version>8.10</version> |
Brian O'Connor | be95f68 | 2016-05-18 15:40:19 -0700 | [diff] [blame] | 42 | </dependency> |
| 43 | </dependencies> |
| 44 | |
| 45 | <build> |
| 46 | <plugins> |
| 47 | <plugin> |
| 48 | <groupId>org.apache.maven.plugins</groupId> |
| 49 | <artifactId>maven-compiler-plugin</artifactId> |
Yuta HIGUCHI | 42cc140 | 2018-05-21 12:08:03 -0700 | [diff] [blame] | 50 | <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'Connor | be95f68 | 2016-05-18 15:40:19 -0700 | [diff] [blame] | 58 | </plugin> |
Yuta HIGUCHI | 42cc140 | 2018-05-21 12:08:03 -0700 | [diff] [blame] | 59 | |
| 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'Connor | be95f68 | 2016-05-18 15:40:19 -0700 | [diff] [blame] | 92 | </plugins> |
| 93 | </build> |
| 94 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 95 | </project> |
| 96 | |