Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Effort-Medium OpSys-All  
Toolkit-Piccolo2D.Java Component-Build Milestone-1.3

New issue 104 by heuermh: Current maven multi-module build doesn't install  
the parent pom
http://code.google.com/p/piccolo2d/issues/detail?id=104

If I update a maven dependency on piccolo2d-core from version 1.2.1 to
1.3-SNAPSHOT

     <dependency>
       <groupId>org.piccolo2d</groupId>
       <artifactId>piccolo2d-core</artifactId>
       <version>1.3-SNAPSHOT</version>
       <scope>compile</scope>
     </dependency>

the maven build for that project breaks with

[ERROR] BUILD ERROR
[INFO]  
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: null:piccolo2d-core:jar:null

Reason: Cannot find parent: org.piccolo2d:piccolo2d-parent for project:
null:piccolo2d-core:jar:null for project null:piccolo2d-core:jar:null


It appears that the piccolo2d multi-module build doesn't install the parent
pom into the local repository.  If I manually install it

$ cd parent
$ mvn install
[INFO] Scanning for projects...
[INFO]  
------------------------------------------------------------------------
[INFO] Building Piccolo2D
[INFO]    task-segment: [install]
[INFO]  
------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing parent/pom.xml to
~/.m2/repository/org/piccolo2d/piccolo2d-parent/1.3-SNAPSHOT/piccolo2d-parent-1.3-SNAPSHOT.pom
[INFO]  
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL

then the build for that project succeeds.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to