Brian O'Connor | 75218c2 | 2016-04-09 02:13:23 -0700 | [diff] [blame] | 1 | <!-- |
Brian O'Connor | 72b2df2 | 2017-08-03 18:48:28 -0700 | [diff] [blame] | 2 | ~ Copyright 2016-present Open Networking Foundation |
Brian O'Connor | 75218c2 | 2016-04-09 02:13:23 -0700 | [diff] [blame] | 3 | ~ |
| 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | ~ you may not use this file except in compliance with the License. |
| 6 | ~ You may obtain a copy of the License at |
| 7 | ~ |
| 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | ~ |
| 10 | ~ Unless required by applicable law or agreed to in writing, software |
| 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | ~ See the License for the specific language governing permissions and |
| 14 | ~ limitations under the License. |
| 15 | --> |
Bharat saraswal | 9fab16b | 2016-09-23 23:27:24 +0530 | [diff] [blame] | 16 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 17 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Bharat saraswal | e304c25 | 2016-08-16 20:56:20 +0530 | [diff] [blame] | 18 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Vinod Kumar S | 212fcdd | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 19 | <modelVersion>4.0.0</modelVersion> |
| 20 | |
| 21 | <parent> |
| 22 | <groupId>org.onosproject</groupId> |
Bharat saraswal | e304c25 | 2016-08-16 20:56:20 +0530 | [diff] [blame] | 23 | <artifactId>onos-base</artifactId> |
| 24 | <version>1</version> |
Vinod Kumar S | 212fcdd | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 25 | </parent> |
| 26 | |
Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 27 | <artifactId>onos-yang-tools</artifactId> |
Ray Milkey | 6992980 | 2017-07-31 14:43:38 -0700 | [diff] [blame] | 28 | <version>2.2-SNAPSHOT</version> |
Bharat saraswal | c2d3be1 | 2016-06-16 00:29:12 +0530 | [diff] [blame] | 29 | <packaging>pom</packaging> |
Vinod Kumar S | 212fcdd | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 30 | |
| 31 | <properties> |
| 32 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Thomas Vachuska | 7c9cf60 | 2017-02-07 11:24:03 -0800 | [diff] [blame] | 33 | <onos-build-conf.version>1.3</onos-build-conf.version> |
Yuta HIGUCHI | 4e4674f | 2017-05-21 00:20:55 -0700 | [diff] [blame] | 34 | <guava.version>22.0</guava.version> |
Vinod Kumar S | 212fcdd | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 35 | </properties> |
| 36 | |
Bharat saraswal | c2d3be1 | 2016-06-16 00:29:12 +0530 | [diff] [blame] | 37 | <modules> |
Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 38 | <module>compiler</module> |
VinodKumarS-Huawei | 7501545 | 2016-11-23 21:03:45 +0530 | [diff] [blame] | 39 | <module>model</module> |
Thomas Vachuska | f40fb57 | 2016-11-20 11:43:57 -0800 | [diff] [blame] | 40 | <module>runtime</module> |
Henry Yu | 53b65be | 2017-02-12 13:12:22 -0500 | [diff] [blame] | 41 | <module>serializers</module> |
Bharat saraswal | c2d3be1 | 2016-06-16 00:29:12 +0530 | [diff] [blame] | 42 | </modules> |
Brian O'Connor | c56a6ed | 2016-08-04 14:54:48 -0700 | [diff] [blame] | 43 | |
Ray Milkey | ffd9ef8 | 2016-10-06 16:58:16 -0700 | [diff] [blame] | 44 | <!-- FIXME this can be removed if/when buck-api is released --> |
| 45 | <repositories> |
| 46 | <repository> |
| 47 | <id>snapshots</id> |
| 48 | <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 49 | <snapshots> |
| 50 | <enabled>true</enabled> |
| 51 | <updatePolicy>daily</updatePolicy> |
| 52 | <checksumPolicy>fail</checksumPolicy> |
| 53 | </snapshots> |
| 54 | </repository> |
| 55 | </repositories> |
| 56 | |
Brian O'Connor | c56a6ed | 2016-08-04 14:54:48 -0700 | [diff] [blame] | 57 | <dependencies> |
| 58 | <dependency> |
| 59 | <groupId>com.google.guava</groupId> |
| 60 | <artifactId>guava</artifactId> |
Yuta HIGUCHI | 4e4674f | 2017-05-21 00:20:55 -0700 | [diff] [blame] | 61 | <version>${guava.version}</version> |
Brian O'Connor | c56a6ed | 2016-08-04 14:54:48 -0700 | [diff] [blame] | 62 | </dependency> |
| 63 | <dependency> |
| 64 | <groupId>org.osgi</groupId> |
| 65 | <artifactId>org.osgi.compendium</artifactId> |
Bharat saraswal | e304c25 | 2016-08-16 20:56:20 +0530 | [diff] [blame] | 66 | <version>5.0.0</version> |
Brian O'Connor | c56a6ed | 2016-08-04 14:54:48 -0700 | [diff] [blame] | 67 | <scope>test</scope> |
| 68 | </dependency> |
Ray Milkey | b322f08 | 2016-10-06 11:06:10 -0700 | [diff] [blame] | 69 | <dependency> |
Ray Milkey | b322f08 | 2016-10-06 11:06:10 -0700 | [diff] [blame] | 70 | <groupId>org.hamcrest</groupId> |
| 71 | <artifactId>hamcrest-all</artifactId> |
| 72 | <version>1.3</version> |
Ray Milkey | ffd9ef8 | 2016-10-06 16:58:16 -0700 | [diff] [blame] | 73 | <scope>test</scope> |
Ray Milkey | b322f08 | 2016-10-06 11:06:10 -0700 | [diff] [blame] | 74 | </dependency> |
surya-huawei | 8b19ed0 | 2017-05-11 12:55:36 +0530 | [diff] [blame] | 75 | <!-- https://mvnrepository.com/artifact/org.eclipse.jdt/org.eclipse.jdt.core --> |
Vidyashree Rama | b6d41b2 | 2017-05-16 17:01:42 +0530 | [diff] [blame] | 76 | <!-- FIXME signature files generated by pkg need to be removed--> |
| 77 | <!--dependency> |
surya-huawei | 8b19ed0 | 2017-05-11 12:55:36 +0530 | [diff] [blame] | 78 | <groupId>org.eclipse.jdt</groupId> |
| 79 | <artifactId>org.eclipse.jdt.core</artifactId> |
| 80 | <version>3.10.0</version> |
Vidyashree Rama | b6d41b2 | 2017-05-16 17:01:42 +0530 | [diff] [blame] | 81 | </dependency--> |
Brian O'Connor | c56a6ed | 2016-08-04 14:54:48 -0700 | [diff] [blame] | 82 | </dependencies> |
| 83 | |
| 84 | <build> |
Bharat saraswal | 9fab16b | 2016-09-23 23:27:24 +0530 | [diff] [blame] | 85 | <plugins> |
| 86 | <plugin> |
| 87 | <groupId>org.apache.maven.plugins</groupId> |
| 88 | <artifactId>maven-compiler-plugin</artifactId> |
| 89 | <version>3.5.1</version> |
| 90 | <configuration> |
| 91 | <source>1.8</source> |
| 92 | <target>1.8</target> |
| 93 | </configuration> |
| 94 | </plugin> |
| 95 | <plugin> |
| 96 | <groupId>org.apache.felix</groupId> |
| 97 | <artifactId>maven-bundle-plugin</artifactId> |
Thomas Vachuska | 17abb7f | 2017-03-02 13:59:46 -0800 | [diff] [blame] | 98 | <version>3.2.0</version> |
Bharat saraswal | 9fab16b | 2016-09-23 23:27:24 +0530 | [diff] [blame] | 99 | <extensions>true</extensions> |
Yuta HIGUCHI | 4e4674f | 2017-05-21 00:20:55 -0700 | [diff] [blame] | 100 | <configuration> |
| 101 | <niceManifest>true</niceManifest> |
| 102 | <instructions> |
| 103 | <!-- Accept any version of Guava, released later than the one we use --> |
| 104 | <Import-Package> |
| 105 | com.google.*;version=${guava.version}, |
| 106 | * |
| 107 | </Import-Package> |
| 108 | </instructions> |
| 109 | </configuration> |
Bharat saraswal | 9fab16b | 2016-09-23 23:27:24 +0530 | [diff] [blame] | 110 | </plugin> |
Thomas Vachuska | 7c9cf60 | 2017-02-07 11:24:03 -0800 | [diff] [blame] | 111 | <plugin> |
| 112 | <groupId>org.apache.maven.plugins</groupId> |
| 113 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 114 | <version>2.17</version> |
| 115 | <dependencies> |
| 116 | <dependency> |
| 117 | <groupId>org.onosproject</groupId> |
| 118 | <artifactId>onos-build-conf</artifactId> |
| 119 | <version>${onos-build-conf.version}</version> |
| 120 | </dependency> |
| 121 | </dependencies> |
| 122 | <configuration> |
| 123 | <!-- begin: workaround for unexpected NullPointerException on Eclipse --> |
| 124 | <sourceDirectory>${project.build.sourceDirectory} |
| 125 | </sourceDirectory> |
| 126 | <testSourceDirectory>${project.build.testSourceDirectory} |
| 127 | </testSourceDirectory> |
| 128 | <!-- end: workaround for unexpected NullPointerException on Eclipse --> |
| 129 | <configLocation>onos/checkstyle.xml</configLocation> |
| 130 | <suppressionsLocation>onos/suppressions.xml |
| 131 | </suppressionsLocation> |
| 132 | <failsOnError>false</failsOnError> |
| 133 | <logViolationsToConsole>true</logViolationsToConsole> |
| 134 | <includeTestSourceDirectory>true |
| 135 | </includeTestSourceDirectory> |
| 136 | </configuration> |
| 137 | <executions> |
| 138 | <execution> |
| 139 | <id>validate-checkstyle</id> |
| 140 | <phase>verify</phase> |
| 141 | <goals> |
| 142 | <goal>check</goal> |
| 143 | </goals> |
| 144 | </execution> |
| 145 | </executions> |
| 146 | </plugin> |
Bharat saraswal | 9fab16b | 2016-09-23 23:27:24 +0530 | [diff] [blame] | 147 | </plugins> |
Brian O'Connor | c56a6ed | 2016-08-04 14:54:48 -0700 | [diff] [blame] | 148 | </build> |
Vinod Kumar S | 212fcdd | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 149 | </project> |