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

Guillaume Boué commented on MINSTALL-132:
-----------------------------------------

This isn't an error related to the Install plugin, but the 
{{downloads-maven-plugin}}. The {{upload}} goal in version 0.6 was apparently 
built for Maven 3.0 and doesn't handle running it with a Maven version higher 
than 3.1. It also seems this [plugin isn't supported 
anymore|https://github.com/github/maven-plugins/issues/41].

> Build Failed: Could not install dependency in Maven
> ---------------------------------------------------
>
>                 Key: MINSTALL-132
>                 URL: https://issues.apache.org/jira/browse/MINSTALL-132
>             Project: Maven Install Plugin
>          Issue Type: Bug
>          Components: install:install-file
>    Affects Versions: 2.5.2
>            Reporter: jegadeesh
>            Priority: Blocker
>
> When i to install maven plugin  i got below error message on screen
> Command i used is
> {noformat}
> # mvn -X -e  install:install-file 
> -Dfile=/home/jegadeesh/maven-javadoc-plugin-2.10.4.jar  
> -DgroupID=org.apache.maven.plugins  -DartifactoryID=maven-javadoc-plugin 
> -Dversion=2.10.4 -Dpackaging=jar  -DgeneratePom=true
> {noformat}
> Error i got
> {noformat}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-install-plugin:2.4:install-file (default-cli) 
> on project standalone-pom: The artifact information is incomplete or not 
> valid:
> [ERROR] [0]  'groupId' is missing.
> [ERROR] [1]  'artifactId' is missing.
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.maven.plugins:maven-install-plugin:2.4:install-file 
> (default-cli) on project standalone-pom: The artifact information is 
> incomplete or not valid:
>   [0]  'groupId' is missing.
>   [1]  'artifactId' is missing.
>         at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
>         at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>         at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>         at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>         at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>         at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>         at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         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)
> Caused by: org.apache.maven.plugin.MojoExecutionException: The artifact 
> information is incomplete or not valid:
>   [0]  'groupId' is missing.
>   [1]  'artifactId' is missing.
>         at 
> org.apache.maven.plugin.install.InstallFileMojo.validateArtifactInformation(InstallFileMojo.java:386)
>         at 
> org.apache.maven.plugin.install.InstallFileMojo.execute(InstallFileMojo.java:207)
>         at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>         at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>         ... 20 more
> [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/MojoExecutionException
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to