This is an automated email from the git hooks/post-receive script. nomadium-guest pushed a commit to branch master in repository jcsp.
commit 57b5e088f3a72419ebc4501d08303ef5b8abd074 Author: Miguel Landaeta <[email protected]> Date: Fri Sep 6 10:07:20 2013 -0300 Prepare jcsp 1.1-rc4-2 release --- debian/changelog | 10 +++ debian/control | 9 +- debian/copyright | 7 +- debian/libjcsp-java.jlibs | 2 - debian/pom.xml | 212 +++++++++++++++++++++++++++++++++++++++++++++ debian/rules | 8 ++ debian/watch | 4 +- 7 files changed, 242 insertions(+), 10 deletions(-) diff --git a/debian/changelog b/debian/changelog index 111e5eb..d4cb867 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +jcsp (1.1-rc4-2) UNRELEASED; urgency=low + + * Provide Maven artifacts. (Closes: #721950). + * Bump Standards-Version to 3.9.4. No changes were required. + * Update Vcs-* URLs. + * Update copyright file. + * Update watch file. + + -- Miguel Landaeta <[email protected]> Thu, 05 Sep 2013 18:43:46 -0300 + jcsp (1.1-rc4-1) unstable; urgency=low * Initial release. (Closes: #586153). diff --git a/debian/control b/debian/control index 7bb4cb2..ea10eb5 100644 --- a/debian/control +++ b/debian/control @@ -3,10 +3,11 @@ Maintainer: Debian Java Maintainers <[email protected] Uploaders: Miguel Landaeta <[email protected]> Section: java Priority: optional -Build-Depends: debhelper (>= 7.0.50), default-jdk, javahelper, ant, ant-contrib -Standards-Version: 3.8.4 -Vcs-Git: git://git.debian.org/git/pkg-java/jcsp.git -Vcs-Browser: http://git.debian.org/?p=pkg-java/jcsp.git +Build-Depends: debhelper (>= 7.0.50), default-jdk, javahelper, ant, ant-contrib, + maven-repo-helper +Standards-Version: 3.9.4 +Vcs-Git: git://anonscm.debian.org/gitweb/pkg-java/jcsp.git +Vcs-Browser: http://anonscm.debian.org/?p=pkg-java/jcsp.git Package: libjcsp-java Architecture: all diff --git a/debian/copyright b/debian/copyright index 22c5796..67c4add 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,4 +1,7 @@ -The sources where downloaded from http://projects.cs.kent.ac.uk/projects/jcsp/svn/jcsp/tags/jcsp-1.1-rc4/. +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: JCSP +Upstream-Contact: Peter Welch <[email protected]> +Source: http://www.cs.kent.ac.uk/projects/ofa/jcsp/ Files: * Copyright: © 1996-2008 Peter Welch and Paul Austin, @@ -8,7 +11,7 @@ License: LGPL-2.1 /usr/share/common-licenses/LGPL-2.1 on Debian systems. Files: debian/* -Copyright: © 2010 Miguel Landaeta <[email protected]> +Copyright: © 2010,2013 Miguel Landaeta <[email protected]> License: LGPL-2.1 The full text of the GNU Lesser General Public License is distributed in /usr/share/common-licenses/LGPL-2.1 on Debian systems. diff --git a/debian/libjcsp-java.jlibs b/debian/libjcsp-java.jlibs deleted file mode 100644 index 42c9f24..0000000 --- a/debian/libjcsp-java.jlibs +++ /dev/null @@ -1,2 +0,0 @@ -dist/jcsp-*/jcsp-core.jar -dist/jcsp-*/jcsp.jar diff --git a/debian/pom.xml b/debian/pom.xml new file mode 100644 index 0000000..dcaedc8 --- /dev/null +++ b/debian/pom.xml @@ -0,0 +1,212 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + JCSP - CSP for Java: an implementation of Communicating Sequential Processes (CSP) for Java. + + Copyright © 2010 Russel Winder <[email protected]> + + This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser + General Public License as published by the Free Software Foundation; either version 2.1 of the License, + or (at your option) any later version. + + This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General + Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along with this library; if not, + write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +--> + +<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/maven-v4_0_0.xsd" +> + <modelVersion>4.0.0</modelVersion> + <groupId>org.codehaus.jcsp</groupId> + <artifactId>jcsp</artifactId> + <packaging>bundle</packaging> + <version>1.1-rc4</version> + <name>The JCSP Library</name> + <description> + This library contains classes realizing Communicating Sequential Processes (CSP) for use in Java code. + </description> + <url>http://www.cs.kent.ac.uk/projects/ofa/jcsp</url> + <inceptionYear>1996</inceptionYear> + <licenses> + <license> + <name>LGPLv2.1</name> + <url>http://www.gnu.org/licenses/lgpl-2.1.html</url> + </license> + </licenses> + + <scm> + <connection>scm:svn:http://projects.cs.kent.ac.uk/projects/jcsp/svn/jcsp/trunk</connection> + </scm> + + <distributionManagement> + <repository> + <id>codehaus.org</id> + <name>JCSP Central Repository</name> + <url>dav:https://dav.codehaus.org/repository/jcsp</url> + </repository> + <snapshotRepository> + <id>codehaus.org</id> + <name>JCSP Snapshot Repository</name> + <url>dav:https://dav.codehaus.org/snapshots.repository/jcsp</url> + </snapshotRepository> + </distributionManagement> + + <repositories> + <repository> + <id>Codehaus</id> + <url>http://repository.codehaus.org</url> + </repository> + <repository> + <id>CodehausSnapshot</id> + <url>http://snapshots.repository.codehaus.org</url> + </repository> + </repositories> + + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.8.1</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.osgi.core</artifactId> + <version>1.4.0</version> + </dependency> + </dependencies> + + <build> + <sourceDirectory>${basedir}/src</sourceDirectory> + <testSourceDirectory>${basedir}/src</testSourceDirectory> + <defaultGoal>install</defaultGoal> + <!-- It seems this has to be here to avoid incorrect checksums being created on deployment. + cf. http://jira.codehaus.org/browse/MNG-4301 --> + <extensions> + <extension> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-webdav</artifactId> + <version>1.0-beta-2</version> + </extension> + </extensions> + <!-- --> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>5</source> + <target>5</target> + <debug>on</debug> + <excludes> + <exclude> + jcsp-demos/** + </exclude> + <exclude> + org/jcsp/test/** + </exclude> + </excludes> + <testIncludes> + <include> + org/jcsp/test/** + </include> + </testIncludes> + <!-- + TODO: Fix this code so it compiles. + --> + <testExcludes> + <exclude> + org/jcsp/test/TestExtendedRendezvous.java + </exclude> + </testExcludes> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <instructions> + <Export-Package>org.jcsp,org.jcsp.*</Export-Package> + </instructions> + </configuration> + </plugin> + </plugins> + </build> + + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <overview>overview.html</overview> + <author>true</author> + <version>true</version> + <use>true</use> + <locale>en_GB</locale> + <encoding>UTF-8</encoding> + <source>5</source> + <windowtitle>${name}</windowtitle> + <doctitle>${name}</doctitle> + <header>${name}</header> + <!-- Copyright symbol is © or © --> + <!-- N-dash symbol is – or – --> + <!-- Hummm... this is XML so we have to extra escaping of HTML entities. --> + <footer>Copyright &#169; 1997&#8211;2010 P.D.Austin and P.H.Welch. All rights reserved.</footer> + <charset>UTF-8</charset> + <excludePackageNames>jcsp-demos.*,org.jcsp.test.*</excludePackageNames> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jxr-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>taglist-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-report-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>jdepend-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <configuration> + <threshold>Low</threshold> + <effort>Max</effort> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + <configuration> + <linkXref>true</linkXref> + <sourceEncoding>utf-8</sourceEncoding> + <minimumTokens>100</minimumTokens> + <targetJdk>1.6</targetJdk> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>rat-maven-plugin</artifactId> + </plugin> + </plugins> + </reporting> + +</project> diff --git a/debian/rules b/debian/rules index d12e7f5..127265c 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,7 @@ #!/usr/bin/make -f export JAVA_HOME=/usr/lib/jvm/default-java +UPSTREAM_VERSION := $(shell dpkg-parsechangelog | sed -n '/^Version:/s/^[^:]*: \(.*\)-.*$$/\1/p') %: dh --with javahelper $@ @@ -8,6 +9,13 @@ export JAVA_HOME=/usr/lib/jvm/default-java override_dh_auto_clean: dh_auto_clean -rm -rf dist + mh_clean + +override_dh_install: + mh_installpom -plibjcsp-java debian/pom.xml + mh_installjar -plibjcsp-java -l debian/pom.xml dist/jcsp-*/jcsp.jar + jh_installlibs --upstream-version=${UPSTREAM_VERSION} dist/jcsp-*/jcsp-core.jar + dh_install override_dh_compress: dh_compress -X.java diff --git a/debian/watch b/debian/watch index 618c941..dcd722c 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,3 @@ version=3 -http://projects.cs.kent.ac.uk/projects/jcsp/svn/jcsp/tags/ \ -jcsp-(.+)/ debian debian/orig-tar.sh +opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/,dversionmangle=s/(\d)-?(rc\d*)$/$1~$2/ \ +http://www.cs.kent.ac.uk/projects/ofa/jcsp/jcsp-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)|jar) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jcsp.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

