Inconsistent project hierarchy breaks clean builds
--------------------------------------------------
Key: AMDATUOPENSOCIAL-123
URL: http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-123
Project: Amdatu OpenSocial
Issue Type: Bug
Components: Project infrastructure
Reporter: Bram de Kruijff
People bootstrapping a build (no old amdatu artifact in local repo) on maven 3
encounter build failure due to two inconsistentcies in the opensocial project
object model. Related error is:
{noformat}
[ERROR] The project
org.amdatu.libraries:org.amdatu.libraries.dashboardplugin:0.2.1-SNAPSHOT
(C:\bramk\Amdatu\svn\amdatu-trunk\amdatu-opensocial\dashboard-plu
gin\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact
org.amdatu.libraries:org.amdatu.libraries:pom:0.2.1-SNAPSHOT and
'parent.relativePath' points at
wrong local POM @ line 4, column 11 -> [Help 2]
{noformat}
Caused by the fact that the implicit 'parent.relativePath' does not point to
the parent module. As a result the pom has no reference to the amdatu
repositories and hus can not resolve the parent.
Should be fixed by keeping the object model consistent within the project and
not reference a platform (library) module.
{noformat}
[ERROR]
[ERROR] The project
org.amdatu.opensocial:org.amdatu.opensocial.store.gadget.mem:0.2.0-SNAPSHOT
(C:\bramk\Amdatu\svn\amdatu-trunk\amdatu-opensocial\opensocial
-stores\mem-store-gadget\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact
org.amdatu.opensocial:org.amdatu.opensocial:pom:0.2.0-SNAPSHOT and
'parent.relativePath' points a
t wrong local POM @ line 20, column 11 -> [Help 2]
{noformat}
Caused by the fact that the implicit 'parent.relativePath' does not point to
the parent module. As a result the pom has no reference to the amdatu
repositories and hus can not resolve the parent.
Should be fixed either setting the relativePath correctly or in this case just
set the parent to the containing module..
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://jira.amdatu.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers