Package: libeasymock-java
Version: 2.4+ds1-4.1
Severity: normal
Tags: patch

Please add a pom.xml to the package.
See attached patch.

Best regards,
Matthias 


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libeasymock-java depends on:
ii  default-jre-headless [java5-r 1.6-38     Standard Java or Java
compatible R ii  openjdk-6-jre-headless [java5 6b18-1.8-1 OpenJDK Java
runtime, using Hotspo

libeasymock-java recommends no packages.

Versions of packages libeasymock-java suggests:
pn  libeasymock-java-doc          <none>     (no description available)

-- no debconf information
From 2a35cf93a0d0f0c72530a2a86c35cdd6359312d5 Mon Sep 17 00:00:00 2001
From: Matthias Schmitz <[email protected]>
Date: Sun, 15 Aug 2010 22:53:57 +0200
Subject: [PATCH] Add easymock-2.4.pom and install it with maven-repo-helper

* Add easymock-2.4.pom from repo1.maven.org
* Add maven-repo-helper to Build-Depends:
* Install the pom and link the jar in /usr/share/maven-repo
---
 debian/control               |    2 +-
 debian/easymock-2.4.pom      |  159 ++++++++++++++++++++++++++++++++++++++++++
 debian/libeasymock-java.poms |    1 +
 debian/rules                 |    4 +
 4 files changed, 165 insertions(+), 1 deletions(-)
 create mode 100644 debian/easymock-2.4.pom
 create mode 100644 debian/libeasymock-java.poms

diff --git a/debian/control b/debian/control
index 085054d..8022be3 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ DM-Upload-Allowed: yes
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/easymock/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/easymock/
 Build-Depends: cdbs, debhelper (>= 5.0.42), default-jdk, ant-optional (>= 1.7.0),
- junit4 (>= 4.6-2)
+ junit4 (>= 4.6-2), maven-repo-helper
 Standards-Version: 3.8.4
 Homepage: http://www.easymock.org
 
diff --git a/debian/easymock-2.4.pom b/debian/easymock-2.4.pom
new file mode 100644
index 0000000..575b285
--- /dev/null
+++ b/debian/easymock-2.4.pom
@@ -0,0 +1,159 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.easymock</groupId>
+  <artifactId>easymock</artifactId>
+  <version>2.4</version>
+  <packaging>jar</packaging>
+  <name>EasyMock</name>
+  <url>http://www.easymock.org</url>
+  <description>EasyMock provides an easy way to create Mock Objects for interfaces by generating them on the fly using Java's proxy mechanism</description>
+  <licenses>
+    <license>
+      <name>MIT License</name>
+      <url>http://www.easymock.org/License.html</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  <developers>
+    <developer>
+      <id>tammo</id>
+      <name>Tammo Freese</name>
+      <timezone>+1</timezone>
+    </developer>
+    <developer>
+      <id>henri</id>
+      <name>Henri Tremblay</name>
+      <url>http://www.jroller.com/Henri/</url>
+      <organization>Ossia Conseil</organization>
+      <organizationUrl>http://ossia-conseil.com</organizationUrl>      
+      <timezone>+1</timezone>
+    </developer>    
+  </developers>  
+  <issueManagement>
+    <system>SourceForge</system>
+    <url>http://sourceforge.net/tracker/?group_id=82958</url>
+  </issueManagement>  
+  <mailingLists>
+    <mailingList>
+      <name>User List</name>
+      <subscribe>From Yahoo groups</subscribe>
+      <unsubscribe>[email protected]</unsubscribe>
+      <post>[email protected]</post>
+      <archive>http://tech.groups.yahoo.com/group/easymock/</archive>
+    </mailingList>
+  </mailingLists>  
+  <scm>
+    <url>http://easymock.cvs.sourceforge.net/easymock/</url>
+    <developerConnection>scm:cvs:ext:[email protected]:/cvsroot/easymock:easymock</developerConnection>
+    <connection>scm:cvs:pserver:[email protected]:/cvsroot/easymock:easymock</connection>
+  </scm>  
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.4</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  <build>
+    <sourceDirectory>${basedir}/src</sourceDirectory>
+    <testSourceDirectory>${basedir}/src-tests</testSourceDirectory>
+    <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <index>true</index>
+            <manifestEntries>
+              <EasyMock-Version>${pom.version}</EasyMock-Version>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <phase>verify</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>	  
+	  </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-javadocs</id>
+            <phase>verify</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>	  
+	  </plugin>	  
+      <!-- plugin>
+        <artifactId>maven-clover-plugin</artifactId>
+        <version>2.4</version>
+        <configuration>
+        <licenseLocation>${basedir}/lib/clover.license</licenseLocation>
+        <jdk>1.5</jdk>
+        </configuration>
+        <executions>
+        <execution>
+        <phase>verify</phase>
+        <configuration>
+        <targetPercentage>100%</targetPercentage>
+        </configuration>
+        <goals>
+        <goal>instrument</goal>
+        <goal>check</goal>
+        </goals>
+        </execution>
+        </executions>
+        </plugin-->
+    </plugins>
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-ssh-external</artifactId>
+        <version>1.0-beta-2</version>
+      </extension>
+    </extensions>
+  </build>
+  <reporting>
+    <plugins>
+      <plugin>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <excludePackageNames>*.internal</excludePackageNames>
+          <bottom><![CDATA[<i>Copyright &#169; 2001-2008 OFFIS, Tammo Freese. This documentation is provided under the terms of the MIT licence.</i>]]></bottom>
+        </configuration>
+      </plugin>
+    </plugins>
+  </reporting>
+  <distributionManagement>
+    <repository>
+      <id>easymock-release</id>
+      <name>EasyMock Repository</name>
+      <url>scpexe://shell.sf.net/home/groups/e/ea/easymock/htdocs/maven/repository</url>
+    </repository>
+    <snapshotRepository>
+      <id>easymock-snapshot</id>
+      <name>EasyMock Snapshot Repository</name>
+      <url>scpexe://shell.sf.net/home/groups/e/ea/easymock/htdocs/maven/repository-snapshot</url>
+    </snapshotRepository>
+  </distributionManagement>
+</project>
diff --git a/debian/libeasymock-java.poms b/debian/libeasymock-java.poms
new file mode 100644
index 0000000..4ffc7fe
--- /dev/null
+++ b/debian/libeasymock-java.poms
@@ -0,0 +1 @@
+debian/easymock-2.4.pom
diff --git a/debian/rules b/debian/rules
index b58c231..b1a0ee9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -63,3 +63,7 @@ check:
 
 upload:
 	dupload -t mentors $(CHANGESFILE)
+
+binary-post-install/libeasymock-java::
+	mh_installpoms -plibeasymock-java
+	mh_installjar -plibeasymock-java -l debian/easymock-$(UPSTREAM_VERSION).pom dist/easymock-$(UPSTREAM_VERSION).jar 
-- 
1.7.1

Attachment: signature.asc
Description: PGP signature

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers>. Please 
use
[email protected] for discussions and questions.

Reply via email to