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

tjaalton-guest pushed a commit to branch master
in repository txw2.

commit e5228c416156bcea30609e8dab248d381dd632a9
Author: Timo Aaltonen <tjaal...@ubuntu.com>
Date:   Wed Jan 8 16:35:55 2014 +0200

    add missing files
---
 debian/libtxw2-java.poms      | 30 ++++++++++++++++++++++++++++++
 debian/maven.cleanIgnoreRules |  1 +
 debian/maven.ignoreRules      |  0
 debian/maven.properties       |  5 +++++
 debian/maven.publishedRules   |  4 ++++
 debian/maven.rules            | 12 ++++++++++++
 debian/orig-tar.sh            | 25 +++++++++++++++++++++++++
 7 files changed, 77 insertions(+)

diff --git a/debian/libtxw2-java.poms b/debian/libtxw2-java.poms
new file mode 100644
index 0000000..63eef91
--- /dev/null
+++ b/debian/libtxw2-java.poms
@@ -0,0 +1,30 @@
+# 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 --no-parent --has-package-version
+compiler/pom.xml --has-package-version --java-lib
+runtime/pom.xml --has-package-version --java-lib
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..e69de29
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..c67a92a
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,5 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+# maven.test.skip=true
+
+project.build.sourceEncoding=UTF-8
diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules
new file mode 100644
index 0000000..a850ca6
--- /dev/null
+++ b/debian/maven.publishedRules
@@ -0,0 +1,4 @@
+
+com.sun.xml.txw2 txw2-project pom s/.*/debian/ * *
+com.sun.xml.txw2 txw2 jar s/.*/debian/ * *
+com.sun.xml.txw2 txwc2 jar s/.*/debian/ * *
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..5ffca25
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,12 @@
+
+com.sun.codemodel codemodel-annotation-compiler jar s/2\..*/2.x/ * *
+com.sun.codemodel codemodel-project pom s/2\..*/2.x/ * *
+com.sun.codemodel codemodel jar s/2\..*/2.x/ * *
+com.sun.xml.txw2 txw2-project pom s/.*/debian/ * *
+com.sun.xml.txw2 txw2 jar s/.*/debian/ * *
+com.sun.xml.txw2 txwc2 jar s/.*/debian/ * *
+com.sun.xsom xsom jar s/.*/debian/ * *
+junit junit jar s/4\..*/4.x/ * *
+org.kohsuke.rngom rngom jar s/.*/debian/ * *
+s/ant/org.apache.ant/ * * s/.*/debian/ * *
+s/javax.xml.stream/stax/ stax-api jar s/1.0-2/1.0.1/ * *
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..db26bcd
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,25 @@
+#!/bin/sh -e
+
+REVISION=$1
+VERSION=$2
+TAR=../txw2_0.1+$VERSION.orig.tar.xz
+DIR=txw2-0.1+$VERSION
+TAG=$(echo "txw2-project-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
+
+svn export -r $REVISION https://svn.java.net/svn/jaxb~version2/trunk/txw2 $DIR
+XZ_OPT=--best tar -c -J -f $TAR \
+    --exclude '*.jar' \
+    --exclude '*.class' \
+    --exclude '*.ipr' \
+    --exclude '*.iml' \
+    --exclude '.settings' \
+    --exclude '.project' \
+    --exclude '.classpath' \
+    $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

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

_______________________________________________
pkg-java-commits mailing list
pkg-java-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to