[easymock] 19/41: Add easymock-2.4.pom and install it with maven-repo-helper

Markus Koschany apo-guest at moszumanska.debian.org
Tue Nov 25 16:49:11 GMT 2014


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

apo-guest pushed a commit to branch master
in repository easymock.

commit bd8efef03aa7fc62f10109c4763c194147f90692
Author: Matthias Schmitz <matthias at sigxcpu.org>
Date:   Thu Mar 31 19:30:39 2011 +0000

    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
            * remove debian/.mh with mh_clean
    	* Bump version in changelog
---
 debian/changelog             |   6 ++
 debian/control               |   2 +-
 debian/easymock-2.4.pom      | 159 +++++++++++++++++++++++++++++++++++++++++++
 debian/libeasymock-java.poms |   1 +
 debian/rules                 |   9 +--
 5 files changed, 172 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3a973f9..0d490b7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+easymock (2.4+ds1-5) UNRELEASED; urgency=low
+
+  * Install the pom.xml (Closes:#593160)  
+
+ -- Matthias Schmitz <matthias at sigxcpu.org>  Thu, 31 Mar 2011 21:22:51 +0200
+
 easymock (2.4+ds1-4) unstable; urgency=low
 
   * Team upload.
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>easymock-unsubscribe at yahoogroups.com</unsubscribe>
+      <post>easymock at yahoogroups.com</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:username at easymock.cvs.sourceforge.net:/cvsroot/easymock:easymock</developerConnection>
+    <connection>scm:cvs:pserver:anonymous at easymock.cvs.sourceforge.net:/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 © 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..99311e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,10 +33,7 @@ src:
 	debian/rules restore-from-source
 
 clean::
-
-install/libeasymock-java::
-	install -m 0644 dist/easymock-$(UPSTREAM_VERSION).jar $(JAVADIR)
-	dh_link /usr/share/java/easymock-$(UPSTREAM_VERSION).jar /usr/share/java/easymock.jar
+	mh_clean
 
 remove-source:
 	rm -rf src tests samples 
@@ -63,3 +60,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 

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



More information about the pkg-java-commits mailing list