-<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">\r
+<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
\r
<properties>\r
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
- <slf4j.version>1.7.2</slf4j.version>\r
<nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>\r
- \r
+\r
<!-- Java Versions -->\r
<maven.compiler.source>1.7</maven.compiler.source>\r
<maven.compiler.target>1.7</maven.compiler.target>\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
+ <maven.surefire.version>2.16</maven.surefire.version>\r
\r
<!-- Supporting Libraries -->\r
- <yang.version>0.5.8-SNAPSHOT</yang.version>\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
<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
<dependency>\r
<groupId>junit</groupId>\r
<artifactId>junit</artifactId>\r
- <version>4.10</version>\r
+ <version>${junit.version}</version>\r
<scope>test</scope>\r
</dependency>\r
<dependency>\r
<dependency>\r
<groupId>org.slf4j</groupId>\r
<artifactId>slf4j-api</artifactId>\r
- <version>1.7.2</version>\r
+ <version>${slf4j.version}</version>\r
</dependency>\r
<dependency>\r
<groupId>com.google.guava</groupId>\r
<artifactId>guava</artifactId>\r
- <version>14.0.1</version>\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
<version>${maven.jar.version}</version>\r
<configuration>\r
<archive>\r
- <!-- Bundle OSGi Manifest created by maven-bundle-plugin into jar file -->\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
</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-javadoc-plugin</artifactId>\r
- <version>${maven.javadoc.version}</version>\r
- <configuration>\r
- <stylesheet>maven</stylesheet>\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
</build>\r