[SCM] Debian packaging of jBCrypt. branch, master, updated. debian/0.3-3-2-gb9448b8

James Page james.page at ubuntu.com
Wed Jan 9 22:27:06 UTC 2013


The following commit has been merged in the master branch:
commit b9448b842ff899c7cd531555ed5c6ca0e3033a8f
Author: James Page <james.page at ubuntu.com>
Date:   Wed Jan 9 22:27:00 2013 +0000

    Deploy maven artifacts:
    
    * Deploy maven artifacts:
      - d/control: Added BD on maven-repo-helper.
      - d/rules: Use maven-repo-helper during build.
      - d/libjbcrypt-java.poms,pom.xml: Specify jar and pom file to
        deploy in Debian maven-repo.

diff --git a/debian/changelog b/debian/changelog
index e077a37..5479aa7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,17 @@
-libjbcrypt-java (0.3-4) UNRELEASED; urgency=low
+libjbcrypt-java (0.3-4~exp1) UNRELEASED; urgency=low
 
+  [ tony mancill ]
   * Team upload.
   * Update Vcs-Git field.
 
- -- tony mancill <tmancill at debian.org>  Sat, 11 Feb 2012 08:20:21 -0800
+  [ James Page ]
+  * Deploy maven artifacts:
+    - d/control: Added BD on maven-repo-helper.
+    - d/rules: Use maven-repo-helper during build.
+    - d/libjbcrypt-java.poms,pom.xml: Specify jar and pom file to
+      deploy in Debian maven-repo.
+
+ -- James Page <james.page at ubuntu.com>  Wed, 09 Jan 2013 16:42:58 +0000
 
 libjbcrypt-java (0.3-3) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index d2fd1dd..80a0f5f 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,11 @@ Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Per Andersson <avtobiff at gmail.com>
-Build-Depends: debhelper (>= 7.0.50), javahelper (>= 0.30), default-jdk
+Build-Depends:
+ debhelper (>= 7.0.50),
+ default-jdk,
+ javahelper (>= 0.30),
+ maven-repo-helper (>= 1.5~)
 Standards-Version: 3.9.2
 Homepage: http://www.mindrot.org/projects/jBCrypt/
 Vcs-Git: git://git.debian.org/git/pkg-java/libjbcrypt-java.git
diff --git a/debian/libjbcrypt-java.poms b/debian/libjbcrypt-java.poms
new file mode 100644
index 0000000..58bd11a
--- /dev/null
+++ b/debian/libjbcrypt-java.poms
@@ -0,0 +1 @@
+debian/pom.xml --no-parent --usj-name=libjbcrypt-java --artifact=libjbcrypt-java.jar
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..4b211aa
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,128 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.mindrot</groupId>
+    <artifactId>jbcrypt</artifactId>
+    <packaging>jar</packaging>
+    <version>0.3</version>
+    <name>jbcrypt</name>
+    <url>http://www.mindrot.org/</url>
+    <description>
+        jBCrypt is a Java implementation of OpenBSD's Blowfish password hashing code, as described in A Future-Adaptable Password Scheme by Niels Provos and David Mazières, by Damien Miller.
+    </description>
+    <licenses>
+        <license>
+            <distribution>repo</distribution>
+            <name>ISC/BSD License</name>
+            <comments>The text of the license may be found at http://www.opensource.org/licenses/isc-license.txt</comments>
+        </license>
+    </licenses>
+    <scm>
+        <connection>scm:svn:https://jbcrypt.googlecode.com/svn/tags/jbcrypt-0.3m</connection>
+        <developerConnection>scm:svn:https://jbcrypt.googlecode.com/svn/tags/jbcrypt-0.3m</developerConnection>
+        <url>scm:svn:https://jbcrypt.googlecode.com/svn/tags/jbcrypt-0.3m</url>
+    </scm>
+    <organization>
+        <name>mindrot.org</name>
+        <url>http://www.mindrot.org/</url>
+    </organization>
+    <developers>
+        <developer>
+            <id>dmiller</id>
+            <name>Damien Miller</name>
+            <email>djm at mindrot.org</email>
+            <url>http://www.mindrot.org/</url>
+            <organization>mindrot</organization>
+            <organizationUrl>http://www.mindrot.org/</organizationUrl>
+            <roles>
+                <role>developer</role>
+            </roles>
+            <timezone>+10</timezone>
+        </developer>
+    </developers>
+    <distributionManagement>
+        <snapshotRepository>
+            <id>sonatype-nexus-snapshots</id>
+            <name>Sonatype Nexus Snapshots</name>
+            <url>http://oss.sonatype.org/content/repositories/snapshots</url>
+        </snapshotRepository>
+        <repository>
+            <id>sonatype-nexus-staging</id>
+            <name>Nexus Release Repository</name>
+            <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
+        </repository>
+    </distributionManagement>
+    <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    </properties>
+    <build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-release-plugin</artifactId>
+				<version>2.0</version>
+				<configuration>
+					<tagBase>https://jbcrypt.googlecode.com/svn/tags</tagBase>
+					<mavenExecutorId>forked-path</mavenExecutorId>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<configuration>
+					<source>1.6</source>
+					<target>1.6</target>
+				</configuration>
+			</plugin>
+		</plugins>
+    </build>
+    <profiles>
+        <profile>
+            <id>release-artifacts</id>
+            <activation>
+                <property>
+                    <name>performRelease</name>
+                    <value>true</value>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-gpg-plugin</artifactId>
+                        <version>1.0</version>
+                        <executions>
+							<execution>
+								<id>sign-artifacts</id>
+								<phase>verify</phase>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                        <configuration>
+                        	<keyname>${gpg.keyname}</keyname>
+                        	<useAgent>${gpg.useAgent}</useAgent>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+    <dependencies>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.7</version>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+    <reporting>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <version>2.7</version>
+            </plugin>
+        </plugins>
+    </reporting>
+</project>
diff --git a/debian/rules b/debian/rules
index 0919e59..af0df33 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,5 +3,5 @@
 export JAVA_HOME=/usr/lib/jvm/default-java
 
 %:
-	dh $@ --with javahelper
+	dh $@ --with javahelper,maven_repo_helper
 

-- 
Debian packaging of jBCrypt.



More information about the pkg-java-commits mailing list