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

Cannot do a local build of powertac-server without a local install of powertac-core #993

Closed
jecollins opened this issue Nov 20, 2018 · 1 comment

Comments

@jecollins
Copy link
Member

The powertac-server module declares that its parent is powertac-parent. This resolves correctly if the specified version of powertac-parent is in the local ~/.m2/repository, but fails if this is not the case, even though powertac-parent (included in powertac-core) has been deployed.

More specifically, I have built and deployed powertac-core and powertac-server version 1.6.0-SNAPSHOT. If I then clear out the local maven repo, I cannot build powertac-server. The error looks like

[ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.powertac:powertac-server:1.6.0-SNAPSHOT: Could not find artifact org.powertac:powertac-parent:pom:1.6.0-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 19, column 11
@jecollins
Copy link
Member Author

This is happening because powertac-server/pom.xml does not independently specify remote repositories. As a result, it cannot be built independently. Adding a link to the snapshot repo solves the problem.

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

1 participant