[maven-scala-plugin] 02/03: Add initial packaging
Andreas Tille
tille at debian.org
Thu Jan 28 18:28:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository maven-scala-plugin.
commit ceb71ea666ff441b90499711986301b134bfbbd7
Author: Andreas Tille <tille at debian.org>
Date: Thu Jan 28 17:10:32 2016 +0100
Add initial packaging
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 23 +++++++++++++++++++++++
debian/copyright | 29 +++++++++++++++++++++++++++++
debian/libscala-maven-plugin-java.poms | 28 ++++++++++++++++++++++++++++
debian/libscala-maven-plugin-java.substvars | 8 ++++++++
debian/maven.cleanIgnoreRules | 1 +
debian/maven.ignoreRules | 7 +++++++
debian/maven.publishedRules | 1 +
debian/maven.rules | 4 ++++
debian/rules | 7 +++++++
debian/source/format | 1 +
debian/watch | 5 +++++
13 files changed, 120 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..05da1b4
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+maven-scala-plugin (2.15.2-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #<bug>)
+
+ -- Andreas Tille <tille at debian.org> Thu, 28 Jan 2016 15:27:24 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7fb1825
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: maven-scala-plugin
+Section: science
+Priority: optional
+Maintainer: Debian Java maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Build-Depends: debhelper (>= 9),
+ default-jdk,
+ javahelper,
+ maven-debian-helper,
+ libanimal-sniffer-java,
+ libcommons-exec-java,
+ libmaven-dependency-tree-java
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-java/maven-scala-plugin.git
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-java/maven-scala-plugin.git
+Homepage: http://scala-tools.org/mvnsites/maven-scala-plugin/
+
+Package: maven-scala-plugin
+Architecture: any
+Depends: ${maven:Depends}, ${misc:Depends}
+Description: scala plugin for maven
+ The maven-scala-plugin is used for compiling/testing/running/documenting
+ scala code in maven.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b729566
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Contact: David Bernard <david.bernard.31 at gmail.com>
+Source: https://github.com/davidB/scala-maven-plugin/releases?after=3.1.1
+Comment: Note that we explicitly want version 2.x for the moment
+
+Files: *
+Copyright: 2007-2011 David Bernard <david.bernard.31 at gmail.com>
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2016 Andreas Tille <tille at debian.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed 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.
+ .
+ On Debian systems you can find the full text of the Apache 2.0 license
+ at /usr/share/common-licenses/Apache-2.0
+
diff --git a/debian/libscala-maven-plugin-java.poms b/debian/libscala-maven-plugin-java.poms
new file mode 100644
index 0000000..0417132
--- /dev/null
+++ b/debian/libscala-maven-plugin-java.poms
@@ -0,0 +1,28 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+# --ignore: ignore this POM and its artifact if any
+# --ignore-pom: don't install the POM. To use on POM files that are created
+# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+# --no-parent: remove the <parent> tag from the POM
+# --package=<package>: an alternative package to use when installing this POM
+# and its artifact
+# --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+# of the version for the package.
+# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+# during a clean operation with mh_cleanpom or mh_installpom
+# --artifact=<path>: path to the build artifact associated with this POM,
+# it will be installed when using the command mh_install. [mh_install]
+# --java-lib: install the jar into /usr/share/java to comply with Debian
+# packaging guidelines
+# --usj-name=<name>: name to use when installing the library in /usr/share/java
+# --usj-version=<version>: version to use when installing the library in /usr/share/java
+# --no-usj-versionless: don't install the versionless link in /usr/share/java
+# --dest-jar=<path>: the destination for the real jar.
+# It will be installed with mh_install. [mh_install]
+# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+# Empty by default. [mh_install]
+#
+pom.xml --has-package-version
diff --git a/debian/libscala-maven-plugin-java.substvars b/debian/libscala-maven-plugin-java.substvars
new file mode 100644
index 0000000..80c43d5
--- /dev/null
+++ b/debian/libscala-maven-plugin-java.substvars
@@ -0,0 +1,8 @@
+#List of dependencies for libscala-maven-plugin-java, generated for use by debian/control
+maven.CompileDepends=libmaven-plugin-tools-java (>= 3.2), libmaven-site-plugin-java
+maven.UpstreamPackageVersion=2.15.2
+maven.Depends=libmaven-dependency-tree-java, libmaven2-core-java
+maven.OptionalDepends=
+maven.TestDepends=
+maven.DocDepends=default-jdk-doc, libmaven-dependency-tree-java-doc, libmaven2-core-java-doc
+maven.DocOptionalDepends=
diff --git a/debian/maven.cleanIgnoreRules b/debian/maven.cleanIgnoreRules
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/debian/maven.cleanIgnoreRules
@@ -0,0 +1 @@
+
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..450ea31
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,7 @@
+
+org.apache.maven.plugins maven-changes-plugin * * * *
+org.apache.maven.plugins maven-docck-plugin * * * *
+org.apache.maven.plugins maven-javadoc-plugin * * * *
+org.apache.maven.plugins maven-jxr-plugin * * * *
+org.apache.maven.plugins maven-project-info-reports-plugin * * * *
+org.codehaus.mojo taglist-maven-plugin * * * *
diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/debian/maven.publishedRules
@@ -0,0 +1 @@
+
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..a83ecf7
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,4 @@
+
+org.codehaus.mojo.animal_sniffer animal-sniffer jar s/.*/debian/ * *
+org.apache.commons.exec commons-exec jar s/.*/debian/ * *
+org.apache.maven.shared maven-dependency-tree jar s/.*/debian/ * *
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3a821dd
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+# DH_VERBOSE := 1
+
+%:
+ dh $@ --buildsystem=maven --with javahelper
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e8d55bd
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=3
+
+# for the moment we explicitly want version 2.x of this
+# the trick with "?after=3.1.1" will not work any more after the next upstream release
+https://github.com/davidB/scala-maven-plugin/releases?after=3.1.1 .*/archive/v*(2\.[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-scala-plugin.git
More information about the pkg-java-commits
mailing list