| <!-- |
| ~ Copyright 2016-present Open Networking Laboratory |
| ~ |
| ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| ~ you may not use this file except in compliance with the License. |
| ~ You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License. |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.onosproject</groupId> |
| <artifactId>onos-base</artifactId> |
| <version>1</version> |
| </parent> |
| |
| <artifactId>onos-yang-tools</artifactId> |
| <version>2.2-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <onos-build-conf.version>1.3</onos-build-conf.version> |
| <guava.version>22.0</guava.version> |
| </properties> |
| |
| <modules> |
| <module>compiler</module> |
| <module>model</module> |
| <module>runtime</module> |
| <module>serializers</module> |
| </modules> |
| |
| <!-- FIXME this can be removed if/when buck-api is released --> |
| <repositories> |
| <repository> |
| <id>snapshots</id> |
| <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| <snapshots> |
| <enabled>true</enabled> |
| <updatePolicy>daily</updatePolicy> |
| <checksumPolicy>fail</checksumPolicy> |
| </snapshots> |
| </repository> |
| </repositories> |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| <version>5.0.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-all</artifactId> |
| <version>1.3</version> |
| <scope>test</scope> |
| </dependency> |
| <!-- https://mvnrepository.com/artifact/org.eclipse.jdt/org.eclipse.jdt.core --> |
| <!-- FIXME signature files generated by pkg need to be removed--> |
| <!--dependency> |
| <groupId>org.eclipse.jdt</groupId> |
| <artifactId>org.eclipse.jdt.core</artifactId> |
| <version>3.10.0</version> |
| </dependency--> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.5.1</version> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>3.2.0</version> |
| <extensions>true</extensions> |
| <configuration> |
| <niceManifest>true</niceManifest> |
| <instructions> |
| <!-- Accept any version of Guava, released later than the one we use --> |
| <Import-Package> |
| com.google.*;version=${guava.version}, |
| * |
| </Import-Package> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.17</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.onosproject</groupId> |
| <artifactId>onos-build-conf</artifactId> |
| <version>${onos-build-conf.version}</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <!-- begin: workaround for unexpected NullPointerException on Eclipse --> |
| <sourceDirectory>${project.build.sourceDirectory} |
| </sourceDirectory> |
| <testSourceDirectory>${project.build.testSourceDirectory} |
| </testSourceDirectory> |
| <!-- end: workaround for unexpected NullPointerException on Eclipse --> |
| <configLocation>onos/checkstyle.xml</configLocation> |
| <suppressionsLocation>onos/suppressions.xml |
| </suppressionsLocation> |
| <failsOnError>false</failsOnError> |
| <logViolationsToConsole>true</logViolationsToConsole> |
| <includeTestSourceDirectory>true |
| </includeTestSourceDirectory> |
| </configuration> |
| <executions> |
| <execution> |
| <id>validate-checkstyle</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |