Yang model fixed
[openflowjava.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index f446c0931a1f1565ede8b41bdb1021b0dc8f609b..9510fb2c2d8740bd597e60bfeaf71a049a54dedc 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                 <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> 
                 <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>