blob: 0a06f0684a7b8db7246b420151ca912615ebb916 [file] [log] [blame]
Brian O'Connor75218c22016-04-09 02:13:23 -07001<!--
Brian O'Connor72b2df22017-08-03 18:48:28 -07002 ~ Copyright 2016-present Open Networking Foundation
Brian O'Connor75218c22016-04-09 02:13:23 -07003 ~
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 saraswal9fab16b2016-09-23 23:27:24 +053016<project xmlns="http://maven.apache.org/POM/4.0.0"
17 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Bharat saraswale304c252016-08-16 20:56:20 +053018 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Vinod Kumar S212fcdd2016-02-05 16:15:09 +053019 <modelVersion>4.0.0</modelVersion>
20
21 <parent>
22 <groupId>org.onosproject</groupId>
Bharat saraswale304c252016-08-16 20:56:20 +053023 <artifactId>onos-base</artifactId>
24 <version>1</version>
Vinod Kumar S212fcdd2016-02-05 16:15:09 +053025 </parent>
26
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053027 <artifactId>onos-yang-tools</artifactId>
Ray Milkey3b1a21e2017-11-30 09:40:26 -080028 <version>2.4-SNAPSHOT</version>
Bharat saraswalc2d3be12016-06-16 00:29:12 +053029 <packaging>pom</packaging>
Vinod Kumar S212fcdd2016-02-05 16:15:09 +053030
31 <properties>
32 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIcf489c32017-12-20 20:39:05 -080033 <onos-build-conf.version>1.12.0</onos-build-conf.version>
Yuta HIGUCHI4e4674f2017-05-21 00:20:55 -070034 <guava.version>22.0</guava.version>
Vinod Kumar S212fcdd2016-02-05 16:15:09 +053035 </properties>
36
Bharat saraswalc2d3be12016-06-16 00:29:12 +053037 <modules>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053038 <module>compiler</module>
VinodKumarS-Huawei75015452016-11-23 21:03:45 +053039 <module>model</module>
Thomas Vachuskaf40fb572016-11-20 11:43:57 -080040 <module>runtime</module>
Henry Yu53b65be2017-02-12 13:12:22 -050041 <module>serializers</module>
Bharat saraswalc2d3be12016-06-16 00:29:12 +053042 </modules>
Brian O'Connorc56a6ed2016-08-04 14:54:48 -070043
Ray Milkeyffd9ef82016-10-06 16:58:16 -070044 <!-- 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'Connorc56a6ed2016-08-04 14:54:48 -070057 <dependencies>
58 <dependency>
59 <groupId>com.google.guava</groupId>
60 <artifactId>guava</artifactId>
Yuta HIGUCHI4e4674f2017-05-21 00:20:55 -070061 <version>${guava.version}</version>
Brian O'Connorc56a6ed2016-08-04 14:54:48 -070062 </dependency>
63 <dependency>
64 <groupId>org.osgi</groupId>
65 <artifactId>org.osgi.compendium</artifactId>
Bharat saraswale304c252016-08-16 20:56:20 +053066 <version>5.0.0</version>
Brian O'Connorc56a6ed2016-08-04 14:54:48 -070067 <scope>test</scope>
68 </dependency>
Ray Milkeyb322f082016-10-06 11:06:10 -070069 <dependency>
Ray Milkeyb322f082016-10-06 11:06:10 -070070 <groupId>org.hamcrest</groupId>
71 <artifactId>hamcrest-all</artifactId>
72 <version>1.3</version>
Ray Milkeyffd9ef82016-10-06 16:58:16 -070073 <scope>test</scope>
Ray Milkeyb322f082016-10-06 11:06:10 -070074 </dependency>
surya-huawei8b19ed02017-05-11 12:55:36 +053075 <!-- https://mvnrepository.com/artifact/org.eclipse.jdt/org.eclipse.jdt.core -->
Vidyashree Ramab6d41b22017-05-16 17:01:42 +053076 <!-- FIXME signature files generated by pkg need to be removed-->
77 <!--dependency>
surya-huawei8b19ed02017-05-11 12:55:36 +053078 <groupId>org.eclipse.jdt</groupId>
79 <artifactId>org.eclipse.jdt.core</artifactId>
80 <version>3.10.0</version>
Vidyashree Ramab6d41b22017-05-16 17:01:42 +053081 </dependency-->
Brian O'Connorc56a6ed2016-08-04 14:54:48 -070082 </dependencies>
83
84 <build>
Bharat saraswal9fab16b2016-09-23 23:27:24 +053085 <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 Vachuska17abb7f2017-03-02 13:59:46 -080098 <version>3.2.0</version>
Bharat saraswal9fab16b2016-09-23 23:27:24 +053099 <extensions>true</extensions>
Yuta HIGUCHI4e4674f2017-05-21 00:20:55 -0700100 <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 saraswal9fab16b2016-09-23 23:27:24 +0530110 </plugin>
Thomas Vachuska7c9cf602017-02-07 11:24:03 -0800111 <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 -->
Yuta HIGUCHIcf489c32017-12-20 20:39:05 -0800129 <configLocation>onos/checkstyle-mvn.xml</configLocation>
Thomas Vachuska7c9cf602017-02-07 11:24:03 -0800130 <suppressionsLocation>onos/suppressions.xml
131 </suppressionsLocation>
132 <failsOnError>false</failsOnError>
133 <logViolationsToConsole>true</logViolationsToConsole>
134 <includeTestSourceDirectory>true
135 </includeTestSourceDirectory>
Yuta HIGUCHIcf489c32017-12-20 20:39:05 -0800136 <headerLocation>onos/apache2-java.header</headerLocation>
Thomas Vachuska7c9cf602017-02-07 11:24:03 -0800137 </configuration>
138 <executions>
139 <execution>
140 <id>validate-checkstyle</id>
141 <phase>verify</phase>
142 <goals>
143 <goal>check</goal>
144 </goals>
145 </execution>
146 </executions>
147 </plugin>
Bharat saraswal9fab16b2016-09-23 23:27:24 +0530148 </plugins>
Brian O'Connorc56a6ed2016-08-04 14:54:48 -0700149 </build>
Vinod Kumar S212fcdd2016-02-05 16:15:09 +0530150</project>