[SCM] Maven build rule execution framework branch, master, updated. upstream/1.0.beta2-1-g41f802c

Gabriele Giacone gg0-guest at alioth.debian.org
Sat Feb 20 18:41:13 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maven build rule execution framework".

The branch, master has been updated
       via  41f802ca2d69a06062f53a2394cfc45b570492e7 (commit)
      from  235f0b30aa19db8052900414b653846111d16a93 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 41f802ca2d69a06062f53a2394cfc45b570492e7
Author: Gabriele Giacone <1o5g4r8o at gmail.com>
Date:   Sat Feb 20 19:41:01 2010 +0100

    added debian/

-----------------------------------------------------------------------

Summary of changes:
 debian/README.source         |    9 ++++++++
 debian/changelog             |    5 ++++
 debian/compat                |    1 +
 debian/control               |   43 ++++++++++++++++++++++++++++++++++++++++++
 debian/copyright             |   15 ++++++++++++++
 debian/libenforcer-java.poms |    4 +++
 debian/maven.ignoreRules     |    4 +++
 debian/maven.properties      |    1 +
 debian/maven.rules           |    1 +
 debian/orig-tar.sh           |   16 +++++++++++++++
 debian/rules                 |    9 ++++++++
 debian/watch                 |    4 +++
 12 files changed, 112 insertions(+), 0 deletions(-)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..c60f10b
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about enforcer
+------------------------------
+
+This package was debianized using the mh_make command
+from the maven-debian-helper package.
+
+The build system uses Maven but prevents it from downloading
+anything from the Internet, making the build compliant with
+the Debian policy.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9e9350a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+enforcer (1.0~beta2-1) unstable; urgency=low
+
+  * Initial release (Closes: #570673)
+
+ -- Gabriele Giacone <1o5g4r8o at gmail.com>  Sat, 20 Feb 2010 18:27:20 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..6bff042
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,43 @@
+Source: enforcer
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Gabriele Giacone <1o5g4r8o at gmail.com>
+Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper
+Build-Depends-Indep: libmaven-assembly-plugin-java (>= 2.2~beta4),
+ libmaven-cobertura-plugin-java (>= 2.3), libplexus-utils-java,
+ libmaven-compiler-plugin-java (>= 2.0.2), libmaven-jar-plugin-java (>= 2.2),  
+ libmaven-plugin-tools-java (>= 2.5), libmaven-site-plugin-java (>= 2.0),  
+ libplexus-maven-plugin-java (>= 1.3.8), bsh, libcommons-lang-java,
+ libmaven2-core-java, libplexus-container-default-java
+Standards-Version: 3.8.4
+Vcs-Git: git://git.debian.org/pkg-java/enforcer.git
+Vcs-Browser: http://git.debian.org/?p=pkg-java/enforcer.git
+Homepage: http://maven.apache.org/enforcer 
+
+Package: libenforcer-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Recommends: ${maven:OptionalDepends}
+Description: Maven build rule execution framework
+ Enforcer is a Maven build rule execution framework.
+ Maven Enforcer Plugin provides goals to control certain environmental
+ constraints such as Maven version, JDK version and OS family along with many
+ more standard rules:
+  * alwaysPass - Always passes... used to test plugin configuration.
+  * alwaysFail - Always fail... used to test plugin configuration.
+  * bannedDependencies - enforces that excluded dependencies aren't included.
+  * evaluateBeanshell - evaluates a beanshell script.
+  * requireReleaseDeps - enforces that no snapshots are included as
+    dependencies.
+  * requireReleaseVersion - enforces that the artifact is not a snapshot.
+  * requireMavenVersion - enforces the Maven version.
+  * requireJavaVersion - enforces the JDK version.
+  * requireOS - enforces the OS / CPU Archictecture.
+  * requirePluginVersions - enforces that all plugins have a specified version.
+  * requireProperty - enforces the existence and values of properties.
+  * requireFilesDontExist - enforces that the list of files do not exist.
+  * requireFilesExist - enforces that the list of files do exist.
+  * requireFilesSize - enforces that the list of files exist and are within a
+    certain size range.
+ Custom rules are easy to make with the maven-enforcer-rule-api.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..09e9c17
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,15 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: Enforcer - build rule execution framework
+Maintainer: Brian Fox <brianf at apache.org>
+Source: http://maven.apache.org/enforcer
+
+Copyright: Apache Software Foundation
+License: Apache Software License, Version 2.0
+  On Debian GNU/Linux system you can find the complete text of the
+  Apache Software License 2.0 in '/usr/share/common-licenses/Apache-2.0'
+
+Files: debian/*
+Copyright: 2010, Gabriele Giacone <1o5g4r8o at gmail.com>
+License: GPL-3+
+  On Debian GNU/Linux system you can find the complete text of the
+  GPL-3 license in '/usr/share/common-licenses/GPL-3'
diff --git a/debian/libenforcer-java.poms b/debian/libenforcer-java.poms
new file mode 100644
index 0000000..0f1944d
--- /dev/null
+++ b/debian/libenforcer-java.poms
@@ -0,0 +1,4 @@
+pom.xml --no-parent
+enforcer-api/pom.xml
+enforcer-rules/pom.xml
+maven-enforcer-plugin/pom.xml
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..31c1892
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,4 @@
+easymock easymock maven-plugin *
+junit junit jar s/.*/3.x/ *
+org.apache.maven.enforcer enforcer-rules test-jar * *
+s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-harness jar *
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..d2f1b82
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1 @@
+maven.test.skip=true
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..bd0231e
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1 @@
+org.codehaus.plexus plexus-container-default jar s/1\.0-alpha.*/1.0-alpha/ *
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..7b7ee79
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../enforcer_$VERSION.orig.tar.gz
+DIR=enforcer-$VERSION
+TAG=$(echo "enforcer-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
+
+svn export http://svn.apache.org/repos/asf/maven/enforcer/tags/${TAG}/ $DIR
+GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
+rm -rf $DIR ../$TAG
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir && echo "moved $TAR to $origDir"
+fi
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b76c54a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/maven.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java
+
+get-orig-source:
+	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..9b4de74
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts="uversionmangle=s/-(alpha|beta)-/~$1/" \
+  http://svn.apache.org/repos/asf/maven/enforcer/tags/ \
+  enforcer-(\d.*)/ debian debian/orig-tar.sh


hooks/post-receive
-- 
Maven build rule execution framework



More information about the pkg-java-commits mailing list