shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Hazlewood <lhazlew...@apache.org>
Subject Re: Failed releases and Apache Rat
Date Wed, 25 Jul 2012 16:26:32 GMT
P.S. On the 1.2.0 tag, 'mvn site' failed w/ Maven 3.0.4.  It succeeded
with Maven 3.0.3.

--
Les Hazlewood | @lhazlewood
CTO, Stormpath | http://stormpath.com | @goStormpath | 888.391.5282
Stormpath wins GigaOM Structure Launchpad Award! http://bit.ly/MvZkMk


On Wed, Jul 25, 2012 at 9:25 AM, Les Hazlewood <lhazlewood@apache.org> wrote:
> Bizarre.  I checked out the 1.2.0 tag and it failed on 'mvn site' on
> the samples/spring module, but the 1.2.0 release clearly worked
> before.
>
> I think we need to tell the site plugin to exclude all the samples -
> they are there for source code reference only - not something we need
> to publish full maven reports for IMO.  I'll do that just for 1.2.1
> for now and see how it goes unless anyone feels strongly otherwise.
>
> --
> Les Hazlewood | @lhazlewood
> CTO, Stormpath | http://stormpath.com | @goStormpath | 888.391.5282
> Stormpath wins GigaOM Structure Launchpad Award! http://bit.ly/MvZkMk
>
>
> On Tue, Jul 24, 2012 at 10:20 PM, Les Hazlewood <lhazlewood@apache.org> wrote:
>> It looks to be a RAT failure, but this is weird:  This error only
>> occurs if running 'mvn site' at the root of the project or in the
>> 'support' directory.  It does not happen when in support/web directly.
>>
>> The message complains of a missing
>> 'src/main/resources/log4j.properties' file.  This is definitely in the
>> support/web module, but not in the project root or in 'support'.  I
>> wonder why it can't find it.
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-site-plugin:3.1:site (default-site) on
>> project samples-web: Error during page generation: Error rendering
>> Maven report: Cannot read header: src/main/resources/log4j.properties
>> (No such file or directory) -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>> execute goal org.apache.maven.plugins:maven-site-plugin:3.1:site
>> (default-site) on project samples-web: Error during page generation
>>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
>>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>>         at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>>         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>>         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>>         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>>         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>> Caused by: org.apache.maven.plugin.MojoExecutionException: Error
>> during page generation
>>         at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:143)
>>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>         ... 19 more
>> Caused by: org.apache.maven.doxia.siterenderer.RendererException:
>> Error rendering Maven report: Cannot read header
>>         at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:233)
>>         at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:319)
>>         at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:135)
>>         at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:175)
>>         at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:138)
>>         ... 21 more
>> Caused by: org.apache.maven.reporting.MavenReportException: Cannot read header
>>         at org.apache.rat.mp.RatReportMojo.generate(RatReportMojo.java:319)
>>         at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:228)
>>         ... 25 more
>> Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot read header
>>         at org.apache.rat.mp.AbstractRatMojo.createReport(AbstractRatMojo.java:388)
>>         at org.apache.rat.mp.RatReportMojo.createReport(RatReportMojo.java:156)
>>         at org.apache.rat.mp.RatReportMojo.generate(RatReportMojo.java:315)
>>         ... 26 more
>> Caused by: org.apache.rat.api.RatException: Cannot read header
>>         at org.apache.rat.report.claim.util.ClaimReporterMultiplexer.report(ClaimReporterMultiplexer.java:44)
>>         at org.apache.rat.mp.FilesReportable.run(FilesReportable.java:69)
>>         at org.apache.rat.Report.report(Report.java:410)
>>         at org.apache.rat.Report.report(Report.java:388)
>>         at org.apache.rat.mp.AbstractRatMojo.createReport(AbstractRatMojo.java:369)
>>         ... 28 more
>> Caused by: org.apache.rat.document.RatDocumentAnalysisException:
>> Cannot read header
>>         at org.apache.rat.analysis.DocumentHeaderAnalyser.analyse(DocumentHeaderAnalyser.java:45)
>>         at org.apache.rat.analysis.DefaultAnalyserFactory$DefaultAnalyser.analyse(DefaultAnalyserFactory.java:60)
>>         at org.apache.rat.document.impl.util.DocumentAnalyserMultiplexer.analyse(DocumentAnalyserMultiplexer.java:37)
>>         at org.apache.rat.report.claim.util.ClaimReporterMultiplexer.report(ClaimReporterMultiplexer.java:42)
>>         ... 32 more
>> Caused by: java.io.FileNotFoundException:
>> src/main/resources/log4j.properties (No such file or directory)
>>         at java.io.FileInputStream.open(Native Method)
>>         at java.io.FileInputStream.<init>(FileInputStream.java:120)
>>         at org.apache.rat.mp.FilesReportable$FileDocument.reader(FilesReportable.java:89)
>>         at org.apache.rat.analysis.DocumentHeaderAnalyser.analyse(DocumentHeaderAnalyser.java:40)
>>         ... 35 more

Mime
View raw message