[OWASP-benchmark-project] Build of latest Benchmark Project fails under Linux Mint 17

Kevin W. Wall kevin.w.wall at gmail.com
Wed Dec 9 07:50:33 UTC 2015


Using
Apache Maven 2.2.1 (rdebian-14)
Java version: 1.7.0_91
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "3.16.0-38-generic" arch: "amd64" Family: "unix"


"mvn compile" fails with the following error message. At this point, I'm too
tired to google for the error and try to fix it. Any help appreciated. Here's
the relevant output from 'mvn -e compile':

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to initialise extensions
Component descriptor role:
'org.apache.maven.artifact.deployer.ArtifactDeployer', implementation:
'org.apache.maven.artifact.deployer.DefaultArtifactDeployer', role
hint: 'default' has a hint, but there are other implementations that
don't
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to
initialise extensions
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findExtensions(DefaultLifecycleExecutor.java:200)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:178)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.codehaus.plexus.PlexusContainerException: Cannot add
jar resource: /home/kww/.m2/repository/org/apache/maven/maven-compat/3.2.1/maven-compat-3.2.1.jar
(error discovering new components)
    at org.codehaus.plexus.DefaultPlexusContainer.addJarResource(DefaultPlexusContainer.java:1409)
    at org.apache.maven.extension.DefaultExtensionManager.addExtension(DefaultExtensionManager.java:202)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findExtensions(DefaultLifecycleExecutor.java:196)
    ... 13 more
Caused by: org.codehaus.plexus.component.repository.exception.ComponentRepositoryException:
Component descriptor role:
'org.apache.maven.artifact.deployer.ArtifactDeployer', implementation:
'org.apache.maven.artifact.deployer.DefaultArtifactDeployer', role
hint: 'default' has a hint, but there are other implementations that
don't
    at org.codehaus.plexus.component.repository.DefaultComponentRepository.addComponentDescriptor(DefaultComponentRepository.java:184)
    at org.codehaus.plexus.DefaultPlexusContainer.addComponentDescriptor(DefaultPlexusContainer.java:515)
    at org.codehaus.plexus.DefaultPlexusContainer.discoverComponents(DefaultPlexusContainer.java:738)
    at org.codehaus.plexus.DefaultPlexusContainer.addJarResource(DefaultPlexusContainer.java:1396)
    ... 15 more


Thanks,
-kevin
-- 
Blog: http://off-the-wall-security.blogspot.com/
NSA: All your crypto bit are belong to us.


More information about the OWASP-benchmark-project mailing list