blob: c84c60faeb2d0c19562d77197b73641fa8094ae8 [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 -->
75 <dependency>
76 <groupId>org.eclipse.jdt</groupId>
77 <artifactId>org.eclipse.jdt.core</artifactId>
78 <version>3.10.0</version>
79 </dependency>
Brian O'Connorc56a6ed2016-08-04 14:54:48 -070080 </dependencies>
81
82 <build>
Bharat saraswal9fab16b2016-09-23 23:27:24 +053083 <plugins>
84 <plugin>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-compiler-plugin</artifactId>
87 <version>3.5.1</version>
88 <configuration>
89 <source>1.8</source>
90 <target>1.8</target>
91 </configuration>
92 </plugin>
93 <plugin>
94 <groupId>org.apache.felix</groupId>
95 <artifactId>maven-bundle-plugin</artifactId>
Thomas Vachuska17abb7f2017-03-02 13:59:46 -080096 <version>3.2.0</version>
Bharat saraswal9fab16b2016-09-23 23:27:24 +053097 <extensions>true</extensions>
98 </plugin>
Thomas Vachuska7c9cf602017-02-07 11:24:03 -080099 <plugin>
100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-checkstyle-plugin</artifactId>
102 <version>2.17</version>
103 <dependencies>
104 <dependency>
105 <groupId>org.onosproject</groupId>
106 <artifactId>onos-build-conf</artifactId>
107 <version>${onos-build-conf.version}</version>
108 </dependency>
109 </dependencies>
110 <configuration>
111 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
112 <sourceDirectory>${project.build.sourceDirectory}
113 </sourceDirectory>
114 <testSourceDirectory>${project.build.testSourceDirectory}
115 </testSourceDirectory>
116 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
117 <configLocation>onos/checkstyle.xml</configLocation>
118 <suppressionsLocation>onos/suppressions.xml
119 </suppressionsLocation>
120 <failsOnError>false</failsOnError>
121 <logViolationsToConsole>true</logViolationsToConsole>
122 <includeTestSourceDirectory>true
123 </includeTestSourceDirectory>
124 </configuration>
125 <executions>
126 <execution>
127 <id>validate-checkstyle</id>
128 <phase>verify</phase>
129 <goals>
130 <goal>check</goal>
131 </goals>
132 </execution>
133 </executions>
134 </plugin>
Bharat saraswal9fab16b2016-09-23 23:27:24 +0530135 </plugins>
Brian O'Connorc56a6ed2016-08-04 14:54:48 -0700136 </build>
Vinod Kumar S212fcdd2016-02-05 16:15:09 +0530137</project>