Adding the dependency to the chirr plugin worked BTW, but the site build failed 
later on something else. I’ll continue looking into that tonight as time 
permits.

Ralph

> On Mar 5, 2018, at 11:15 PM, Apache <ralph.go...@dslextreme.com> wrote:
> 
> But that does give me an idea. If there is a newer version of bcel I can 
> override the plugin to use it. I will try that tomorrow.
> 
> Ralph
> 
>> On Mar 5, 2018, at 11:12 PM, Apache <ralph.go...@dslextreme.com> wrote:
>> 
>> We are using the latest version of the clirr plugin.
>> 
>> Ralph
>> 
>>> On Mar 5, 2018, at 9:57 PM, Gary Gregory <garydgreg...@gmail.com> wrote:
>>> 
>>> The site is using an old version of maven-site-plugin which in turns
>>> depends (IIRC) on a version of Apache BCEL that does not know what to do
>>> with Java 8 and/or 9 byte codes.
>>> 
>>> I'm pretty sure that the current version of maven-site-plugin (3.7) has
>>> updated its dependency on BCEL to the latest where I updated the code to
>>> avoid this exception.
>>> 
>>> Gary
>>> 
>>> On Mon, Mar 5, 2018 at 9:06 PM, Ralph Goers <ralph.go...@dslextreme.com>
>>> wrote:
>>> 
>>>> I am afraid I am unable to build the site for release 2.11.0 and I don’t
>>>> know why. It fails with the stack trace below, but as far as I know nothing
>>>> significant has changed in this area since the last release.  Any ideas?
>>>> 
>>>> Ralph
>>>> 
>>>> [ERROR] Failed to execute goal 
>>>> org.apache.maven.plugins:maven-site-plugin:3.4:site
>>>> (default-site) on project log4j-api: Execution default-site of goal
>>>> org.apache.maven.plugins:maven-site-plugin:3.4:site failed: Invalid byte
>>>> tag in constant pool: 19 -> [Help 1]
>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>>>> goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site)
>>>> on project log4j-api: Execution default-site of goal
>>>> org.apache.maven.plugins:maven-site-plugin:3.4:site failed: Invalid byte
>>>> tag in constant pool: 19
>>>>      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
>>>> MojoExecutor.java:213)
>>>>      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
>>>> MojoExecutor.java:154)
>>>>      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
>>>> MojoExecutor.java:146)
>>>>      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
>>>> buildProject(LifecycleModuleBuilder.java:117)
>>>>      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
>>>> buildProject(LifecycleModuleBuilder.java:81)
>>>>      at org.apache.maven.lifecycle.internal.builder.singlethreaded.
>>>> SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>>>>      at org.apache.maven.lifecycle.internal.LifecycleStarter.
>>>> execute(LifecycleStarter.java:128)
>>>>      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
>>>>      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
>>>>      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
>>>>      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
>>>>      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
>>>>      at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke(
>>>> NativeMethodAccessorImpl.java:57)
>>>>      at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>>> DelegatingMethodAccessorImpl.java:43)
>>>>      at java.lang.reflect.Method.invoke(Method.java:606)
>>>>      at org.codehaus.plexus.classworlds.launcher.Launcher.
>>>> launchEnhanced(Launcher.java:289)
>>>>      at org.codehaus.plexus.classworlds.launcher.Launcher.
>>>> launch(Launcher.java:229)
>>>>      at org.codehaus.plexus.classworlds.launcher.Launcher.
>>>> mainWithExitCode(Launcher.java:415)
>>>>      at org.codehaus.plexus.classworlds.launcher.Launcher.
>>>> main(Launcher.java:356)
>>>> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
>>>> default-site of goal org.apache.maven.plugins:maven-site-plugin:3.4:site
>>>> failed: Invalid byte tag in constant pool: 19
>>>>      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
>>>> DefaultBuildPluginManager.java:145)
>>>>      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
>>>> MojoExecutor.java:208)
>>>>      ... 20 more
>>>> Caused by: org.apache.bcel.classfile.ClassFormatException: Invalid byte
>>>> tag in constant pool: 19
>>>>      at org.apache.bcel.classfile.Constant.readConstant(
>>>> Constant.java:167)
>>>>      at org.apache.bcel.classfile.ConstantPool.<init>(
>>>> ConstantPool.java:66)
>>>>      at org.apache.bcel.classfile.ClassParser.readConstantPool(
>>>> ClassParser.java:239)
>>>>      at org.apache.bcel.classfile.ClassParser.parse(ClassParser.
>>>> java:144)
>>>>      at net.sf.clirr.core.internal.bcel.BcelTypeArrayBuilder.
>>>> extractClass(BcelTypeArrayBuilder.java:135)
>>>>      at net.sf.clirr.core.internal.bcel.BcelTypeArrayBuilder.
>>>> createClassSet(BcelTypeArrayBuilder.java:82)
>>>>      at org.codehaus.mojo.clirr.AbstractClirrMojo.
>>>> resolvePreviousReleaseClasses(AbstractClirrMojo.java:424)
>>>>      at org.codehaus.mojo.clirr.AbstractClirrMojo.executeClirr(
>>>> AbstractClirrMojo.java:263)
>>>>      at org.codehaus.mojo.clirr.ClirrReport.doReport(
>>>> ClirrReport.java:251)
>>>>      at org.codehaus.mojo.clirr.ClirrReport.generate(
>>>> ClirrReport.java:227)
>>>>      at org.codehaus.mojo.clirr.ClirrReport.generate(
>>>> ClirrReport.java:368)
>>>>      at org.apache.maven.plugins.site.render.ReportDocumentRenderer.
>>>> renderDocument(ReportDocumentRenderer.java:233)
>>>>      at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.
>>>> renderModule(DefaultSiteRenderer.java:311)
>>>>      at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(
>>>> DefaultSiteRenderer.java:129)
>>>>      at org.apache.maven.plugins.site.render.SiteMojo.renderLocale(
>>>> SiteMojo.java:182)
>>>>      at org.apache.maven.plugins.site.render.SiteMojo.execute(
>>>> SiteMojo.java:141)
>>>>      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
>>>> DefaultBuildPluginManager.java:134)
>>>>      ... 21 more
>>>> 
>>>> 
>> 
>> 
>> 
> 
> 
> 


Reply via email to