[java-libglom/libglom-1-20] .pom file: Adjust so we can upload to the sonatype.org resository.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [java-libglom/libglom-1-20] .pom file: Adjust so we can upload to the sonatype.org resository.
- Date: Tue, 10 Jan 2012 22:02:29 +0000 (UTC)
commit 9d5a5450c888dfc9232a275a6ff30f64074d5f89
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Jan 10 22:45:11 2012 +0100
.pom file: Adjust so we can upload to the sonatype.org resository.
* java-libglom.pom.in: Change the scm to something like the git scm
example here, though the syntax is not clear:
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-7a.1.POMandsettingsconfig
* Makefile.am: Add a deploy target that uses our (non-maven-generated)
.pom and .jar files to deploy to the sonatype.org repository,
as described here:
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-7b.StageExistingArtifacts
ChangeLog | 12 ++++++++++++
Makefile.am | 3 +++
java-libglom.pom.in | 11 ++++++++++-
3 files changed, 25 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6bfac29..1221ebc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2012-01-10 Murray Cumming <murrayc murrayc com>
+
+ .pom file: Adjust so we can upload to the sonatype.org resository.
+
+ * java-libglom.pom.in: Change the scm to something like the git scm
+ example here, though the syntax is not clear:
+ https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-7a.1.POMandsettingsconfig
+ * Makefile.am: Add a deploy target that uses our (non-maven-generated)
+ .pom and .jar files to deploy to the sonatype.org repository,
+ as described here:
+ https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-7b.StageExistingArtifacts
+
1.19.2:
2011-12-22 Murray Cumming <murrayc murrayc com>
diff --git a/Makefile.am b/Makefile.am
index 7ce6a98..a784a23 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -164,3 +164,6 @@ tests-and-examples.stamp: $(jarfile) $(test_sources)
sed -i -e "s/@JARFILE@/$(jarfile)/" tools/ExampleDocumentLoad
chmod 0755 tools/ExampleDocumentLoad
@echo "java-libglom tests and exmaples generated and built." > tests-and-examples.stamp
+
+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)
diff --git a/java-libglom.pom.in b/java-libglom.pom.in
index a4e7541..d4017cf 100644
--- a/java-libglom.pom.in
+++ b/java-libglom.pom.in
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+ <parent>
+ <groupId>org.sonatype.oss</groupId>
+ <artifactId>oss-parent</artifactId>
+ <version>7</version>
+ </parent>
+
<modelVersion>4.0.0</modelVersion>
<groupId>org.glom.libglom</groupId>
<artifactId>java-libglom</artifactId>
@@ -19,7 +26,9 @@
</licenses>
<scm>
- <url>http://git.gnome.org/browse/java-libglom/tree/</url>
+ <connection>scm:git:git.gnome.org/java-libglom</connection>
+ <developerConnection>scm:git:git.gnome.org/java-libglom</developerConnection>
+ <url>git.gnome.org/java-libglom</url>
</scm>
</project>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]