[antlr-maven-plugin] 03/23: [svn-inject] Applying Debian modifications to trunk
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Jul 24 22:47:05 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository antlr-maven-plugin.
commit da50267e3e0cb2fb936cedb813a988e3a8311cde
Author: Ludovic Claude <ludovic.claude at laposte.net>
Date: Sun Jan 31 19:17:33 2010 +0000
[svn-inject] Applying Debian modifications to trunk
---
.debianVersion | 1 +
debian/README.source | 9 +++++
debian/changelog | 5 +++
debian/compat | 1 +
debian/control | 26 +++++++++++++
debian/copyright | 17 +++++++++
debian/libantlr-maven-plugin-java.poms | 1 +
debian/maven.ignoreRules | 1 +
debian/maven.properties | 1 +
debian/maven.rules | 4 ++
debian/orig-tar.sh | 16 ++++++++
debian/patches/modello-1.1.patch | 68 ++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 10 +++++
debian/watch | 4 ++
15 files changed, 165 insertions(+)
diff --git a/.debianVersion b/.debianVersion
new file mode 100644
index 0000000..2c5896f
--- /dev/null
+++ b/.debianVersion
@@ -0,0 +1 @@
+2.1-1
\ No newline at end of file
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..31ac800
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about antlr-maven-plugin
+------------------------------
+
+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..90b7a71
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+antlr-maven-plugin (2.1-0ubuntu1~ppa7) karmic; urgency=low
+
+ * Initial release (Closes: #567815)
+
+ -- Ludovic Claude <ludovic.claude at laposte.net> Mon, 18 Jan 2010 22:18:03 +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..fcdecd2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: antlr-maven-plugin
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Ludovic Claude <ludovic.claude at laposte.net>
+Build-Depends: debhelper (>= 7), cdbs, quilt, default-jdk, maven-debian-helper (>> 0.7)
+Build-Depends-Indep: libmaven-antrun-plugin-java (>= 1.3), libmaven-clean-plugin-java (>= 2.3),
+ libmaven-compiler-plugin-java (>= 2.0.2), libmaven-invoker-plugin-java (>= 1.3),
+ libmaven-jar-plugin-java (>= 2.2), libmaven-resources-plugin-java (>= 2.3),
+ libmaven-site-plugin-java (>= 2.0), libmodello-maven-plugin-java (>= 1.1),
+ libsurefire-java (>= 2.4.3), libmaven-reporting-impl-java, libmaven2-core-java,
+ libplexus-i18n-java, libplexus-utils-java, libwagon-java
+Standards-Version: 3.8.3
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/antlr-maven-plugin
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/antlr-maven-plugin/
+Homepage: http://mojo.codehaus.org/antlr-maven-plugin/
+
+Package: libantlr-maven-plugin-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Recommends: ${maven:OptionalDepends}
+Description: Maven ANTLR Plugin
+ Maven Plugin for Antlr v2. It can generate code from Antlr 2 scripts
+ inside a Maven build.
+
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2ed8c1e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,17 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: Maven ANTLR Plugin
+Maintainer: Codehaus developers, Vincent Siveton <vsiveton at apache.org>
+Source: http://mojo.codehaus.org/antlr-maven-plugin/
+
+Files: *
+Copyright: 2004-2010, Vincent Siveton <vsiveton at apache.org>
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2010, Ludovic Claude <ludovic.claude at laposte.net>
+License: Apache-2.0
+
+License: Apache-2.0
+ On Debian GNU/Linux system you can find the complete text of the
+ Apache-2.0 license in '/usr/share/common-licenses/Apache-2.0'
+
diff --git a/debian/libantlr-maven-plugin-java.poms b/debian/libantlr-maven-plugin-java.poms
new file mode 100644
index 0000000..43e746b
--- /dev/null
+++ b/debian/libantlr-maven-plugin-java.poms
@@ -0,0 +1 @@
+pom.xml --no-parent
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..6967f0c
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1 @@
+org.apache.maven.plugin-testing maven-plugin-testing-harness * *
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..ffeb6c0
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,4 @@
+s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing * s/.*/debian/ *
+s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-harness * s/.*/debian/ *
+s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-tools * s/.*/debian/ *
+s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-test-tools * s/.*/debian/ *
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100644
index 0000000..058cc4b
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../antlr-maven-plugin_$VERSION.orig.tar.gz
+DIR=antlr-maven-plugin-$VERSION
+TAG=$(echo "antlr-maven-plugin-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
+
+svn export https://svn.codehaus.org/mojo/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/patches/modello-1.1.patch b/debian/patches/modello-1.1.patch
new file mode 100644
index 0000000..8190a21
--- /dev/null
+++ b/debian/patches/modello-1.1.patch
@@ -0,0 +1,68 @@
+--- a/pom.xml
++++ b/pom.xml
+@@ -151,7 +151,7 @@
+ </executions>
+ <configuration>
+ <version>1.0.0</version>
+- <model>src/main/mdo/antlrOptions.mdo</model>
++ <models><model>src/main/mdo/antlrOptions.mdo</model></models>
+ </configuration>
+ </plugin>
+ <plugin>
+@@ -243,4 +243,4 @@
+ </build>
+ </profile>
+ </profiles>
+-</project>
+\ No newline at end of file
++</project>
+--- a/src/main/java/org/codehaus/mojo/antlr/AntlrHtmlReport.java
++++ b/src/main/java/org/codehaus/mojo/antlr/AntlrHtmlReport.java
+@@ -26,13 +26,13 @@
+ import java.util.Locale;
+
+ import org.apache.maven.doxia.siterenderer.Renderer;
+-import org.apache.maven.doxia.siterenderer.RendererException;
+ import org.apache.maven.doxia.siterenderer.sink.SiteRendererSink;
+ import org.apache.maven.plugin.MojoExecutionException;
+ import org.apache.maven.plugin.MojoFailureException;
+ import org.apache.maven.reporting.AbstractMavenReportRenderer;
+ import org.apache.maven.reporting.MavenReport;
+ import org.apache.maven.reporting.MavenReportException;
++import org.apache.maven.reporting.sink.SinkFactory;
+ import org.apache.maven.wagon.PathUtils;
+ import org.codehaus.doxia.sink.Sink;
+ import org.codehaus.plexus.i18n.I18N;
+@@ -218,20 +218,10 @@
+ {
+ try
+ {
+- SiteRendererSink sink = siteRenderer.createSink( getReportOutputDirectory(), getOutputName() + ".html" );
++ SiteRendererSink sink = SinkFactory.createSink( getReportOutputDirectory(), getOutputName() + ".html" );
+
+ generate( sink, Locale.getDefault() );
+ }
+- catch ( RendererException e )
+- {
+- throw new MojoExecutionException( "An error has occurred in " + getName( Locale.ENGLISH )
+- + " report generation.", e );
+- }
+- catch ( IOException e )
+- {
+- throw new MojoExecutionException( "An error has occurred in " + getName( Locale.ENGLISH )
+- + " report generation.", e );
+- }
+ catch ( MavenReportException e )
+ {
+ throw new MojoExecutionException( "An error has occurred in " + getName( Locale.ENGLISH )
+--- a/src/main/java/org/codehaus/mojo/antlr/AbstractAntlrMojo.java
++++ b/src/main/java/org/codehaus/mojo/antlr/AbstractAntlrMojo.java
+@@ -82,7 +82,7 @@
+ /**
+ * The maven project's helper.
+ *
+- * @parameter expression="${component.org.apache.maven.project.MavenProjectHelper}"
++ * @component role="org.apache.maven.project.MavenProjectHelper"
+ * @required
+ * @readonly
+ */
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..bb98abd
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+modello-1.1.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d777f34
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.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..0a1ac5a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts="uversionmangle=s/-(alpha|beta)-/~$1/" \
+ https://svn.codehaus.org/mojo/tags/ \
+ antlr-maven-plugin-(\d.*)/ debian debian/orig-tar.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/antlr-maven-plugin.git
More information about the pkg-java-commits
mailing list