Hi
I can't build a multimodule project structure.
 
The parent builds fine without "--non-recursive" option
but children gets:
 
[INFO] Scanning for projects...
Downloading: 
http://repo1.maven.org/maven2/se/mycompany/fir/fir-gem/${firGemVersion}/fir-gem-${firGemVersion}.pom
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: se.mycompany.fir
ArtifactId: fir-gem
Version: ${firGemVersion}

Reason: Unable to download the artifact from any repository

  se.mycompany.fir:fir-gem:pom:${firGemVersion}

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: 
se.mycompany.fir:fir-gem for project: 
se.mycompany.fir.gem:fir-gem-ear:ear:${firGemVersion} for project 
se.mycompany.fir.gem:fir-gem-ear:ear:${firGemVersion}

The parent is installed in both local and internal repository.
 
The child has following snippet to point out the parent:
    <relativePath>../pom.xml</relativePath>

In the "Working Copy" the parent isn't checked out, so there is no way for 
Continuum to solve ${firGemVersion}=2.0.0!
 
What can I do?
 
I don't want to just build the parent recursively, I want to build the children 
separately as well.
 
/MikaelE

Reply via email to