Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
maven-artifact-transfer-0.12.0, maven-artifact-transfer-0.13.0
-
None
Description
Add missing @Requirement annotation
@Requirement
private RepositoryManager repositoryManager;
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to install artifact: org.apache.maven.plugins:maven-plugins:pom:34
at org.apache.maven.plugins.invoker.InstallMojo.installArtifact (InstallMojo.java:264)
at org.apache.maven.plugins.invoker.InstallMojo.installProjectPom (InstallMojo.java:410)
at org.apache.maven.plugins.invoker.InstallMojo.installProjectParents (InstallMojo.java:379)
at org.apache.maven.plugins.invoker.InstallMojo.execute (InstallMojo.java:199)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:136)
Caused by: java.lang.NullPointerException
at org.apache.maven.shared.transfer.artifact.install.internal.DefaultArtifactInstaller.install (DefaultArtifactInstaller.java:81)
at org.apache.maven.plugins.invoker.InstallMojo.installArtifact (InstallMojo.java:254)
at org.apache.maven.plugins.invoker.InstallMojo.installProjectPom (InstallMojo.java:410)
at org.apache.maven.plugins.invoker.InstallMojo.installProjectParents (InstallMojo.java:379)
at org.apache.maven.plugins.invoker.InstallMojo.execute (InstallMojo.java:199)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:136)
Attachments
Issue Links
- is related to
-
MNG-7055 Using MINSTALL/DEPLOY 3.0.0-M1+ does not write plugin information into maven-metadata.xml
- Closed
- links to