Add Javadoc publishing to deploy process
diff --git a/pom.xml b/pom.xml
index bc69d87..e6aa17b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -113,6 +113,19 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-publish-plugin</artifactId>
+ <version>1.1</version>
+ <configuration>
+ <checkoutDirectory>${project.build.directory}/scmpublish</checkoutDirectory>
+ <checkinComment>Publishing javadoc for ${project.artifactId}:${project.version}</checkinComment>
+ <content>${project.build.directory}/apidocs</content>
+ <skipDeletedFiles>true</skipDeletedFiles>
+ <pubScmUrl>scm:git:https://github.com/01org/jndn-management.git</pubScmUrl>
+ <scmBranch>gh-pages</scmBranch>
+ </configuration>
+ </plugin>
</plugins>
</build>
</profile>