maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ChristianSchulte <...@git.apache.org>
Subject [GitHub] maven pull request: [MNG-5738] Addition of command line flag '--le...
Date Tue, 03 Mar 2015 12:08:32 GMT
Github user ChristianSchulte commented on the pull request:

    https://github.com/apache/maven/pull/32#issuecomment-76933957
  
    What's the state of the current head as of today ? I just wanted to test the cobertura
plugin but cannot build the site with Maven 3.2.6-SNAPSHOT due to the following exception.
That's happening with a released project known to work. So `mvn site -e` with Maven 3.2.5
succeeds whereas 3.2.6-SNAPSHOT fails.
    
    ```
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site)
on project jomc-parent: Execution default-site 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/slf4j/spi/LocationAwareLogger
    ```
    
    ```
    Caused by: java.lang.NoClassDefFoundError: org/slf4j/spi/LocationAwareLogger
            at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:157)
            at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:289)
            at org.apache.commons.digester.Digester.<init>(Digester.java:308)
            at org.apache.velocity.tools.config.XmlFactoryConfiguration.read(XmlFactoryConfiguration.java:117)
            at org.apache.velocity.tools.config.FileFactoryConfiguration.read(FileFactoryConfiguration.java:140)
            at org.apache.velocity.tools.config.FileFactoryConfiguration.read(FileFactoryConfiguration.java:116)
            at org.apache.velocity.tools.config.FileFactoryConfiguration.read(FileFactoryConfiguration.java:91)
            at org.apache.velocity.tools.config.FileFactoryConfiguration.read(FileFactoryConfiguration.java:69)
            at org.apache.velocity.tools.config.FileFactoryConfiguration.read(FileFactoryConfiguration.java:59)
            at org.apache.velocity.tools.config.ConfigurationUtils.getDefaultTools(ConfigurationUtils.java:79)
            at org.apache.velocity.tools.config.ConfigurationUtils.getAutoLoaded(ConfigurationUtils.java:176)
            at org.apache.velocity.tools.ToolManager.autoConfigure(ToolManager.java:74)
            at org.apache.velocity.tools.ToolManager.<init>(ToolManager.java:68)
            at org.apache.velocity.tools.ToolManager.<init>(ToolManager.java:59)
            at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.createVelocityContext(DefaultSiteRenderer.java:427)
            at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.generateDocument(DefaultSiteRenderer.java:565)
            at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderDocument(DefaultSiteRenderer.java:422)
            at org.apache.maven.doxia.siterenderer.DoxiaDocumentRenderer.renderDocument(DoxiaDocumentRenderer.java:51)
            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.renderDoxiaDocuments(SiteMojo.java:261)
            at org.apache.maven.plugins.site.render.SiteMojo.renderLocale(SiteMojo.java:172)
            at org.apache.maven.plugins.site.render.SiteMojo.execute(SiteMojo.java:141)
            at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
            ... 21 more
    Caused by: java.lang.ClassNotFoundException: org.slf4j.spi.LocationAwareLogger
            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)
            ... 45 more
    ```



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message