blob: 9a9998c5fa41ae0d2890499763721a2731af7a35 [file] [log] [blame]
Brian O'Connor75218c22016-04-09 02:13:23 -07001<!--
2 ~ Copyright 2016-present Open Networking Laboratory
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 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>
Thomas Vachuska27991ac2017-05-12 09:23:18 -070028 <version>2.0-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>
Thomas Vachuska7c9cf602017-02-07 11:24:03 -080033 <onos-build-conf.version>1.3</onos-build-conf.version>
Vinod Kumar S212fcdd2016-02-05 16:15:09 +053034 </properties>
35
Bharat saraswalc2d3be12016-06-16 00:29:12 +053036 <modules>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053037 <module>compiler</module>
VinodKumarS-Huawei75015452016-11-23 21:03:45 +053038 <module>model</module>
Thomas Vachuskaf40fb572016-11-20 11:43:57 -080039 <module>runtime</module>
Henry Yu53b65be2017-02-12 13:12:22 -050040 <module>serializers</module>
Bharat saraswalc2d3be12016-06-16 00:29:12 +053041 </modules>
Brian O'Connorc56a6ed2016-08-04 14:54:48 -070042
Ray Milkeyffd9ef82016-10-06 16:58:16 -070043 <!-- FIXME this can be removed if/when buck-api is released -->
44 <repositories>
45 <repository>
46 <id>snapshots</id>
47 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
48 <snapshots>
49 <enabled>true</enabled>
50 <updatePolicy>daily</updatePolicy>
51 <checksumPolicy>fail</checksumPolicy>
52 </snapshots>
53 </repository>
54 </repositories>
55
Brian O'Connorc56a6ed2016-08-04 14:54:48 -070056 <dependencies>
57 <dependency>
58 <groupId>com.google.guava</groupId>
59 <artifactId>guava</artifactId>
Bharat saraswale304c252016-08-16 20:56:20 +053060 <version>19.0</version>
Brian O'Connorc56a6ed2016-08-04 14:54:48 -070061 </dependency>
62 <dependency>
63 <groupId>org.osgi</groupId>
64 <artifactId>org.osgi.compendium</artifactId>
Bharat saraswale304c252016-08-16 20:56:20 +053065 <version>5.0.0</version>
Brian O'Connorc56a6ed2016-08-04 14:54:48 -070066 <scope>test</scope>
67 </dependency>
Ray Milkeyb322f082016-10-06 11:06:10 -070068 <dependency>
Ray Milkeyb322f082016-10-06 11:06:10 -070069 <groupId>org.hamcrest</groupId>
70 <artifactId>hamcrest-all</artifactId>
71 <version>1.3</version>
Ray Milkeyffd9ef82016-10-06 16:58:16 -070072 <scope>test</scope>
Ray Milkeyb322f082016-10-06 11:06:10 -070073 </dependency>
surya-huawei8b19ed02017-05-11 12:55:36 +053074 <!-- https://mvnrepository.com/artifact/org.eclipse.jdt/org.eclipse.jdt.core -->
Vidyashree Ramab6d41b22017-05-16 17:01:42 +053075 <!-- FIXME signature files generated by pkg need to be removed-->
76 <!--dependency>
surya-huawei8b19ed02017-05-11 12:55:36 +053077 <groupId>org.eclipse.jdt</groupId>
78 <artifactId>org.eclipse.jdt.core</artifactId>
79 <version>3.10.0</version>
Vidyashree Ramab6d41b22017-05-16 17:01:42 +053080 </dependency-->
Brian O'Connorc56a6ed2016-08-04 14:54:48 -070081 </dependencies>
82
83 <build>
Bharat saraswal9fab16b2016-09-23 23:27:24 +053084 <plugins>
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-compiler-plugin</artifactId>
88 <version>3.5.1</version>
89 <configuration>
90 <source>1.8</source>
91 <target>1.8</target>
92 </configuration>
93 </plugin>
94 <plugin>
95 <groupId>org.apache.felix</groupId>
96 <artifactId>maven-bundle-plugin</artifactId>
Thomas Vachuska17abb7f2017-03-02 13:59:46 -080097 <version>3.2.0</version>
Bharat saraswal9fab16b2016-09-23 23:27:24 +053098 <extensions>true</extensions>
99 </plugin>
Thomas Vachuska7c9cf602017-02-07 11:24:03 -0800100 <plugin>
101 <groupId>org.apache.maven.plugins</groupId>
102 <artifactId>maven-checkstyle-plugin</artifactId>
103 <version>2.17</version>
104 <dependencies>
105 <dependency>
106 <groupId>org.onosproject</groupId>
107 <artifactId>onos-build-conf</artifactId>
108 <version>${onos-build-conf.version}</version>
109 </dependency>
110 </dependencies>
111 <configuration>
112 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
113 <sourceDirectory>${project.build.sourceDirectory}
114 </sourceDirectory>
115 <testSourceDirectory>${project.build.testSourceDirectory}
116 </testSourceDirectory>
117 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
118 <configLocation>onos/checkstyle.xml</configLocation>
119 <suppressionsLocation>onos/suppressions.xml
120 </suppressionsLocation>
121 <failsOnError>false</failsOnError>
122 <logViolationsToConsole>true</logViolationsToConsole>
123 <includeTestSourceDirectory>true
124 </includeTestSourceDirectory>
125 </configuration>
126 <executions>
127 <execution>
128 <id>validate-checkstyle</id>
129 <phase>verify</phase>
130 <goals>
131 <goal>check</goal>
132 </goals>
133 </execution>
134 </executions>
135 </plugin>
Bharat saraswal9fab16b2016-09-23 23:27:24 +0530136 </plugins>
Brian O'Connorc56a6ed2016-08-04 14:54:48 -0700137 </build>
Vinod Kumar S212fcdd2016-02-05 16:15:09 +0530138</project>