Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attach-effective-pom fails with mrgeo-mapalgebra #21

Closed
willtemperley opened this issue Mar 24, 2015 · 4 comments
Closed

attach-effective-pom fails with mrgeo-mapalgebra #21

willtemperley opened this issue Mar 24, 2015 · 4 comments
Assignees

Comments

@willtemperley
Copy link
Contributor

I'm having some issues building the mapalgebra modules. I'm using Maven 3.0.5 as this is the only version I can get to work with the pomtools-maven-plugin (newer versions complain of a missing class).

I get the following error after all the child mapalgebra modules build, and I can't figure out why it's happening. I wonder if someone could give me some pointers here please? Thanks.

Failed to execute goal org.codehaus.mojo:build-helper-maven-plugin:1.9.1:attach-artifact (attach-effective-pom) on project mrgeo: Execution attach-effective-pom of goal org.codehaus.mojo:build-helper-maven-plugin:1.9.1:attach-artifact failed: For artifact {org.mrgeo:mrgeo:0.5.0-cdh5.1.0-SNAPSHOT:pom}: An attached artifact must have a different ID than its corresponding main artifact

@ttislerdg ttislerdg self-assigned this Mar 24, 2015
@ttislerdg
Copy link
Contributor

What version of hadoop are you using? I can try to reproduce it myself.

@willtemperley
Copy link
Contributor Author

Thanks for looking. We're on CDH 5.1.3, which uses hadoop 2.3.0.

@ttislerdg
Copy link
Contributor

I could not reproduce the failed goal, but I did notice we didn't currently have build profiles for CDH 5.1.3. and have added them to the POMs and build scripts. Can you give them a try and see if anything changes.

You an use ./build cdh513 (./build cdh513 --yarn if using YARN) to build.

@willtemperley
Copy link
Contributor Author

Great to have a 5.1.3 version, cheers! All built, problem solved, something in my settings.xml was causing the issue, not 100% sure what.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants