Right, well, as discussed here:
http://www.nabble.com/Control-of-maven-using-prerequisites-
t3231437s177.html
The <prerequisites> feature was mostly intended for plugins to check
their environment. Until a version of the maven-enforcer-plugin is
available, our build will use geronimo's "tools-maven-plugin", which
allows the build to break if a certain version of maven is not used
(2.0.5+ in our case)
I'll commit this now, but don't hesitate to comment. See also
MAGNOLIA-1414.
Cheers,
g
On Feb 28, 2007, at 16:34 , Grégory Joseph wrote:
I am under the impression that the prerequisites tag is not
inherited from parent poms, is that correct? At least when not
explicitely building the parent pom first, maven does not complain
that its running 2.0.4. (I deleted magnolia-project-3.0.2-SNAPSHOT
from my local repo)
... and even when installing the parent pom locally with 2.0.5 , i
can still build a module with 2.0.4. That would mean the
prerequisites tags would have to be added to each and every
module... ? :/
g
g
On Feb 26, 2007, at 21:21 , Fabrizio Giustina wrote:
On 2/26/07, Grégory Joseph <[email protected]> wrote:
Would anybody object if we added
<prerequisites>
<maven>2.0.5</maven>
</prerequisites>
to the Magnolia pom? Since maven 2.0.5 was released with fixes that
ensure more consistent dependency resolution, I'd like to add
that to
ensure that every build gets the same dependencies :)
sure, +1 from me, I was thinking about that too...
fabrizio
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------