debian/ 0000775 0000000 0000000 00000000000 12165255556 007204 5 ustar debian/patches/ 0000775 0000000 0000000 00000000000 12165230772 010624 5 ustar debian/patches/modello-1.1.patch 0000664 0000000 0000000 00000003521 12165053766 013604 0 ustar --- a/pom.xml
+++ b/pom.xml
@@ -132,7 +132,7 @@
1.0.0
- src/main/mdo/antlrOptions.mdo
+ src/main/mdo/antlrOptions.mdo
--- a/src/main/java/org/codehaus/mojo/antlr/AntlrHtmlReport.java
+++ b/src/main/java/org/codehaus/mojo/antlr/AntlrHtmlReport.java
@@ -25,8 +25,8 @@
import java.util.List;
import java.util.Locale;
+import org.apache.maven.doxia.sink.render.RenderingContext;
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;
@@ -217,20 +217,11 @@
{
try
{
- SiteRendererSink sink = siteRenderer.createSink( getReportOutputDirectory(), getOutputName() + ".html" );
+ RenderingContext context = new RenderingContext( getReportOutputDirectory(), getOutputName() + ".html" );
+ SiteRendererSink sink = new SiteRendererSink( context );
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 )
debian/patches/null-options-check.patch 0000664 0000000 0000000 00000001310 12165230772 015356 0 ustar Description: Fixed a NPE when the grammar options are null
Author: Emmanuel Bourg
Forwarded: yes
Bug: http://jira.codehaus.org/browse/MANTLR-34
--- a/src/main/java/org/codehaus/mojo/antlr/metadata/MetadataExtracter.java
+++ b/src/main/java/org/codehaus/mojo/antlr/metadata/MetadataExtracter.java
@@ -239,6 +239,8 @@
Method getRHSMethod = helper.getAntlrOptionClass().getMethod( "getRHS", Helper.NO_ARG_SIGNATURE );
getRHSMethod.setAccessible( true );
+ if (options == null) return;
+
Object importVocabOption = getElementMethod.invoke( options, new Object[] { "importVocab" } );
if ( importVocabOption != null )
{
debian/patches/series 0000664 0000000 0000000 00000000053 12165230470 012032 0 ustar null-options-check.patch
modello-1.1.patch
debian/rules 0000775 0000000 0000000 00000000360 12165053766 010262 0 ustar #!/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
debian/watch 0000664 0000000 0000000 00000000226 12165053766 010234 0 ustar version=3
opts="uversionmangle=s/-(alpha|beta)-/~$1/" \
http://svn.codehaus.org/mojo/tags/ \
antlr-maven-plugin-(\d.*)/ debian debian/orig-tar.sh
debian/orig-tar.sh 0000775 0000000 0000000 00000000727 12165053766 011274 0 ustar #!/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
debian/maven.properties 0000664 0000000 0000000 00000000025 12165053766 012424 0 ustar maven.test.skip=true
debian/changelog 0000664 0000000 0000000 00000002674 12165250207 011053 0 ustar antlr-maven-plugin (2.2-2) unstable; urgency=low
* Added a patch to fix a NPE when the grammar options are null
(http://jira.codehaus.org/browse/MANTLR-34)
-- Emmanuel Bourg Thu, 04 Jul 2013 10:27:52 +0200
antlr-maven-plugin (2.2-1) unstable; urgency=low
* New upstream release
* Refreshed the patch
* Added a dependency on libcommons-exec-java
* Updated Standards-Version to 3.9.4 (no changes)
* debian/copyright: Updated the Format URI to the version 1.0
* Use canonical URLs for the Vcs-* fields
* Added a lintian override for the javalib-but-no-public-jars warning
-- Emmanuel Bourg Wed, 03 Jul 2013 14:40:27 +0200
antlr-maven-plugin (2.1-2) unstable; urgency=low
* Team upload.
* Add Build-Depends on libmaven-plugin-tools-java. (Closes: #655371).
* Refresh modello-1.1.patch. (Closes: #643492).
Thanks to Daniel Schepler for contributing a fix for this bug.
* Bump Standards-Version to 3.9.2. No changes were required.
* Make copyright file DEP-5 compliant.
* Drop unnecessary B-D on quilt.
-- Miguel Landaeta Wed, 11 Jan 2012 22:54:32 -0430
antlr-maven-plugin (2.1-1) unstable; urgency=low
[ Ludovic Claude ]
* Initial release (Closes: #567815)
[ Torsten Werner ]
* Add myself to Uploaders.
* Fix debian/watch and debian/copyright.
* Switch to source format 3.0.
-- Torsten Werner Wed, 19 May 2010 22:30:21 +0200
debian/maven.publishedRules 0000644 0000000 0000000 00000000001 12165251601 013176 0 ustar
debian/source/ 0000775 0000000 0000000 00000000000 12165053766 010503 5 ustar debian/source/format 0000664 0000000 0000000 00000000014 12165053766 011711 0 ustar 3.0 (quilt)
debian/libantlr-maven-plugin-java.poms 0000664 0000000 0000000 00000003160 12165251601 015215 0 ustar # List of POM files for the package
# Format of this file is:
# [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 tag from the POM
# --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=: a list of XML elements to keep in the POM
# during a clean operation with mh_cleanpom or mh_installpom
# --artifact=: 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 to use when installing the library in /usr/share/java
# --usj-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=: the destination for the real jar.
# It will be installed with mh_install. [mh_install]
# --classifier=: Optional, the classifier for the jar. Empty by default.
# --site-xml=: Optional, the location for site.xml if it needs to be installed.
# Empty by default. [mh_install]
#
pom.xml --no-parent
debian/maven.ignoreRules 0000664 0000000 0000000 00000000106 12165251601 012512 0 ustar
org.apache.maven.plugin-testing maven-plugin-testing-harness * * * *
debian/compat 0000664 0000000 0000000 00000000002 12165053766 010401 0 ustar 7
debian/maven.rules 0000664 0000000 0000000 00000001120 12165251601 011343 0 ustar
org.apache.maven.reporting maven-reporting-impl jar s/.*/debian/ * *
org.apache.maven.wagon wagon-provider-api jar s/.*/debian/ * *
org.codehaus.plexus plexus-i18n jar 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-plugin-testing * s/.*/debian/ * *
s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-test-tools * s/.*/debian/ * *
debian/copyright 0000664 0000000 0000000 00000005303 12165053766 011137 0 ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Maven ANTLR Plugin
Upstream-Contact: Codehaus developers, Vincent Siveton
Source: http://mojo.codehaus.org/antlr-maven-plugin/
Files: *
Copyright: 2004-2010, Vincent Siveton
License: Apache-2.0
Files: src/test/resources/unit/no-antlr-dep/src/main/antlr/java15.g
src/test/resources/unit/java-grammar-test/src/main/antlr/java15.g
src/it/java-grammar-report-test/src/main/antlr/java15.g
Copyright: 2004-2005, Matt Quail at Cenqua
License: other
This grammar is in the PUBLIC DOMAIN
Files: src/test/resources/unit/java-grammar-inheritance-test/*
Copyright: 1998, Non, Inc.
License: other (BSD like)
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
.
Redistributions of source code must retain the above copyright
notice, this list of conditions, and the following disclaimer.
.
Redistributions in binary form must reproduce the above copyright
notice, this list of conditions, and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
.
All advertising materials mentioning features or use of this
software must display the following acknowledgement:
.
This product includes software developed by Non, Inc. and
its contributors.
.
Neither name of the company nor the names of its contributors
may be used to endorse or promote products derived from this
software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COMPANY OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
Files: debian/*
Copyright: 2010, Ludovic Claude
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'
debian/README.source 0000664 0000000 0000000 00000000456 12165053766 011367 0 ustar 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.
debian/control 0000664 0000000 0000000 00000003235 12165053766 010611 0 ustar Source: antlr-maven-plugin
Section: java
Priority: optional
Maintainer: Debian Java Maintainers
Uploaders: Ludovic Claude ,
Torsten Werner ,
Emmanuel Bourg
Build-Depends: cdbs, debhelper (>= 7), default-jdk, maven-debian-helper (>> 0.7)
Build-Depends-Indep: libcommons-exec-java,
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-plugin-tools-java,
libmaven-reporting-impl-java,
libmaven-resources-plugin-java (>= 2.3),
libmaven-site-plugin-java (>= 2.0),
libmaven2-core-java,
libmodello-maven-plugin-java (>= 1.1),
libplexus-i18n-java,
libplexus-utils-java,
libsurefire-java (>= 2.4.3),
libwagon-java
Standards-Version: 3.9.4
Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/antlr-maven-plugin
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/antlr-maven-plugin/
Homepage: http://mojo.codehaus.org/antlr-maven-plugin/
Package: libantlr-maven-plugin-java
Architecture: all
Depends: ${maven:Depends}, ${misc: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.
debian/maven.cleanIgnoreRules 0000644 0000000 0000000 00000000001 12165251601 013445 0 ustar
debian/libantlr-maven-plugin-java.lintian-overrides 0000664 0000000 0000000 00000000137 12165053766 017712 0 ustar # Jars for Maven plugins are only deployed in /usr/share/maven-repo
javalib-but-no-public-jars