[libminlog-java] 02/06: Install the Maven artifacts in /usr/share/maven-repo

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Jun 9 09:58:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository libminlog-java.

commit debfa9dfb7ab2ad65c0cd0655a33c0a7179c20e2
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Jun 9 11:39:27 2015 +0200

    Install the Maven artifacts in /usr/share/maven-repo
---
 debian/changelog            |  1 +
 debian/control              |  2 +-
 debian/libminlog-java.jlibs |  1 -
 debian/libminlog-java.poms  |  1 +
 debian/pom.xml              | 61 +++++++++++++++++++++++++++++++++++++++++++++
 debian/rules                |  2 +-
 6 files changed, 65 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f3b5639..101fea9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 libminlog-java (1.2-3) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Install the Maven artifacts in /usr/share/maven-repo
   * Standards-Version updated to 3.9.6 (no changes)
 
  -- Emmanuel Bourg <ebourg at apache.org>  Tue, 09 Jun 2015 09:14:44 +0200
diff --git a/debian/control b/debian/control
index 15c4118..dd404c5 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: libminlog-java
 Section: java
 Priority: optional
 Maintainer: Damien Raude-Morvan <drazzib at debian.org>
-Build-Depends: debhelper (>= 9), default-jdk, javahelper (>= 0.43)
+Build-Depends: debhelper (>= 9), default-jdk, javahelper (>= 0.43), maven-repo-helper
 Standards-Version: 3.9.6
 Homepage: https://code.google.com/p/minlog/
 Vcs-Git: git://anonscm.debian.org/pkg-java/libminlog-java.git
diff --git a/debian/libminlog-java.jlibs b/debian/libminlog-java.jlibs
deleted file mode 100644
index 57ca84c..0000000
--- a/debian/libminlog-java.jlibs
+++ /dev/null
@@ -1 +0,0 @@
-minlog.jar
diff --git a/debian/libminlog-java.poms b/debian/libminlog-java.poms
new file mode 100644
index 0000000..3a837b3
--- /dev/null
+++ b/debian/libminlog-java.poms
@@ -0,0 +1 @@
+debian/pom.xml --has-package-version --java-lib --artifact=minlog.jar
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..9aa776e
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,61 @@
+<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/xsd/maven-4.0.0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>com.esotericsoftware.minlog</groupId>
+	<artifactId>minlog</artifactId>
+	<version>1.2</version>
+	<packaging>jar</packaging>
+	<name>MinLog</name>
+	<description>Minimal overhead Java logging</description>
+	<url>http://code.google.com/p/minlog/</url>
+
+	<licenses>
+		<license>
+			<name>New BSD License</name>
+			<url>http://www.opensource.org/licenses/bsd-license.php</url>
+			<distribution>repo</distribution>
+		</license>
+	</licenses>
+
+	<scm>
+		<url>http://minlog.googlecode.com/svn/</url>
+		<connection>scm:svn:http://minlog.googlecode.com/svn/</connection>
+	</scm>
+
+	<developers>
+		<developer>
+			<id>nathan.sweet</id>
+			<name>Nathan Sweet</name>
+			<email>nathan.sweet at gmail.com</email>
+		</developer>
+	</developers>
+
+	<properties>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+	</properties>
+
+	<build>
+		<!-- Set nonstandard source dir -->
+		<sourceDirectory>src</sourceDirectory>
+
+		<plugins>
+			<!-- Disable resources (project has none) -->
+			<plugin>
+				<artifactId>maven-resources-plugin</artifactId>
+				<version>2.5</version>
+				<executions>
+					<execution>
+						<id>default-resources</id>
+						<phase>none</phase>
+					</execution>
+					<execution>
+						<id>default-testResources</id>
+						<phase>none</phase>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
+</project>
diff --git a/debian/rules b/debian/rules
index bda4288..eb933b2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 export JAVA_HOME=/usr/lib/jvm/default-java
 
 %:
-	dh $@ --with javahelper
+	dh $@ --with javahelper,maven-repo-helper
 
 
 get-orig-source:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libminlog-java.git



More information about the pkg-java-commits mailing list