Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
antlr-maven-plugin
maven-antlr-plugin-2.1-sinkfix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File maven-antlr-plugin-2.1-sinkfix.patch of Package antlr-maven-plugin
--- src/main/java/org/codehaus/mojo/antlr/AntlrHtmlReport.java.sink 2010-11-16 16:59:34.000000000 +0000 +++ src/main/java/org/codehaus/mojo/antlr/AntlrHtmlReport.java 2015-06-17 10:54:56.729105945 +0100 @@ -27,6 +27,7 @@ import org.apache.maven.doxia.siterenderer.Renderer; import org.apache.maven.doxia.siterenderer.RendererException; +import org.apache.maven.doxia.siterenderer.DocumentRenderingContext; import org.apache.maven.doxia.siterenderer.sink.SiteRendererSink; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; @@ -217,20 +218,11 @@ { try { - SiteRendererSink sink = siteRenderer.createSink( getReportOutputDirectory(), getOutputName() + ".html" ); + DocumentRenderingContext context = new DocumentRenderingContext( getReportOutputDirectory(), getOutputName() + ".html", null ); + 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 )
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor