Can't download maven help plugin












0














Executing the following command




mvn help:effective-pom




results in this error



Downloading: http://mavenrepo.xxx.xxx/nexus/content/groups/development/org/apache/maven/plugins/maven-help-plugin/2.2.1-SNAPSHOT/maven-help-plugin-2.2.1-20161111.071815-5788.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-help-plugin

Reason: POM 'org.apache.maven.plugins:maven-help-plugin' not found in repository: Unable to locate resource in repository

org.apache.maven.plugins:maven-help-plugin:pom:2.2.1-20161111.071815-5788

from the specified remote repositories:
nexus (http://mavenrepo.xxx.xxx/nexus/content/groups/development)

for project org.apache.maven.plugins:maven-help-plugin


What's confusing me is the datetime stamp added to the artifact being downloaded. The plugin is in the repostitory but without any datetime stamp.



What am I doing wrong, how do I resolve this?



EDIT



Solved this by finding a random repo that had the exact version of the maven-help-plugin that my maven was inisting on downloading. Nothing I tried the make my maven download a different version worked. I'm wondering if the maven-help-plugin is special in some way.



Thanks for everyone who contributed.










share|improve this question
























  • Have you checked the "maven-metadata.xml" file in the nexus repo in the "maven-help-plugin" folder? What is under "<versions>"?
    – briadeus
    Nov 22 '18 at 11:47
















0














Executing the following command




mvn help:effective-pom




results in this error



Downloading: http://mavenrepo.xxx.xxx/nexus/content/groups/development/org/apache/maven/plugins/maven-help-plugin/2.2.1-SNAPSHOT/maven-help-plugin-2.2.1-20161111.071815-5788.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-help-plugin

Reason: POM 'org.apache.maven.plugins:maven-help-plugin' not found in repository: Unable to locate resource in repository

org.apache.maven.plugins:maven-help-plugin:pom:2.2.1-20161111.071815-5788

from the specified remote repositories:
nexus (http://mavenrepo.xxx.xxx/nexus/content/groups/development)

for project org.apache.maven.plugins:maven-help-plugin


What's confusing me is the datetime stamp added to the artifact being downloaded. The plugin is in the repostitory but without any datetime stamp.



What am I doing wrong, how do I resolve this?



EDIT



Solved this by finding a random repo that had the exact version of the maven-help-plugin that my maven was inisting on downloading. Nothing I tried the make my maven download a different version worked. I'm wondering if the maven-help-plugin is special in some way.



Thanks for everyone who contributed.










share|improve this question
























  • Have you checked the "maven-metadata.xml" file in the nexus repo in the "maven-help-plugin" folder? What is under "<versions>"?
    – briadeus
    Nov 22 '18 at 11:47














0












0








0







Executing the following command




mvn help:effective-pom




results in this error



Downloading: http://mavenrepo.xxx.xxx/nexus/content/groups/development/org/apache/maven/plugins/maven-help-plugin/2.2.1-SNAPSHOT/maven-help-plugin-2.2.1-20161111.071815-5788.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-help-plugin

Reason: POM 'org.apache.maven.plugins:maven-help-plugin' not found in repository: Unable to locate resource in repository

org.apache.maven.plugins:maven-help-plugin:pom:2.2.1-20161111.071815-5788

from the specified remote repositories:
nexus (http://mavenrepo.xxx.xxx/nexus/content/groups/development)

for project org.apache.maven.plugins:maven-help-plugin


What's confusing me is the datetime stamp added to the artifact being downloaded. The plugin is in the repostitory but without any datetime stamp.



What am I doing wrong, how do I resolve this?



EDIT



Solved this by finding a random repo that had the exact version of the maven-help-plugin that my maven was inisting on downloading. Nothing I tried the make my maven download a different version worked. I'm wondering if the maven-help-plugin is special in some way.



Thanks for everyone who contributed.










share|improve this question















Executing the following command




mvn help:effective-pom




results in this error



Downloading: http://mavenrepo.xxx.xxx/nexus/content/groups/development/org/apache/maven/plugins/maven-help-plugin/2.2.1-SNAPSHOT/maven-help-plugin-2.2.1-20161111.071815-5788.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-help-plugin

Reason: POM 'org.apache.maven.plugins:maven-help-plugin' not found in repository: Unable to locate resource in repository

org.apache.maven.plugins:maven-help-plugin:pom:2.2.1-20161111.071815-5788

from the specified remote repositories:
nexus (http://mavenrepo.xxx.xxx/nexus/content/groups/development)

for project org.apache.maven.plugins:maven-help-plugin


What's confusing me is the datetime stamp added to the artifact being downloaded. The plugin is in the repostitory but without any datetime stamp.



What am I doing wrong, how do I resolve this?



EDIT



Solved this by finding a random repo that had the exact version of the maven-help-plugin that my maven was inisting on downloading. Nothing I tried the make my maven download a different version worked. I'm wondering if the maven-help-plugin is special in some way.



Thanks for everyone who contributed.







maven maven-2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 23 '18 at 12:03

























asked Nov 21 '18 at 17:09









john

34.7k12646




34.7k12646












  • Have you checked the "maven-metadata.xml" file in the nexus repo in the "maven-help-plugin" folder? What is under "<versions>"?
    – briadeus
    Nov 22 '18 at 11:47


















  • Have you checked the "maven-metadata.xml" file in the nexus repo in the "maven-help-plugin" folder? What is under "<versions>"?
    – briadeus
    Nov 22 '18 at 11:47
















Have you checked the "maven-metadata.xml" file in the nexus repo in the "maven-help-plugin" folder? What is under "<versions>"?
– briadeus
Nov 22 '18 at 11:47




Have you checked the "maven-metadata.xml" file in the nexus repo in the "maven-help-plugin" folder? What is under "<versions>"?
– briadeus
Nov 22 '18 at 11:47












1 Answer
1






active

oldest

votes


















0














You can try to pass plugin version through the command line like



mvn org.apache.maven.plugins:maven-help-plugin:3.1.0:effective-pom



You can also try removing the plugin from the local m2 folder. (_maven.repositories file inside the plugin folder may cause issues like this.)



Also as a short term solution, you can download the plugin manually and add it to your local repo, and delete the _maven.repositories file. and use mvn -o help:effective-pom coomand to run it in offline mod. It wont look to the repo this way






share|improve this answer























  • Thanks but specifiying a specific version doesn't help. mvn org.apache.maven.plugins:maven-help-plugin:2.2.1-SNAPSHOT or mvn org.apache.maven.plugins:maven-help-plugin:2.2 produce exactly the same error message as above. Seem that maven ignores the request for a specific version, and is still insisting on 2.2.1-SNAPSHOT-20161111.071815-5788. Deleting the local repo folder didn't help either.
    – john
    Nov 22 '18 at 8:55












  • @john 1.Can you use any other version of the plugin. 2. Does this error happens on other computers. 3. You refer to a snapshot version, check if the repository you refer to, is a snapshot repository. There is confiuration related to this maven.apache.org/guides/development/…
    – Silver Shroud
    Nov 22 '18 at 15:59










  • I can't use any other version of the plugin as explained in the comment above. It doesn't matter what version I request maven always tries to get the same version 2.2.1-SNAPSHOT-20161111.071815-5788 which isn't in the repo, but 2.2.1-SNAPSHOT is. I don't care what version I use, I just want the command mvn help:effective-pom to work but it doesn't for some unknown reason.
    – john
    Nov 22 '18 at 16:04










  • @john Only thing that comes to mind, the plugin is defined in your parent pom in the plugin management section as this version. (or in your current pom ) try adding the plugin with specific version in your current pom if you have not tried. maven.apache.org/plugins/maven-help-plugin/plugin-info.html
    – Silver Shroud
    Nov 22 '18 at 16:56










  • @john Also as a short term solution, you can download the plugin manually and add it to your local repo, and delete the _maven.repositories file. and use mvn -o help:effective-pom coomand to run it in offline mod. It wont look to the repo this way
    – Silver Shroud
    Nov 22 '18 at 16:58











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53417282%2fcant-download-maven-help-plugin%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














You can try to pass plugin version through the command line like



mvn org.apache.maven.plugins:maven-help-plugin:3.1.0:effective-pom



You can also try removing the plugin from the local m2 folder. (_maven.repositories file inside the plugin folder may cause issues like this.)



Also as a short term solution, you can download the plugin manually and add it to your local repo, and delete the _maven.repositories file. and use mvn -o help:effective-pom coomand to run it in offline mod. It wont look to the repo this way






share|improve this answer























  • Thanks but specifiying a specific version doesn't help. mvn org.apache.maven.plugins:maven-help-plugin:2.2.1-SNAPSHOT or mvn org.apache.maven.plugins:maven-help-plugin:2.2 produce exactly the same error message as above. Seem that maven ignores the request for a specific version, and is still insisting on 2.2.1-SNAPSHOT-20161111.071815-5788. Deleting the local repo folder didn't help either.
    – john
    Nov 22 '18 at 8:55












  • @john 1.Can you use any other version of the plugin. 2. Does this error happens on other computers. 3. You refer to a snapshot version, check if the repository you refer to, is a snapshot repository. There is confiuration related to this maven.apache.org/guides/development/…
    – Silver Shroud
    Nov 22 '18 at 15:59










  • I can't use any other version of the plugin as explained in the comment above. It doesn't matter what version I request maven always tries to get the same version 2.2.1-SNAPSHOT-20161111.071815-5788 which isn't in the repo, but 2.2.1-SNAPSHOT is. I don't care what version I use, I just want the command mvn help:effective-pom to work but it doesn't for some unknown reason.
    – john
    Nov 22 '18 at 16:04










  • @john Only thing that comes to mind, the plugin is defined in your parent pom in the plugin management section as this version. (or in your current pom ) try adding the plugin with specific version in your current pom if you have not tried. maven.apache.org/plugins/maven-help-plugin/plugin-info.html
    – Silver Shroud
    Nov 22 '18 at 16:56










  • @john Also as a short term solution, you can download the plugin manually and add it to your local repo, and delete the _maven.repositories file. and use mvn -o help:effective-pom coomand to run it in offline mod. It wont look to the repo this way
    – Silver Shroud
    Nov 22 '18 at 16:58
















0














You can try to pass plugin version through the command line like



mvn org.apache.maven.plugins:maven-help-plugin:3.1.0:effective-pom



You can also try removing the plugin from the local m2 folder. (_maven.repositories file inside the plugin folder may cause issues like this.)



Also as a short term solution, you can download the plugin manually and add it to your local repo, and delete the _maven.repositories file. and use mvn -o help:effective-pom coomand to run it in offline mod. It wont look to the repo this way






share|improve this answer























  • Thanks but specifiying a specific version doesn't help. mvn org.apache.maven.plugins:maven-help-plugin:2.2.1-SNAPSHOT or mvn org.apache.maven.plugins:maven-help-plugin:2.2 produce exactly the same error message as above. Seem that maven ignores the request for a specific version, and is still insisting on 2.2.1-SNAPSHOT-20161111.071815-5788. Deleting the local repo folder didn't help either.
    – john
    Nov 22 '18 at 8:55












  • @john 1.Can you use any other version of the plugin. 2. Does this error happens on other computers. 3. You refer to a snapshot version, check if the repository you refer to, is a snapshot repository. There is confiuration related to this maven.apache.org/guides/development/…
    – Silver Shroud
    Nov 22 '18 at 15:59










  • I can't use any other version of the plugin as explained in the comment above. It doesn't matter what version I request maven always tries to get the same version 2.2.1-SNAPSHOT-20161111.071815-5788 which isn't in the repo, but 2.2.1-SNAPSHOT is. I don't care what version I use, I just want the command mvn help:effective-pom to work but it doesn't for some unknown reason.
    – john
    Nov 22 '18 at 16:04










  • @john Only thing that comes to mind, the plugin is defined in your parent pom in the plugin management section as this version. (or in your current pom ) try adding the plugin with specific version in your current pom if you have not tried. maven.apache.org/plugins/maven-help-plugin/plugin-info.html
    – Silver Shroud
    Nov 22 '18 at 16:56










  • @john Also as a short term solution, you can download the plugin manually and add it to your local repo, and delete the _maven.repositories file. and use mvn -o help:effective-pom coomand to run it in offline mod. It wont look to the repo this way
    – Silver Shroud
    Nov 22 '18 at 16:58














0












0








0






You can try to pass plugin version through the command line like



mvn org.apache.maven.plugins:maven-help-plugin:3.1.0:effective-pom



You can also try removing the plugin from the local m2 folder. (_maven.repositories file inside the plugin folder may cause issues like this.)



Also as a short term solution, you can download the plugin manually and add it to your local repo, and delete the _maven.repositories file. and use mvn -o help:effective-pom coomand to run it in offline mod. It wont look to the repo this way






share|improve this answer














You can try to pass plugin version through the command line like



mvn org.apache.maven.plugins:maven-help-plugin:3.1.0:effective-pom



You can also try removing the plugin from the local m2 folder. (_maven.repositories file inside the plugin folder may cause issues like this.)



Also as a short term solution, you can download the plugin manually and add it to your local repo, and delete the _maven.repositories file. and use mvn -o help:effective-pom coomand to run it in offline mod. It wont look to the repo this way







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 24 '18 at 16:11

























answered Nov 21 '18 at 17:24









Silver Shroud

3,376815




3,376815












  • Thanks but specifiying a specific version doesn't help. mvn org.apache.maven.plugins:maven-help-plugin:2.2.1-SNAPSHOT or mvn org.apache.maven.plugins:maven-help-plugin:2.2 produce exactly the same error message as above. Seem that maven ignores the request for a specific version, and is still insisting on 2.2.1-SNAPSHOT-20161111.071815-5788. Deleting the local repo folder didn't help either.
    – john
    Nov 22 '18 at 8:55












  • @john 1.Can you use any other version of the plugin. 2. Does this error happens on other computers. 3. You refer to a snapshot version, check if the repository you refer to, is a snapshot repository. There is confiuration related to this maven.apache.org/guides/development/…
    – Silver Shroud
    Nov 22 '18 at 15:59










  • I can't use any other version of the plugin as explained in the comment above. It doesn't matter what version I request maven always tries to get the same version 2.2.1-SNAPSHOT-20161111.071815-5788 which isn't in the repo, but 2.2.1-SNAPSHOT is. I don't care what version I use, I just want the command mvn help:effective-pom to work but it doesn't for some unknown reason.
    – john
    Nov 22 '18 at 16:04










  • @john Only thing that comes to mind, the plugin is defined in your parent pom in the plugin management section as this version. (or in your current pom ) try adding the plugin with specific version in your current pom if you have not tried. maven.apache.org/plugins/maven-help-plugin/plugin-info.html
    – Silver Shroud
    Nov 22 '18 at 16:56










  • @john Also as a short term solution, you can download the plugin manually and add it to your local repo, and delete the _maven.repositories file. and use mvn -o help:effective-pom coomand to run it in offline mod. It wont look to the repo this way
    – Silver Shroud
    Nov 22 '18 at 16:58


















  • Thanks but specifiying a specific version doesn't help. mvn org.apache.maven.plugins:maven-help-plugin:2.2.1-SNAPSHOT or mvn org.apache.maven.plugins:maven-help-plugin:2.2 produce exactly the same error message as above. Seem that maven ignores the request for a specific version, and is still insisting on 2.2.1-SNAPSHOT-20161111.071815-5788. Deleting the local repo folder didn't help either.
    – john
    Nov 22 '18 at 8:55












  • @john 1.Can you use any other version of the plugin. 2. Does this error happens on other computers. 3. You refer to a snapshot version, check if the repository you refer to, is a snapshot repository. There is confiuration related to this maven.apache.org/guides/development/…
    – Silver Shroud
    Nov 22 '18 at 15:59










  • I can't use any other version of the plugin as explained in the comment above. It doesn't matter what version I request maven always tries to get the same version 2.2.1-SNAPSHOT-20161111.071815-5788 which isn't in the repo, but 2.2.1-SNAPSHOT is. I don't care what version I use, I just want the command mvn help:effective-pom to work but it doesn't for some unknown reason.
    – john
    Nov 22 '18 at 16:04










  • @john Only thing that comes to mind, the plugin is defined in your parent pom in the plugin management section as this version. (or in your current pom ) try adding the plugin with specific version in your current pom if you have not tried. maven.apache.org/plugins/maven-help-plugin/plugin-info.html
    – Silver Shroud
    Nov 22 '18 at 16:56










  • @john Also as a short term solution, you can download the plugin manually and add it to your local repo, and delete the _maven.repositories file. and use mvn -o help:effective-pom coomand to run it in offline mod. It wont look to the repo this way
    – Silver Shroud
    Nov 22 '18 at 16:58
















Thanks but specifiying a specific version doesn't help. mvn org.apache.maven.plugins:maven-help-plugin:2.2.1-SNAPSHOT or mvn org.apache.maven.plugins:maven-help-plugin:2.2 produce exactly the same error message as above. Seem that maven ignores the request for a specific version, and is still insisting on 2.2.1-SNAPSHOT-20161111.071815-5788. Deleting the local repo folder didn't help either.
– john
Nov 22 '18 at 8:55






Thanks but specifiying a specific version doesn't help. mvn org.apache.maven.plugins:maven-help-plugin:2.2.1-SNAPSHOT or mvn org.apache.maven.plugins:maven-help-plugin:2.2 produce exactly the same error message as above. Seem that maven ignores the request for a specific version, and is still insisting on 2.2.1-SNAPSHOT-20161111.071815-5788. Deleting the local repo folder didn't help either.
– john
Nov 22 '18 at 8:55














@john 1.Can you use any other version of the plugin. 2. Does this error happens on other computers. 3. You refer to a snapshot version, check if the repository you refer to, is a snapshot repository. There is confiuration related to this maven.apache.org/guides/development/…
– Silver Shroud
Nov 22 '18 at 15:59




@john 1.Can you use any other version of the plugin. 2. Does this error happens on other computers. 3. You refer to a snapshot version, check if the repository you refer to, is a snapshot repository. There is confiuration related to this maven.apache.org/guides/development/…
– Silver Shroud
Nov 22 '18 at 15:59












I can't use any other version of the plugin as explained in the comment above. It doesn't matter what version I request maven always tries to get the same version 2.2.1-SNAPSHOT-20161111.071815-5788 which isn't in the repo, but 2.2.1-SNAPSHOT is. I don't care what version I use, I just want the command mvn help:effective-pom to work but it doesn't for some unknown reason.
– john
Nov 22 '18 at 16:04




I can't use any other version of the plugin as explained in the comment above. It doesn't matter what version I request maven always tries to get the same version 2.2.1-SNAPSHOT-20161111.071815-5788 which isn't in the repo, but 2.2.1-SNAPSHOT is. I don't care what version I use, I just want the command mvn help:effective-pom to work but it doesn't for some unknown reason.
– john
Nov 22 '18 at 16:04












@john Only thing that comes to mind, the plugin is defined in your parent pom in the plugin management section as this version. (or in your current pom ) try adding the plugin with specific version in your current pom if you have not tried. maven.apache.org/plugins/maven-help-plugin/plugin-info.html
– Silver Shroud
Nov 22 '18 at 16:56




@john Only thing that comes to mind, the plugin is defined in your parent pom in the plugin management section as this version. (or in your current pom ) try adding the plugin with specific version in your current pom if you have not tried. maven.apache.org/plugins/maven-help-plugin/plugin-info.html
– Silver Shroud
Nov 22 '18 at 16:56












@john Also as a short term solution, you can download the plugin manually and add it to your local repo, and delete the _maven.repositories file. and use mvn -o help:effective-pom coomand to run it in offline mod. It wont look to the repo this way
– Silver Shroud
Nov 22 '18 at 16:58




@john Also as a short term solution, you can download the plugin manually and add it to your local repo, and delete the _maven.repositories file. and use mvn -o help:effective-pom coomand to run it in offline mod. It wont look to the repo this way
– Silver Shroud
Nov 22 '18 at 16:58


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53417282%2fcant-download-maven-help-plugin%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

404 Error Contact Form 7 ajax form submitting

How to know if a Active Directory user can login interactively

Refactoring coordinates for Minecraft Pi buildings written in Python