blob: 5f2bab7c81e87057fc7776a1096e09bc704fdcfc [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>
Ray Milkeyfb0e9df2017-03-24 10:37:35 -070028 <version>1.12-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>
Brian O'Connorc56a6ed2016-08-04 14:54:48 -070074 </dependencies>
75
76 <build>
Bharat saraswal9fab16b2016-09-23 23:27:24 +053077 <plugins>
78 <plugin>
79 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-compiler-plugin</artifactId>
81 <version>3.5.1</version>
82 <configuration>
83 <source>1.8</source>
84 <target>1.8</target>
85 </configuration>
86 </plugin>
87 <plugin>
88 <groupId>org.apache.felix</groupId>
89 <artifactId>maven-bundle-plugin</artifactId>
Thomas Vachuska17abb7f2017-03-02 13:59:46 -080090 <version>3.2.0</version>
Bharat saraswal9fab16b2016-09-23 23:27:24 +053091 <extensions>true</extensions>
92 </plugin>
Thomas Vachuska7c9cf602017-02-07 11:24:03 -080093 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-checkstyle-plugin</artifactId>
96 <version>2.17</version>
97 <dependencies>
98 <dependency>
99 <groupId>org.onosproject</groupId>
100 <artifactId>onos-build-conf</artifactId>
101 <version>${onos-build-conf.version}</version>
102 </dependency>
103 </dependencies>
104 <configuration>
105 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
106 <sourceDirectory>${project.build.sourceDirectory}
107 </sourceDirectory>
108 <testSourceDirectory>${project.build.testSourceDirectory}
109 </testSourceDirectory>
110 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
111 <configLocation>onos/checkstyle.xml</configLocation>
112 <suppressionsLocation>onos/suppressions.xml
113 </suppressionsLocation>
114 <failsOnError>false</failsOnError>
115 <logViolationsToConsole>true</logViolationsToConsole>
116 <includeTestSourceDirectory>true
117 </includeTestSourceDirectory>
118 </configuration>
119 <executions>
120 <execution>
121 <id>validate-checkstyle</id>
122 <phase>verify</phase>
123 <goals>
124 <goal>check</goal>
125 </goals>
126 </execution>
127 </executions>
128 </plugin>
Bharat saraswal9fab16b2016-09-23 23:27:24 +0530129 </plugins>
Brian O'Connorc56a6ed2016-08-04 14:54:48 -0700130 </build>
Vinod Kumar S212fcdd2016-02-05 16:15:09 +0530131</project>