blob: 948361571c25005d0ef285b47b95d24d0f5dccbc [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 Milkeyb48ecb82017-02-09 13:34:00 -080028 <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>
Bharat saraswalc2d3be12016-06-16 00:29:12 +053040 </modules>
Brian O'Connorc56a6ed2016-08-04 14:54:48 -070041
Ray Milkeyffd9ef82016-10-06 16:58:16 -070042 <!-- FIXME this can be removed if/when buck-api is released -->
43 <repositories>
44 <repository>
45 <id>snapshots</id>
46 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
47 <snapshots>
48 <enabled>true</enabled>
49 <updatePolicy>daily</updatePolicy>
50 <checksumPolicy>fail</checksumPolicy>
51 </snapshots>
52 </repository>
53 </repositories>
54
Brian O'Connorc56a6ed2016-08-04 14:54:48 -070055 <dependencies>
56 <dependency>
57 <groupId>com.google.guava</groupId>
58 <artifactId>guava</artifactId>
Bharat saraswale304c252016-08-16 20:56:20 +053059 <version>19.0</version>
Brian O'Connorc56a6ed2016-08-04 14:54:48 -070060 </dependency>
61 <dependency>
62 <groupId>org.osgi</groupId>
63 <artifactId>org.osgi.compendium</artifactId>
Bharat saraswale304c252016-08-16 20:56:20 +053064 <version>5.0.0</version>
Brian O'Connorc56a6ed2016-08-04 14:54:48 -070065 <scope>test</scope>
66 </dependency>
Ray Milkeyb322f082016-10-06 11:06:10 -070067 <dependency>
Ray Milkeyb322f082016-10-06 11:06:10 -070068 <groupId>org.hamcrest</groupId>
69 <artifactId>hamcrest-all</artifactId>
70 <version>1.3</version>
Ray Milkeyffd9ef82016-10-06 16:58:16 -070071 <scope>test</scope>
Ray Milkeyb322f082016-10-06 11:06:10 -070072 </dependency>
Brian O'Connorc56a6ed2016-08-04 14:54:48 -070073 </dependencies>
74
75 <build>
Bharat saraswal9fab16b2016-09-23 23:27:24 +053076 <plugins>
77 <plugin>
78 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-compiler-plugin</artifactId>
80 <version>3.5.1</version>
81 <configuration>
82 <source>1.8</source>
83 <target>1.8</target>
84 </configuration>
85 </plugin>
86 <plugin>
87 <groupId>org.apache.felix</groupId>
88 <artifactId>maven-bundle-plugin</artifactId>
89 <version>2.5.4</version>
90 <extensions>true</extensions>
91 </plugin>
Thomas Vachuska7c9cf602017-02-07 11:24:03 -080092 <plugin>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-checkstyle-plugin</artifactId>
95 <version>2.17</version>
96 <dependencies>
97 <dependency>
98 <groupId>org.onosproject</groupId>
99 <artifactId>onos-build-conf</artifactId>
100 <version>${onos-build-conf.version}</version>
101 </dependency>
102 </dependencies>
103 <configuration>
104 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
105 <sourceDirectory>${project.build.sourceDirectory}
106 </sourceDirectory>
107 <testSourceDirectory>${project.build.testSourceDirectory}
108 </testSourceDirectory>
109 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
110 <configLocation>onos/checkstyle.xml</configLocation>
111 <suppressionsLocation>onos/suppressions.xml
112 </suppressionsLocation>
113 <failsOnError>false</failsOnError>
114 <logViolationsToConsole>true</logViolationsToConsole>
115 <includeTestSourceDirectory>true
116 </includeTestSourceDirectory>
117 </configuration>
118 <executions>
119 <execution>
120 <id>validate-checkstyle</id>
121 <phase>verify</phase>
122 <goals>
123 <goal>check</goal>
124 </goals>
125 </execution>
126 </executions>
127 </plugin>
Bharat saraswal9fab16b2016-09-23 23:27:24 +0530128 </plugins>
Brian O'Connorc56a6ed2016-08-04 14:54:48 -0700129 </build>
Vinod Kumar S212fcdd2016-02-05 16:15:09 +0530130</project>