[maven-filtering] 01/32: new package maven-filtering

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jul 17 15:57:10 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository maven-filtering.

commit 1e1fc255b431094a562e5711d09610bfbbf523d4
Author: Torsten Werner <twerner at debian.org>
Date:   Sun Dec 7 22:02:54 2008 +0000

    new package maven-filtering
---
 debian/ant.properties |  4 ++++
 debian/build.xml      | 24 ++++++++++++++++++++++++
 debian/changelog      |  6 ++++++
 debian/compat         |  1 +
 debian/control        | 33 +++++++++++++++++++++++++++++++++
 debian/copyright      | 33 +++++++++++++++++++++++++++++++++
 debian/orig-tar.sh    | 16 ++++++++++++++++
 debian/rules          | 25 +++++++++++++++++++++++++
 debian/watch          |  4 ++++
 9 files changed, 146 insertions(+)

diff --git a/debian/ant.properties b/debian/ant.properties
new file mode 100644
index 0000000..bcb4166
--- /dev/null
+++ b/debian/ant.properties
@@ -0,0 +1,4 @@
+javadoc.dir=build/api
+build.directory=target
+build.outputDirectory=target/classes
+maven.test.skip=true
diff --git a/debian/build.xml b/debian/build.xml
new file mode 100644
index 0000000..3257414
--- /dev/null
+++ b/debian/build.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+
+<project name="pkg-java" default="package" basedir="..">
+
+  <property name="maven.build.xml" value="/usr/share/maven-ant-helper/maven-build.xml"/>
+  <property file="/usr/share/maven-ant-helper/maven-defaults.properties"/>
+
+  <target name="clean">
+    <ant target="clean" antfile="${maven.build.xml}" dir="."/>
+  </target>
+
+  <target name="package">
+    <ant target="package" antfile="${maven.build.xml}" dir=".">
+      <property name="artifactId" value="maven-filtering"/>
+    </ant>
+  </target>
+
+  <target name="javadoc">
+    <javadoc destdir="${javadoc.dir}">
+      <packageset dir="src/main/java/"/>
+    </javadoc>
+  </target>
+
+</project>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..098d4dc
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+maven-filtering (1.0~beta-2-1) unstable; urgency=low
+
+  UNRELEASED
+  * Initial release. (Closes: #xxxxxx)
+
+ -- Torsten Werner <twerner at debian.org>  Thu, 04 Dec 2008 19:29:26 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..52de59c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: maven-filtering
+Section: devel
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Torsten Werner <twerner at debian.org>
+Build-Depends: default-jdk, ant, debhelper (>= 5), cdbs, quilt, maven-ant-helper
+Standards-Version: 3.8.0
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/maven-filtering
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/maven-filtering/
+Homepage: http://maven.apache.org/plugins/maven-compiler-plugin/
+
+Package: libmaven-filtering-java
+Architecture: all
+Section: devel
+Depends: ${misc:Depends}, default-jre | java2-runtime
+Description: Maven Filtering
+ Maven is a software project management and comprehension tool. Based on the
+ concept of a project object model (POM), Maven can manage a project's build,
+ reporting and documentation from a central piece of information.
+ .
+ Maven's primary goal is to allow a developer to comprehend the complete
+ state of a development effort in the shortest period of time. In order to
+ attain this goal there are several areas of concern that Maven attempts
+ to deal with:
+ .
+    * Making the build process easy
+    * Providing a uniform build system
+    * Providing quality project information
+    * Providing guidelines for best practices development
+    * Allowing transparent migration to new features
+ .
+ This packages provides a shared component for all Maven plugins which needs to
+ filter resources.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..067ec48
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+FIXME
+This package was debianized by Torsten Werner <twerner at debian.org>.
+
+The Debian packaging is Copyright (c) 2008 Torsten Werner and is
+licensed under the GNU General Public License version 3. On Debian
+systems, the complete text of the GNU General Public License can be
+found in '/usr/share/common-licenses/GPL'.
+
+The package was downloaded from <http://maven.apache.org>.
+
+Copyright: 2006-2007 The Apache Software Foundation.
+
+License:
+
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+ 
+    http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+
+The full text of the license can be found in
+`/usr/share/common-licenes/Apache-2.0'.
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..a837227
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+TAR=../maven-filtering_$2.orig.tar.gz
+DIR=maven-filtering-$2
+TAG=$(echo maven-filtering-$2 | sed -e's,~,-,')
+
+svn export http://svn.apache.org/repos/asf/maven/shared/tags/$TAG $DIR
+tar -c -z -f $TAR $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..11511be
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+PACKAGE              := $(shell dpkg-parsechangelog | egrep '^Source:' | cut -f2 -d' ')
+VERSION              := $(shell dpkg-parsechangelog | egrep '^Version:' | sed 's/Version: \(.*\)-.*/\1/')
+JAVA_HOME            := /usr/lib/jvm/default-java
+DEB_JARS             := maven2 plexus-compiler-api plexus-compiler-manager \
+  plexus-utils
+DEB_ANT_BUILD_TARGET := package #javadoc
+DEB_ANT_BUILDFILE    := debian/build.xml
+DEB_ANT_ARGS         := -Dversion=$(VERSION)
+API_DOCS             := build/api
+
+get-orig-source:
+	uscan --force-download
+
+REPO    := /usr/share/maven-repo
+PLUGINS := $(REPO)/org/apache/maven/plugins
+
+binary-post-install/lib$(PACKAGE)-java::
+	dh_install target/*.jar $(PLUGINS)/$(PACKAGE)/$(VERSION)/
+	install -m644 pom.xml $(DEB_DESTDIR)$(PLUGINS)/$(PACKAGE)/$(VERSION)/$(PACKAGE)-$(VERSION).pom
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a25eb8a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=uversionmangle=s{-beta}{~beta} \
+  http://svn.apache.org/repos/asf/maven/shared/tags/ \
+  maven-filtering-(.*)/ debian debian/orig-tar.sh

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



More information about the pkg-java-commits mailing list