GoogleCodeArchive / piccolo2d

Automatically exported from code.google.com/p/piccolo2d
0 stars 0 forks source link

Current maven multi-module build doesn't install the parent pom #104

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by heue...@gmail.com on 21 Jul 2009 at 6:09

GoogleCodeExporter commented 9 years ago
have a look if r574 fixed this.

Original comment by mr0...@mro.name on 26 Jul 2009 at 9:04

GoogleCodeExporter commented 9 years ago
Yes it does, thank you.

Original comment by heue...@gmail.com on 28 Jul 2009 at 2:35

GoogleCodeExporter commented 9 years ago

Original comment by heue...@gmail.com on 21 Oct 2009 at 3:57