-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-\r
- <modelVersion>4.0.0</modelVersion>\r
- <artifactId>yangtools</artifactId>\r
- <groupId>org.opendaylight.yangtools</groupId>\r
- <version>0.1.1-SNAPSHOT</version>\r
- <packaging>pom</packaging>\r
-\r
- <properties>\r
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
- <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>\r
-\r
- <!-- Java Versions -->\r
- <maven.compiler.source>1.7</maven.compiler.source>\r
- <maven.compiler.target>1.7</maven.compiler.target>\r
-\r
- <!-- Build Plugin Versions -->\r
- <maven.bundle.version>2.4.0</maven.bundle.version>\r
- <maven.jar.version>2.4</maven.jar.version>\r
- <maven.javadoc.version>2.9.1</maven.javadoc.version>\r
- <maven.source.version>2.2.1</maven.source.version>\r
- <maven.surefire.version>2.16</maven.surefire.version>\r
-\r
- <!-- Supporting Libraries -->\r
- <commons.lang.version>3.1</commons.lang.version>\r
- <junit.version>4.10</junit.version>\r
- <slf4j.version>1.7.2</slf4j.version>\r
- <guava.version>14.0.1</guava.version>\r
- <xtend.version>2.4.3</xtend.version>\r
- <groovy.version>2.1.6</groovy.version>\r
- </properties>\r
-\r
- <scm>\r
- <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>\r
- <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>\r
- <url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>\r
- </scm>\r
-\r
- <modules>\r
- <module>concepts</module>\r
- <module>yang</module>\r
- <module>code-generator</module>\r
- <module>model</module>\r
- <module>restconf</module>\r
- <!-- module>third-party</module -->\r
- </modules>\r
-\r
- <pluginRepositories>\r
- <!-- Maven repo2 mirror -->\r
- <!-- http://repo2.maven.org/maven2 -->\r
- <pluginRepository>\r
- <id>central2</id>\r
- <name>central2</name>\r
- <url>${nexusproxy}/repositories/central2/</url>\r
- </pluginRepository>\r
- <!-- Maven repo1 mirror -->\r
- <!-- http://repo1.maven.org/maven2 -->\r
- <pluginRepository>\r
- <id>central</id>\r
- <name>central</name>\r
- <url>${nexusproxy}/repositories/central/</url>\r
- </pluginRepository>\r
- </pluginRepositories>\r
-\r
-\r
- <repositories>\r
- <!-- Maven repo2 mirror -->\r
- <!-- http://repo2.maven.org/maven2 -->\r
- <repository>\r
- <id>central2</id>\r
- <name>central2</name>\r
- <url>${nexusproxy}/repositories/central2/</url>\r
- </repository>\r
- <!-- Maven repo1 mirror -->\r
- <!-- http://repo1.maven.org/maven2 -->\r
- <repository>\r
- <id>central</id>\r
- <name>central</name>\r
- <url>${nexusproxy}/repositories/central/</url>\r
- </repository>\r
-\r
- <!-- OpenDayLight Released artifact -->\r
- <repository>\r
- <id>opendaylight-release</id>\r
- <name>opendaylight-release</name>\r
- <url>${nexusproxy}/repositories/opendaylight.release/</url>\r
- </repository>\r
- <!-- OpenDayLight Snapshot artifact -->\r
- <repository>\r
- <id>opendaylight-snapshot</id>\r
- <name>opendaylight-snapshot</name>\r
- <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>\r
- </repository>\r
- </repositories>\r
-\r
-\r
- <dependencyManagement>\r
- <dependencies>\r
- <!-- Testing Dependencies -->\r
- <dependency>\r
- <groupId>junit</groupId>\r
- <artifactId>junit</artifactId>\r
- <version>${junit.version}</version>\r
- <scope>test</scope>\r
- </dependency>\r
- <dependency>\r
- <groupId>org.mockito</groupId>\r
- <artifactId>mockito-all</artifactId>\r
- <version>1.9.5</version>\r
- <scope>test</scope>\r
- </dependency>\r
-\r
- <!-- Supporting Libraries -->\r
- <dependency>\r
- <groupId>org.slf4j</groupId>\r
- <artifactId>slf4j-api</artifactId>\r
- <version>${slf4j.version}</version>\r
- </dependency>\r
- <dependency>\r
- <groupId>com.google.guava</groupId>\r
- <artifactId>guava</artifactId>\r
- <version>${guava.version}</version>\r
- </dependency>\r
- <dependency>\r
- <groupId>org.eclipse.xtend</groupId>\r
- <artifactId>org.eclipse.xtend.lib</artifactId>\r
- <version>${xtend.version}</version>\r
- </dependency>\r
- <dependency>\r
- <groupId>org.apache.commons</groupId>\r
- <artifactId>commons-lang3</artifactId>\r
- <version>${commons.lang.version}</version>\r
- </dependency>\r
-\r
- <!-- Plugin integration -->\r
- <dependency>\r
- <groupId>org.sonatype.plexus</groupId>\r
- <artifactId>plexus-build-api</artifactId>\r
- <version>0.0.7</version>\r
- </dependency>\r
- <dependency>\r
- <groupId>org.codehaus.plexus</groupId>\r
- <artifactId>plexus-slf4j-logging</artifactId>\r
- <version>1.1</version>\r
- </dependency>\r
- </dependencies>\r
- </dependencyManagement>\r
-\r
- <distributionManagement>\r
- <!-- OpenDayLight Released artifact -->\r
- <repository>\r
- <id>opendaylight-release</id>\r
- <url>${nexusproxy}/repositories/opendaylight.release/</url>\r
- </repository>\r
- <!-- OpenDayLight Snapshot artifact -->\r
- <snapshotRepository>\r
- <id>opendaylight-snapshot</id>\r
- <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>\r
- </snapshotRepository>\r
- <site>\r
- <id>${project.artifactId}-site</id>\r
- <url>./</url>\r
- </site>\r
- </distributionManagement>\r
-\r
- <build>\r
- <pluginManagement>\r
- <plugins>\r
- <plugin>\r
- <groupId>org.apache.maven.plugins</groupId>\r
- <artifactId>maven-jar-plugin</artifactId>\r
- <version>${maven.jar.version}</version>\r
- <configuration>\r
- <archive>\r
- <!-- Bundle OSGi Manifest created by maven-bundle-plugin \r
- into jar file -->\r
- <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>\r
- </archive>\r
- </configuration>\r
- </plugin>\r
- <plugin>\r
- <groupId>org.apache.felix</groupId>\r
- <artifactId>maven-bundle-plugin</artifactId>\r
- <version>${maven.bundle.version}</version>\r
- <extensions>true</extensions>\r
- <executions>\r
- <execution>\r
- <id>bundle-manifest</id>\r
- <phase>process-classes</phase>\r
- <goals>\r
- <goal>manifest</goal>\r
- </goals>\r
- </execution>\r
- </executions>\r
- <configuration>\r
- <instructions>\r
- <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>\r
- <Export-Package>*</Export-Package>\r
- </instructions>\r
- </configuration>\r
- </plugin>\r
- <plugin>\r
- <groupId>org.eclipse.xtend</groupId>\r
- <artifactId>xtend-maven-plugin</artifactId>\r
- <version>${xtend.version}</version>\r
- <executions>\r
- <execution>\r
- <goals>\r
- <goal>compile</goal>\r
- </goals>\r
- <configuration>\r
- <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>\r
- </configuration>\r
- </execution>\r
- </executions>\r
- </plugin>\r
- <plugin>\r
- <artifactId>maven-clean-plugin</artifactId>\r
- <version>2.4.1</version>\r
- <configuration>\r
- <filesets>\r
- <fileset>\r
- <directory>${basedir}/src/main/xtend-gen</directory>\r
- <includes>\r
- <include>**</include>\r
- </includes>\r
- </fileset>\r
- </filesets>\r
- </configuration>\r
- </plugin>\r
- <plugin>\r
- <groupId>org.eclipse.m2e</groupId>\r
- <artifactId>lifecycle-mapping</artifactId>\r
- <version>1.0.0</version>\r
- <configuration>\r
- <lifecycleMappingMetadata>\r
- <pluginExecutions>\r
- <pluginExecution>\r
- <pluginExecutionFilter>\r
- <groupId>org.apache.felix</groupId>\r
- <artifactId>maven-bundle-plugin</artifactId>\r
- <versionRange>[1.0,)</versionRange>\r
- <goals>\r
- <goal>manifest</goal>\r
- </goals>\r
- </pluginExecutionFilter>\r
- <action>\r
- <execute />\r
- </action>\r
- </pluginExecution>\r
- </pluginExecutions>\r
- </lifecycleMappingMetadata>\r
- </configuration>\r
- </plugin>\r
- <plugin>\r
- <groupId>org.apache.maven.plugins</groupId>\r
- <artifactId>maven-javadoc-plugin</artifactId>\r
- <version>${maven.javadoc.version}</version>\r
- <configuration>\r
- <stylesheetfile>stylesheet.css</stylesheetfile>\r
- </configuration>\r
- <executions>\r
- <execution>\r
- <id>attach-javadocs</id>\r
- <goals>\r
- <goal>jar</goal>\r
- </goals>\r
- </execution>\r
- <execution>\r
- <goals>\r
- <goal>aggregate</goal>\r
- </goals>\r
- <phase>site</phase>\r
- </execution>\r
- </executions>\r
- </plugin>\r
- </plugins>\r
- </pluginManagement>\r
- <plugins>\r
- <plugin>\r
- <groupId>org.apache.maven.plugins</groupId>\r
- <artifactId>maven-jar-plugin</artifactId>\r
- </plugin>\r
- <plugin>\r
- <groupId>org.apache.felix</groupId>\r
- <artifactId>maven-bundle-plugin</artifactId>\r
- </plugin>\r
- <plugin>\r
- <groupId>org.apache.maven.plugins</groupId>\r
- <artifactId>maven-source-plugin</artifactId>\r
- <version>${maven.source.version}</version>\r
- <executions>\r
- <execution>\r
- <id>attach-sources</id>\r
- <goals>\r
- <goal>jar</goal>\r
- </goals>\r
- </execution>\r
- </executions>\r
- </plugin>\r
- <plugin>\r
- <groupId>org.apache.maven.plugins</groupId>\r
- <artifactId>maven-javadoc-plugin</artifactId>\r
- </plugin>\r
- </plugins>\r
- </build>\r
-\r
- <reporting>\r
- <plugins>\r
- <plugin>\r
- <groupId>org.codehaus.mojo</groupId>\r
- <artifactId>findbugs-maven-plugin</artifactId>\r
- <version>2.4.0</version>\r
- <configuration>\r
- <effort>Max</effort>\r
- <threshold>Low</threshold>\r
- <goal>site</goal>\r
- </configuration>\r
- </plugin>\r
- <plugin>\r
- <groupId>org.codehaus.mojo</groupId>\r
- <artifactId>jdepend-maven-plugin</artifactId>\r
- <version>2.0-beta-2</version>\r
- </plugin>\r
- </plugins>\r
- </reporting>\r
-</project>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vi: set et smarttab sw=4 tabstop=4: -->
+<!--
+ Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ and is available at http://www.eclipse.org/legal/epl-v10.html
+-->
+<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">
+
+ <parent>
+ <groupId>org.opendaylight.yangtools</groupId>
+ <artifactId>yangtools-parent</artifactId>
+ <version>0.8.0-SNAPSHOT</version>
+ <relativePath>common/parent</relativePath>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>yangtools-aggregator</artifactId>
+ <name>yangtools</name> <!-- Used by Sonar to set project name -->
+ <packaging>pom</packaging>
+
+ <scm>
+ <connection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</connection>
+ <developerConnection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</developerConnection>
+ <url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>
+ <tag>HEAD</tag>
+ </scm>
+
+ <modules>
+ <module>common</module>
+ <module>yang</module>
+ <module>websocket</module>
+ <module>yang-validation-tool</module>
+ </modules>
+
+ <profiles>
+ <profile>
+ <id>benchmarks</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <modules>
+ <module>benchmarks</module>
+ </modules>
+ </profile>
+ </profiles>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+ <failOnViolation>false</failOnViolation>
+ <configLocation>checkstyle-logging.xml</configLocation>
+ <consoleOutput>true</consoleOutput>
+ <includeTestSourceDirectory>true</includeTestSourceDirectory>
+ <sourceDirectory>${project.basedir}</sourceDirectory>
+ <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
+ <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/,**\/src/main/xtend-gen\/</excludes>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.opendaylight.yangtools</groupId>
+ <artifactId>checkstyle-logging</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>