Hi Rupert,
On Thu, Mar 31, 2011 at 3:21 PM, Rupert Westenthaler
<[email protected]> wrote:
> On Thu, Mar 31, 2011 at 2:24 PM, Bertrand Delacretaz
> <[email protected]> wrote:
>>... mvn help:effective-pom (for example) fails with Maven 3...
> I changed the links to the parent from "0.9-SNAMPSHOT" to
> "${stanbol-version} because the build was not working (with Maven 2)
> if the stanbol bundles where not already present within the local
> cache. Using the variable solved this problem.
If doing a full build, the parent pom should be built first, didn't that work?
Of course, if building a submodule without having built the parent pom
that would fail, but that's expected.
> If this causes problems with Maven 3 than I think we should define the
> version within the parent statically to "0.9-SNAPSHOT".
You mean just within the parent pom, and keep ${stanbol-version} in
the other poms? I don't think that will work either, we should IMO use
constants for <version>, at least for a module and its parent
versions.
-Bertrand