On 19 November 2012 11:16, Gilles Sadowski <gil...@harfang.homelinux.org> wrote: > On Mon, Nov 19, 2012 at 10:38:27AM +0100, Thomas Neidhart wrote: >> On Mon, Nov 19, 2012 at 8:20 AM, Sébastien Brisard < >> sebastien.bris...@m4x.org> wrote: >> >> > Hi, >> > someone (I think it was sebb) wrote some months ago about defining custom >> > profiles in the pom.xml to allow for faster compilation (cobertura being >> > the culprit). >> > I've done that locally, and I'm probably not the only one. So I was >> > wondering whether we could commit one or two custom profiles which would >> > make our life easier? >> > The profile I'm using is the following >> > <profiles> >> > <profile> >> > <id>fast</id> >> > <properties> >> > <skipTests>true</skipTests> >> > <maven.clover.skip>true</maven.clover.skip> >> > <cobertura.skip>true</cobertura.skip> >> > <findbugs.skip>true</findbugs.skip> >> > <pmd.skip>true</pmd.skip> >> > </properties> >> > </profile> >> > </profiles> >> > it allows me to quickly check the generated Javadoc + users guide. >> > Other profiles could be defined, of course. >> > >> > >> > What do you think? >> > >> >> Hi Sebastien, >> >> I have the same profile in my local pom, so I am +1 on adding it by default. >>
BTW, I think the profile name should be a bit more descriptive. [Certainly if this is ever to be added to the parent POM it needs to have a much more specifc name] "fast" could mean various things. > > It would be nice to have several profiles. That's possible. > Is it possible to include profiles into profiles? AFAIK it's not possible to nest profiles. > Gilles > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org