maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maven User <maven.2.u...@gmail.com>
Subject Re: Activated profile on the existence of a file.
Date Fri, 02 Apr 2010 14:46:54 GMT
What version of m2 are you using?

On Thu, Apr 1, 2010 at 8:58 PM, Michael Delaney <mdelaney@upromise.com>wrote:

> All,
>
> I have a parent pom, where I'm activating a profile based on the existence
> of the directory 'src/main/java'. I then have a multi module build where the
> children depend on the aforementioned parent pom.
>
> When I build the modules using an aggregator pom, the profile isn't
> activated correctly. When building the modules one-by-one, the profiles are
> activated as expected. Is this the expected behavior? I would figure that
> even if built via an aggregator pom, the profiles should be activated when
> the modules are built because the path is relative to the individual module.
>
> I've attached an example project to reflect what I'm talking about.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message