java_gen/pom.xml: add link to test maven repo
diff --git a/Makefile b/Makefile
index c99ae0b..57fdec5 100644
--- a/Makefile
+++ b/Makefile
@@ -113,6 +113,9 @@
 package-java: java
 	cd ${LOXI_OUTPUT_DIR}/openflowj/ && mvn package
 
+deploy-java: java
+	cd ${LOXI_OUTPUT_DIR}/openflowj/ && mvn deploy
+
 pylint:
 	pylint -E ${LOXI_PY_FILES}
 
diff --git a/java_gen/pre-written/pom.xml b/java_gen/pre-written/pom.xml
index 7a604a6..e893b87 100644
--- a/java_gen/pre-written/pom.xml
+++ b/java_gen/pre-written/pom.xml
@@ -52,4 +52,16 @@
     </plugin>
 </plugins>
 </build>
+<distributionManagement>
+  <repository>
+     <id>deployment</id>
+     <name>Internal Releases</name>
+     <url>http://10.197.128.18:8081/nexus/content/repositories/releases/</url>
+  </repository>
+  <snapshotRepository>
+     <id>deployment</id>
+     <name>Internal Releases</name>
+     <url>http://10.197.128.18:8081/nexus/content/repositories/snapshots/</url>
+  </snapshotRepository>
+</distributionManagement>
 </project>