You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/08/08 10:23:00 UTC

[jira] [Commented] (BIGTOP-3061) Crunch build failure

    [ https://issues.apache.org/jira/browse/BIGTOP-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16572988#comment-16572988 ] 

ASF GitHub Bot commented on BIGTOP-3061:
----------------------------------------

GitHub user JunHe77 opened a pull request:

    https://github.com/apache/bigtop/pull/378

    BIGTOP-3061: Fix ClassNotFound issue for crunch build

    Crunch build failed due to "ClassNotFound" in doxia.
    This is caused by maven-project-info-reports-plugin updated to 3.0.0, and rely
    on doxia-site-renderer 1.8 (which has org.apache.maven.doxia.siterenderer.DocumentContent
    this class), but maven-site-plugin:3.3 rely on doxia-site-renderer:1.4 (which
    don't have org.apache.maven.doxia.siterenderer.DocumentContent)
    Upgrade maven-site-plugin can resolve this.
    
    Change-Id: I3c2a2bf717fa070b61b4c1788a52874361910dbc
    Signed-off-by: Jun He <ju...@linaro.org>

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JunHe77/bigtop BIGTOP-3061

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/bigtop/pull/378.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #378
    
----
commit 6cd7631f6637bb7562bb2b85c14a5d617efe24bb
Author: Jun He <ju...@...>
Date:   2018-08-08T04:51:49Z

    BIGTOP-3061: Fix ClassNotFound issue for crunch build
    
    Crunch build failed due to "ClassNotFound" in doxia.
    This is caused by maven-project-info-reports-plugin updated to 3.0.0, and rely
    on doxia-site-renderer 1.8 (which has org.apache.maven.doxia.siterenderer.DocumentContent
    this class), but maven-site-plugin:3.3 rely on doxia-site-renderer:1.4 (which
    don't have org.apache.maven.doxia.siterenderer.DocumentContent)
    Upgrade maven-site-plugin can resolve this.
    
    Change-Id: I3c2a2bf717fa070b61b4c1788a52874361910dbc
    Signed-off-by: Jun He <ju...@linaro.org>

----


> Crunch build failure
> --------------------
>
>                 Key: BIGTOP-3061
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-3061
>             Project: Bigtop
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>            Reporter: Jun He
>            Priority: Major
>             Fix For: backlog
>
>
> Crunch build failed due to "ClassNotFound" in doxia.
> {code:bash}
> java.lang.NoClassDefFoundError: org/apache/maven/doxia/siterenderer/DocumentContent
>     at java.lang.Class.getDeclaredConstructors0 (Native Method)
>     at java.lang.Class.privateGetDeclaredConstructors (Class.java:2671)
>     at java.lang.Class.getDeclaredConstructors (Class.java:2020)
>     at com.google.inject.spi.InjectionPoint.forConstructorOf (InjectionPoint.java:245)
>     at com.google.inject.internal.ConstructorBindingImpl.create (ConstructorBindingImpl.java:115)
>     at com.google.inject.internal.InjectorImpl.createUninitializedBinding (InjectorImpl.java:706)
>     at com.google.inject.internal.InjectorImpl.createJustInTimeBinding (InjectorImpl.java:929)
>     at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive (InjectorImpl.java:852)
>     at com.google.inject.internal.InjectorImpl.getJustInTimeBinding (InjectorImpl.java:291)
>     at com.google.inject.internal.InjectorImpl.getBindingOrThrow (InjectorImpl.java:222)
>     at com.google.inject.internal.InjectorImpl.getProviderOrThrow (InjectorImpl.java:1040)
>     at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1071)
>     at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1034)
>     at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1086)
>     at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48)
>     at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactor
> ......................
> Caused by: java.lang.ClassNotFoundException: org.apache.maven.doxia.siterenderer.DocumentContent
>     at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass (SelfFirstStrategy.java:50)
>     at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass (ClassRealm.java:271)
>     at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:247)
>     at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:239)
>     at java.lang.Class.getDeclaredConstructors0 (Native Method)
>     at java.lang.Class.privateGetDeclaredConstructors (Class.java:2671)
>     at java.lang.Class.getDeclaredConstructors (Class.java:2020)
> ......................
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-cli) on project crunch-parent: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.4:site failed: A required class was missing while executing org.apache.maven.plugins:maven-site-plugin:3.4:site: org/apache/maven/doxia/siterenderer/DocumentContent
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)