[libmetadata-extractor-java] 06/07: Use the upstream pom instead of downloading it from Maven Central

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Mar 10 17:14:34 UTC 2015


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

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

commit 64a660303ad9d86f0938eb79a4d6de7415492c04
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Mar 10 17:13:47 2015 +0100

    Use the upstream pom instead of downloading it from Maven Central
---
 debian/changelog              |  1 +
 debian/metadata-extractor.pom | 91 -------------------------------------------
 debian/rules                  |  7 +---
 3 files changed, 3 insertions(+), 96 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a06e5bd..f5fa9aa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ libmetadata-extractor-java (2.7.2-1) UNRELEASED; urgency=medium
   * debian/rules:
     - Set the lib-xmp and lib-junit parameters to configure the classpath
     - No longer install the now missing upstream changelog
+    - Use the upstream pom instead of downloading it from Maven Central
   * Moved the package to Git
   * debian/watch: Watch the release tags on Github
   * debian/orig-tar.sh: Download the sources from Github
diff --git a/debian/metadata-extractor.pom b/debian/metadata-extractor.pom
deleted file mode 100644
index e1dee22..0000000
--- a/debian/metadata-extractor.pom
+++ /dev/null
@@ -1,91 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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>
-
-    <parent>
-        <groupId>org.sonatype.oss</groupId>
-        <artifactId>oss-parent</artifactId>
-        <version>7</version>
-    </parent>
-
-    <groupId>com.drewnoakes</groupId>
-    <artifactId>metadata-extractor</artifactId>
-    <version>2.6.4</version>
-    <packaging>jar</packaging>
-
-    <name>metadata-extractor</name>
-    <description>Java library for reading metadata from image files.</description>
-    <url>http://code.google.com/p/metadata-extractor/</url>
-    
-    <licenses>
-        <license>
-            <name>The Apache Software License, Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-            <distribution>repo</distribution>
-        </license>
-    </licenses>
-    
-    <scm>
-        <connection>scm:git:https://code.google.com/r/raygauss-metadata-extractor/</connection>
-        <developerConnection>scm:git:https://code.google.com/r/raygauss-metadata-extractor/</developerConnection>
-        <url>https://code.google.com/r/raygauss-metadata-extractor/</url>
-    </scm>
-    
-    <developers>
-        <developer>
-            <id>drewnoakes</id>
-            <name>Drew Noakes</name>
-        </developer>
-    </developers>
-
-    <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>com.adobe.xmp</groupId>
-            <artifactId>xmpcore</artifactId>
-            <version>5.1.2</version>
-        </dependency>
-        
-        <dependency>
-            <groupId>xerces</groupId>
-            <artifactId>xercesImpl</artifactId>
-            <version>2.8.1</version>
-        </dependency>                
-        
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.8.2</version>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-    
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-source-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>attach-sources</id>
-                        <goals>
-                            <goal>jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <version>2.3.2</version>
-                <configuration>
-                  <source>1.5</source>
-                  <target>1.5</target>
-                </configuration>
-            </plugin>        
-        </plugins>
-    </build>
-</project>
diff --git a/debian/rules b/debian/rules
index 3bcda2f..7b3399c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,12 +16,9 @@ clean::
 	rm -rf Releases Build api TestReports
 
 install/libmetadata-extractor-java::
-	mh_installpom -p${PACKAGE} --no-parent debian/metadata-extractor.pom
-	mh_installjar -p${PACKAGE} --java-lib debian/metadata-extractor.pom Releases/metadata-extractor-${DEB_UPSTREAM_VERSION}.jar
+	mh_installpom -p${PACKAGE} --no-parent pom.xml
+	mh_installjar -p${PACKAGE} --java-lib pom.xml Releases/metadata-extractor-${DEB_UPSTREAM_VERSION}.jar
 	jh_classpath -p${PACKAGE}
 
-get-orig-pom::
-	wget http://repo1.maven.org/maven2/com/drewnoakes/metadata-extractor/${DEB_UPSTREAM_VERSION}/metadata-extractor-${DEB_UPSTREAM_VERSION}.pom -O debian/metadata-extractor.pom
-
 get-orig-source::
 	uscan --force-download --download-version ${DEB_UPSTREAM_VERSION}

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



More information about the pkg-java-commits mailing list