Yang model fixed
[openflowjava.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index eb5c77f55399755c5376de3f310ac332cff5c570..9510fb2c2d8740bd597e60bfeaf71a049a54dedc 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,17 +1,19 @@
 <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>
-       <groupId>org.opendaylight.openflowjava</groupId>
-       <artifactId>openflow-protocol-parent</artifactId>
-       <version>0.1-SNAPSHOT</version>
-       <packaging>pom</packaging>
-       <modules>
-               <module>openflow-protocol-api</module>
-               <module>openflow-protocol-spi</module>
-               <module>openflow-protocol-impl</module>
+    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>
+    <groupId>org.opendaylight.openflowjava</groupId>
+    <artifactId>openflow-protocol-parent</artifactId>
+    <version>0.1-SNAPSHOT</version>
+    <packaging>pom</packaging>
+    <modules>
+        <module>openflow-protocol-api</module>
+        <module>openflow-protocol-spi</module>
+        <module>openflow-protocol-impl</module>
+        <module>openflow-protocol-it</module>
+        <module>simple-client</module>
         <module>third-party/openflow-codec</module>
         <module>third-party/openflowj_netty</module>
-       </modules>
+    </modules>
 
     <properties>
         <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
         <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
         <logback.version>1.0.9</logback.version>
         <slf4j.version>1.7.5</slf4j.version>
-       <yang.prototype.version>1.0-SNAPSHOT</yang.prototype.version>
-       <maven.bundle.version>2.4.0</maven.bundle.version>
+        <yang.prototype.version>1.0-SNAPSHOT</yang.prototype.version>
+        <maven.bundle.version>2.4.0</maven.bundle.version>
+        <guava.version>14.0.1</guava.version> 
+        <netty.version>4.0.10.Final</netty.version>
     </properties>
 
     <pluginRepositories>
                 <artifactId>slf4j-api</artifactId>
                 <version>${slf4j.version}</version>
             </dependency>
+            <dependency>
+                <groupId>io.netty</groupId>
+                <artifactId>netty-handler</artifactId>
+                <version>${netty.version}</version>
+            </dependency>
+            <dependency>
+            <groupId>com.google.guava</groupId>
+            <artifactId>guava</artifactId>
+            <version>${guava.version}</version>
+        </dependency>
         </dependencies>
     </dependencyManagement>
     <build>
                 <artifactId>maven-javadoc-plugin</artifactId>
                 <version>2.8.1</version>
                 <configuration>
-                    <stylesheet>maven</stylesheet>
+                    <stylesheetfile>stylesheet.css</stylesheetfile>
                 </configuration>
                 <executions>
                     <execution>
                     </execution> 
                     <execution> 
                         <id>attach-javadocs</id>
-                        <phase>deploy</phase>
                         <goals>
                             <goal>jar</goal>
                         </goals> 
                     <artifactId>maven-deploy-plugin</artifactId>
                     <version>2.7</version>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-jar-plugin</artifactId>
+                    <version>2.4</version>
+                </plugin>
             </plugins>
         </pluginManagement>
     </build>
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>findbugs-maven-plugin</artifactId>
-                <version>2.4.0</version>
+                <version>2.5.2</version>
                 <configuration>
                     <effort>Max</effort>
                     <threshold>Low</threshold>
                     <goal>site</goal>
                 </configuration>
             </plugin>
+            <plugin>
+              <artifactId>maven-jxr-plugin</artifactId>
+              <version>2.3</version>
+              <configuration>
+                <aggregate>true</aggregate>
+                <linkJavadoc>true</linkJavadoc>
+              </configuration>
+            </plugin>
+
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>jdepend-maven-plugin</artifactId>
                 <build.suffix>${BUILDSUFFIX}</build.suffix>
             </properties>
         </profile>
+        <profile>
+            <id>repoBuild</id>
+            <activation>
+                <property><name>repoBuild</name></property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-javadoc-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>attach-javadocs</id>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-source-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>attach-sources</id>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 </project>