Error building POM (may not be this project's POM).

Hamed Janzadeh August 7, 2012

Hi,

I faced the below error message when I was trying to compile the confluence-4.2.3 from the 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

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 12, 2012

Try deleting the contents of your ~/.m2/repository/org/apache/maven/plugins directory and trying again. :-)

Dinesh Kumar Behera March 15, 2019

[WARNING] Unable to get resource 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 503 for URL: http://10.102.103.103:8282/archiva/repository/internal/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom

TAGS
AUG Leaders

Atlassian Community Events