When I run some atlas commands, e.g. atlas-create-jira-plugin or atlas-cli, they fail due to error:
Reason: Cannot find parent: org.twdata.maven:maven-cli-plugin-parent for project: null:maven-cli-plugin:maven-plugin:0.6.9 for project null:maven-cli-plugin:maven-plugin:0.6.9
The first time this happened it seems like the checksum of this dependency failed. I guess the failed checksum caused it to be blacklisted, because the failed checksum message only appeared the first time an attempt was made to download it:
Downloading: http://www.laughingpanda.org/maven2/org/twdata/maven/maven-cli-plugin-parent/0.6.9/maven-cli-plugin-parent-0.6.9.pom
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '84b834e596b11961f538cd317a1eeac4720744fd'; remote = '<!DOCTYPE' - RETRYING
Downloading: http://www.laughingpanda.org/maven2/org/twdata/maven/maven-cli-plugin-parent/0.6.9/maven-cli-plugin-parent-0.6.9.pom
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '84b834e596b11961f538cd317a1eeac4720744fd'; remote = '<!DOCTYPE' - IGNORING
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: null:maven-cli-plugin:maven-plugin:0.6.9
Reason: Cannot find parent: org.twdata.maven:maven-cli-plugin-parent for project: null:maven-cli-plugin:maven-plugin:0.6.9 for project null:maven-cli-plugin:maven-plugin:0.6.9
Community moderators have prevented the ability to post new answers.
We have identified the root of the problem and will be fixing it.
As Charles described:
There are a few ways to fix/workaround:
Firstly, delete the corrupted pom from your maven repository. If you using the source distribution, this should be located at product-x.x.x-source\localrepo\org\twdata\maven\maven-cli-plugin-parent\0.6.9\maven-cli-plugin-parent-0.6.9. (Replace 0.6.9 with the version that you require)
Then either:
<mirror> <id>laughing-panda-mirror</id> <name>irror for laughing panda</name> <url>https://m2proxy.atlassian.com/repository/public</url> <mirrorOf>laughing panda</mirrorOf> </mirror>
in the <mirror></mirrors> section of your settings.xml and rerun your build
I have also noticed that if you use opendns (which I happened to be using), this nameserver will not respond favorably to maven. Instead of getting an address not found error, which is what should have happened with this laughingpanda address: http://www.laughingpanda.org/maven2/org/twdata/maven/maven-cli-plugin-parent/0.6.9/maven-cli-plugin-parent-0.6.9.pom, opendns responds with nasty redirect and javascript garbage which completely screws up the local maven artifact with a corrupted pom and leads to weird errors. I now use google public dns (8.8.8.8/8.8.4.4) which seems to make issues like this easier to resolve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fine, solved too downloading the full POM file at http://goo.gl/76eUA and replacing my .m2 repository.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I resolved this problem by manually copying the missing artifacts from http://twdata-m2-repository.googlecode.com/svn
Possibly, adding the following to pom.xml would also resolve it
<repository> <id>twdata</id> <url>http://twdata-m2-repository.googlecode.com/svn</url> </repository>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, i'm a complete n00b on maven and such. What do you mean by manually copying the missing artifact?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
copy thr files from the http:// remote repository into your local repository (usually in the .m2 directory under your home dir)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I faced the below error message when I was trying to compile the confluence-4.2.3 from source codes.
I replaced the maven-cli-plugin-parent.pom, maven-cli-plugin-1.0.6.jar and maven-cli-plugin-1.0.6.pom in ~/.m2/repository/org/twdata/maven with those from http://twdata-m2-repository.googlecode.com/svn/org/twdata/maven (as suggested here) but it didn't work for me. Any idea?
[INFO] Installing confluence-4.2.3-source/confluence-project/confluence-plugins/confluence-misc-plugins/confluence-rest/target/pom-transformed.xml to ~/.m2/repository/com/atlassian/confluence/rest/confluence-rest/4.2.3/confluence-rest-4.2.3.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Confluence REST Plugin
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.twdata.maven:maven-cli-plugin-parent:pom:1.0.6
Reason: Cannot find parent: org.apache.maven.plugins:maven-plugins for project: org.twdata.maven:maven-cli-plugin-parent:pom:1.0.6 for project org.twdata.maven:maven-cli-plugin-parent:pom:1.0.6
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Another easy solution:
1) Install this jar file to your maven repository as described here
2) Replace the content of the following file in your local maven repository .../user/.m2/repository/org/twdata/maven/maven-cli-plugin-parent/0.6.9/maven-cli-plugin-parent-0.6.9.pom with the contents from this file
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm having the same problem ... my build can't find the maven-cli-plugin-parent-0.7 jar or metadata. When I browse the googlecode SVN I can find the maven-cli-plugin-0.7 jar, metadata, javadoc and sources, but the maven-cli-plugin-parent-0.7 only has the POM. Anyone know where I can find the maven-cli-plugin-parent-0.7 jar file?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Interesting... Thanks for the OpenDNS tip - solved my issue too!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, for the info.
I also found the files the SDK repository directory and overwrote the ones in my ".m2" directory that were being pulled by maven. This will also fix the compiling issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems I'm not the only one having this problem https://answers.atlassian.com/questions/39517/receiving-build-error-when-running-atlas-create-jira4-plugin-task
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.