[java-libglom] deploy: Upload the other .jar files



commit 474b704920d4fc5504db39b66a2dc2288f7f3bd6
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Jan 18 21:24:17 2012 +0100

    deploy: Upload the other .jar files

 Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index a10435c..297a9ab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -176,8 +176,11 @@ tests-and-examples.stamp: $(jarfile) $(test_sources)
 	chmod 0755 tools/ExampleDocumentLoad
 	@echo "java-libglom tests and examples generated and built." > tests-and-examples.stamp
 
+# Upload to the sonatype.org repository:
 deploy: $(pomfile) $(jarfile) 
 	mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging -DpomFile=$(pomfile) -Dfile=$(jarfile)
+	mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging -DpomFile=$(pomfile) -Dfile=$(sources_jarfile) -Dclassifier=sources
+	mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging -DpomFile=$(pomfile) -Dfile=$(doc_jarfile) -Dclassifier=javadoc
 
 
 docbuild: $(jarfile)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]