Created
March 9, 2016 14:40
-
-
Save jirikrepl/759f3f61c0ce87ff522e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ Error stacktraces are turned on. | |
[INFO] Scanning for projects... | |
[INFO] Reactor build order: | |
[INFO] yaz4j | |
[INFO] yaz4j-any | |
[INFO] libyaz4j | |
[INFO] artifact org.codehaus.mojo:native-maven-plugin: checking for updates from Codehaus Snapshots | |
[WARNING] repository metadata for: 'artifact org.codehaus.mojo:native-maven-plugin' could not be retrieved from repository: Codehaus Snapshots due to an error: Error transferring file: snapshots.repository.codehaus.org | |
[INFO] Repository 'Codehaus Snapshots' will be blacklisted | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building yaz4j | |
[INFO] task-segment: [install] | |
[INFO] ------------------------------------------------------------------------ | |
[WARNING] DEPRECATED [tasks]: Use target instead | |
[INFO] [antrun:run {execution: write-swig-include}] | |
[WARNING] Parameter tasks is deprecated, use target instead | |
[INFO] Executing tasks | |
main: | |
[echo] YAZ INCLUDE=Usage: yaz-config [OPTIONS] [LIBRARIES] | |
[echo] Options: | |
[echo] [--prefix[=DIR]] | |
[echo] [--version] | |
[echo] [--libs] | |
[echo] [--lalibs] | |
[echo] [--cflags] | |
[echo] [--comp] | |
[echo] [-V] | |
[echo] Libraries: | |
[echo] threads icu server static | |
[INFO] Executed tasks | |
[INFO] [properties:read-project-properties {execution: read-swig-config}] | |
[WARNING] DEPRECATED [tasks]: Use target instead | |
[INFO] [antrun:run {execution: generate-sources}] | |
[WARNING] Parameter tasks is deprecated, use target instead | |
[INFO] Executing tasks | |
main: | |
[echo] Using include: Usage: yaz-config [OPTIONS] [LIBRARIES] | |
[exec] swig error : Unrecognized option Usage: yaz-config [OPTIONS] [LIBRARIES] | |
[exec] Use 'swig -help' for available options. | |
[INFO] Executed tasks | |
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}] | |
[INFO] Preparing source:jar | |
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. | |
[WARNING] DEPRECATED [tasks]: Use target instead | |
[INFO] [antrun:run {execution: write-swig-include}] | |
[WARNING] Parameter tasks is deprecated, use target instead | |
[INFO] Executing tasks | |
main: | |
[echo] YAZ INCLUDE=Usage: yaz-config [OPTIONS] [LIBRARIES] | |
[INFO] Executed tasks | |
[INFO] [properties:read-project-properties {execution: read-swig-config}] | |
[WARNING] DEPRECATED [tasks]: Use target instead | |
[INFO] [antrun:run {execution: generate-sources}] | |
[WARNING] Parameter tasks is deprecated, use target instead | |
[INFO] Executing tasks | |
main: | |
[echo] Using include: Usage: yaz-config [OPTIONS] [LIBRARIES] | |
[exec] swig error : Unrecognized option Usage: yaz-config [OPTIONS] [LIBRARIES] | |
[exec] Use 'swig -help' for available options. | |
[INFO] Executed tasks | |
[INFO] [source:jar {execution: attach-sources}] | |
[INFO] [install:install {execution: default-install}] | |
[INFO] Installing /home/kreplj/Desktop/yaz4j/pom.xml to /home/kreplj/.m2/repository/org/yaz4j/yaz4j-lib/1.2-SNAPSHOT/yaz4j-lib-1.2-SNAPSHOT.pom | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building yaz4j-any | |
[INFO] task-segment: [install] | |
[INFO] ------------------------------------------------------------------------ | |
[WARNING] DEPRECATED [tasks]: Use target instead | |
[INFO] [antrun:run {execution: write-swig-include}] | |
[WARNING] Parameter tasks is deprecated, use target instead | |
[INFO] Executing tasks | |
main: | |
[echo] YAZ INCLUDE=Usage: yaz-config [OPTIONS] [LIBRARIES] | |
[echo] Options: | |
[echo] [--prefix[=DIR]] | |
[echo] [--version] | |
[echo] [--libs] | |
[echo] [--lalibs] | |
[echo] [--cflags] | |
[echo] [--comp] | |
[echo] [-V] | |
[echo] Libraries: | |
[echo] threads icu server static | |
[INFO] Executed tasks | |
[INFO] [properties:read-project-properties {execution: read-swig-config}] | |
[WARNING] DEPRECATED [tasks]: Use target instead | |
[INFO] [antrun:run {execution: generate-sources}] | |
[WARNING] Parameter tasks is deprecated, use target instead | |
[INFO] Executing tasks | |
main: | |
[echo] Using include: Usage: yaz-config [OPTIONS] [LIBRARIES] | |
[exec] swig error : Unrecognized option Usage: yaz-config [OPTIONS] [LIBRARIES] | |
[exec] Use 'swig -help' for available options. | |
[INFO] Executed tasks | |
----------------------------------------------------- | |
this realm = app0.child-container[org.codehaus.mojo:build-helper-maven-plugin:1.10] | |
urls[0] = file:/home/kreplj/.m2/repository/org/codehaus/mojo/build-helper-maven-plugin/1.10/build-helper-maven-plugin-1.10.jar | |
urls[1] = file:/home/kreplj/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar | |
urls[2] = file:/home/kreplj/.m2/repository/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar | |
Number of imports: 10 | |
import: org.codehaus.classworlds.Entry@a6c57a42 | |
import: org.codehaus.classworlds.Entry@12f43f3b | |
import: org.codehaus.classworlds.Entry@20025374 | |
import: org.codehaus.classworlds.Entry@f8e44ca4 | |
import: org.codehaus.classworlds.Entry@92758522 | |
import: org.codehaus.classworlds.Entry@ebf2705b | |
import: org.codehaus.classworlds.Entry@bb25e54 | |
import: org.codehaus.classworlds.Entry@bece5185 | |
import: org.codehaus.classworlds.Entry@3fee8e37 | |
import: org.codehaus.classworlds.Entry@3fee19d8 | |
this realm = plexus.core | |
urls[0] = file:/usr/share/maven2/lib/maven-debian-uber.jar | |
Number of imports: 10 | |
import: org.codehaus.classworlds.Entry@a6c57a42 | |
import: org.codehaus.classworlds.Entry@12f43f3b | |
import: org.codehaus.classworlds.Entry@20025374 | |
import: org.codehaus.classworlds.Entry@f8e44ca4 | |
import: org.codehaus.classworlds.Entry@92758522 | |
import: org.codehaus.classworlds.Entry@ebf2705b | |
import: org.codehaus.classworlds.Entry@bb25e54 | |
import: org.codehaus.classworlds.Entry@bece5185 | |
import: org.codehaus.classworlds.Entry@3fee8e37 | |
import: org.codehaus.classworlds.Entry@3fee19d8 | |
----------------------------------------------------- | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] BUILD ERROR | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Internal error in the plugin manager executing goal 'org.codehaus.mojo:build-helper-maven-plugin:1.10:add-source': Unable to find the mojo 'add-source' (or one of its required components) in the plugin 'org.codehaus.mojo:build-helper-maven-plugin' | |
org/codehaus/mojo/buildhelper/AddSourceMojo : Unsupported major.minor version 51.0 | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Trace | |
org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the plugin manager executing goal 'org.codehaus.mojo:build-helper-maven-plugin:1.10:add-source': Unable to find the mojo 'add-source' (or one of its required components) in the plugin 'org.codehaus.mojo:build-helper-maven-plugin' | |
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:698) | |
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) | |
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) | |
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) | |
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) | |
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) | |
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:39) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | |
at java.lang.reflect.Method.invoke(Method.java:597) | |
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.apache.maven.plugin.PluginManagerException: Unable to find the mojo 'add-source' (or one of its required components) in the plugin 'org.codehaus.mojo:build-helper-maven-plugin' | |
at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:674) | |
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:468) | |
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) | |
... 17 more | |
Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.apache.maven.plugin.Mojoorg.codehaus.mojo:build-helper-maven-plugin:1.10:add-source', it could not be created | |
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:335) | |
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440) | |
at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:652) | |
... 19 more | |
Caused by: org.codehaus.plexus.component.factory.ComponentInstantiationException: Could not instanciate component: role: 'null', implementation: 'org.codehaus.mojo.buildhelper.AddSourceMojo' | |
at org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeException(JavaComponentFactory.java:77) | |
at org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:62) | |
at org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(DefaultPlexusContainer.java:1464) | |
at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:93) | |
at org.codehaus.plexus.component.manager.PerLookupComponentManager.getComponent(PerLookupComponentManager.java:48) | |
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331) | |
... 21 more | |
Caused by: java.lang.UnsupportedClassVersionError: org/codehaus/mojo/buildhelper/AddSourceMojo : Unsupported major.minor version 51.0 | |
at java.lang.ClassLoader.defineClass1(Native Method) | |
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) | |
at java.lang.ClassLoader.defineClass(ClassLoader.java:615) | |
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) | |
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) | |
at java.net.URLClassLoader.access$000(URLClassLoader.java:58) | |
at java.net.URLClassLoader$1.run(URLClassLoader.java:197) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at java.net.URLClassLoader.findClass(URLClassLoader.java:190) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:306) | |
at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195) | |
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255) | |
at org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:30) | |
... 25 more | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 5 seconds | |
[INFO] Finished at: Wed Mar 09 13:45:42 CET 2016 | |
[INFO] Final Memory: 33M/341M | |
[INFO] ------------------------------------------------------------------------ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have the same problem.