Add Javadoc publishing to deploy process
diff --git a/README.md b/README.md
index 72a81fc..968f651 100644
--- a/README.md
+++ b/README.md
@@ -23,6 +23,8 @@
- __NFD.unregister(Face forwarder, Name route)__: unregister a route by name.
- __NFD.setStrategy(Face forwarder, Name prefix, Name strategy)__: set the forwarding strategy for the given prefix.
+See [full Javadoc documentation](http://01org.github.io/jndn-management/index.html)
+
## License
Copyright © 2015, Intel Corporation.
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>