[GitHub] sebkur commented on issue #1: Fix link to Javadocs

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] sebkur commented on issue #1: Fix link to Javadocs

GitBox
sebkur commented on issue #1: Fix link to Javadocs
URL: https://github.com/apache/commons-build-plugin/pull/1#issuecomment-460667565
 
 
   Okay, as a result I have this file in the local Maven repository:
   
       ~/.m2/repository/org/apache/commons/commons-build-plugin/1.10-SNAPSHOT/commons-build-plugin-1.10-SNAPSHOT.jar
   
   However it still doesn't work. Does this log give any hints to you?
   
       Apache Maven 3.0.5
       Maven home: /usr/share/maven
       Java version: 1.8.0_131, vendor: Oracle Corporation
       Java home: /usr/lib/jvm/jdk-8-oracle-x64/jre
       Default locale: en_US, platform encoding: UTF-8
       OS name: "linux", version: "3.19.0-32-generic", arch: "amd64", family: "unix"
       [INFO] Error stacktraces are turned on.
       [DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml
       [DEBUG] Reading user settings from /home/z/.m2/settings.xml
       [DEBUG] Using local repository at /home/z/.m2/repository
       [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for /home/z/.m2/repository
       [INFO] Scanning for projects...
       [DEBUG] Extension realms for project org.apache.commons:commons-build-plugin:maven-plugin:1.10-SNAPSHOT: (none)
       [DEBUG] Looking up lifecyle mappings for packaging maven-plugin from ClassRealm[plexus.core, parent: null]
       [DEBUG] Resolving plugin prefix commons-build-plugin from [org.apache.maven.plugins, org.codehaus.mojo]
       [DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (/home/z/.m2/repository)
       [DEBUG] Skipped remote update check for org.apache.maven.plugins/maven-metadata.xml, locally cached metadata up-to-date.
       [DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (/home/z/.m2/repository)
       [DEBUG] Skipped remote update check for org.codehaus.mojo/maven-metadata.xml, locally cached metadata up-to-date.
       [DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (/home/z/.m2/repository)
       [DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (/home/z/.m2/repository)
       [DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://repo.maven.apache.org/maven2
       [DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://repo.maven.apache.org/maven2
       Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
       Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
       Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 KB at 28.3 KB/sec)
       [DEBUG] Writing resolution tracking file /home/z/.m2/repository/org/apache/maven/plugins/resolver-status.properties
       Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 42.1 KB/sec)
       [DEBUG] Writing resolution tracking file /home/z/.m2/repository/org/codehaus/mojo/resolver-status.properties
       [INFO] ------------------------------------------------------------------------
       [INFO] BUILD FAILURE
       [INFO] ------------------------------------------------------------------------
       [INFO] Total time: 2.124s
       [INFO] Finished at: Tue Feb 05 15:50:04 CET 2019
       [INFO] Final Memory: 18M/181M
       [INFO] ------------------------------------------------------------------------
       [ERROR] No plugin found for prefix 'commons-build-plugin' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/z/.m2/repository), central (http://repo.maven.apache.org/maven2)] -> [Help 1]
       org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'commons-build-plugin' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/z/.m2/repository), central (http://repo.maven.apache.org/maven2)]
           at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:94)
           at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:262)
           at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:222)
           at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106)
           at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86)
           at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:98)
           at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
           at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
           at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
           at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
           at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
           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)
       [ERROR]
       [ERROR]
       [ERROR] For more information about the errors and possible solutions, please read the following articles:
       [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]