[pkg-java] r13485 - trunk/easymock/debian

Matthias Schmitz matthias-guest at alioth.debian.org
Thu Mar 31 19:30:52 UTC 2011


Author: matthias-guest
Date: 2011-03-31 19:30:39 +0000 (Thu, 31 Mar 2011)
New Revision: 13485

Added:
   trunk/easymock/debian/easymock-2.4.pom
   trunk/easymock/debian/libeasymock-java.poms
Modified:
   trunk/easymock/debian/changelog
   trunk/easymock/debian/control
   trunk/easymock/debian/rules
Log:
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


Modified: trunk/easymock/debian/changelog
===================================================================
--- trunk/easymock/debian/changelog	2011-03-30 19:16:27 UTC (rev 13484)
+++ trunk/easymock/debian/changelog	2011-03-31 19:30:39 UTC (rev 13485)
@@ -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.

Modified: trunk/easymock/debian/control
===================================================================
--- trunk/easymock/debian/control	2011-03-30 19:16:27 UTC (rev 13484)
+++ trunk/easymock/debian/control	2011-03-31 19:30:39 UTC (rev 13485)
@@ -7,7 +7,7 @@
 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
 

Added: trunk/easymock/debian/easymock-2.4.pom
===================================================================
--- trunk/easymock/debian/easymock-2.4.pom	                        (rev 0)
+++ trunk/easymock/debian/easymock-2.4.pom	2011-03-31 19:30:39 UTC (rev 13485)
@@ -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 &#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>

Added: trunk/easymock/debian/libeasymock-java.poms
===================================================================
--- trunk/easymock/debian/libeasymock-java.poms	                        (rev 0)
+++ trunk/easymock/debian/libeasymock-java.poms	2011-03-31 19:30:39 UTC (rev 13485)
@@ -0,0 +1 @@
+debian/easymock-2.4.pom

Modified: trunk/easymock/debian/rules
===================================================================
--- trunk/easymock/debian/rules	2011-03-30 19:16:27 UTC (rev 13484)
+++ trunk/easymock/debian/rules	2011-03-31 19:30:39 UTC (rev 13485)
@@ -33,11 +33,8 @@
 	debian/rules restore-from-source
 
 clean::
+	mh_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
-
 remove-source:
 	rm -rf src tests samples 
 	rm -f *.html *.css
@@ -63,3 +60,7 @@
 
 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 




More information about the pkg-java-commits mailing list