It's fixed.
Activation cannot be shared with inheritence.
As discussed on IRC we decided to activate integration tests if skipTests
not false
We can alway explicitely deactivate the profile with the command line arg
-P!integration-tests

On Tue, Aug 5, 2008 at 2:45 PM, Olivier Lamy <[EMAIL PROTECTED]> wrote:

> This means when someone will cut a release its tests won't be run
>
> IMHO it's not a good option and its tests must be on by default
>
> Thanks
> --
> Olivier
>
> 2008/8/5  <[EMAIL PROTECTED]>:
> > Author: aheritier
> > Date: Tue Aug  5 05:32:26 2008
> > New Revision: 682692
> >
> > URL: http://svn.apache.org/viewvc?rev=682692&view=rev
> > Log:
> > Use the same activation rule for all integration-tests in plugins builds
> (-Dintegration-tests=true)
> >
> > Modified:
> >    maven/plugins/trunk/maven-ant-plugin/pom.xml
> >    maven/plugins/trunk/maven-antrun-plugin/pom.xml
> >    maven/plugins/trunk/maven-assembly-plugin/pom.xml
> >    maven/plugins/trunk/maven-changes-plugin/pom.xml
> >    maven/plugins/trunk/maven-deploy-plugin/pom.xml
> >    maven/plugins/trunk/maven-jar-plugin/pom.xml
> >    maven/plugins/trunk/maven-javadoc-plugin/pom.xml
> >    maven/plugins/trunk/maven-patch-plugin/pom.xml
> >    maven/plugins/trunk/maven-site-plugin/pom.xml
> >    maven/plugins/trunk/maven-war-plugin/pom.xml
> >    maven/plugins/trunk/pom.xml
> >
> > Modified: maven/plugins/trunk/maven-ant-plugin/pom.xml
> > URL:
> http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ant-plugin/pom.xml?rev=682692&r1=682691&r2=682692&view=diff
> >
> ==============================================================================
> > --- maven/plugins/trunk/maven-ant-plugin/pom.xml (original)
> > +++ maven/plugins/trunk/maven-ant-plugin/pom.xml Tue Aug  5 05:32:26 2008
> > @@ -1,4 +1,4 @@
> > -<?xml version="1.0" encoding="UTF-8"?>
> > +<?xml version="1.0" encoding="UTF-8"?>
> >
> >  <!--
> >  Licensed to the Apache Software Foundation (ASF) under one
> > @@ -144,12 +144,6 @@
> >   <profiles>
> >     <profile>
> >       <id>integration-tests</id>
> > -      <activation>
> > -        <property>
> > -          <name>maven.test.skip</name>
> > -          <value>!true</value>
> > -        </property>
> > -      </activation>
> >       <build>
> >         <plugins>
> >           <plugin>
> >
> > Modified: maven/plugins/trunk/maven-antrun-plugin/pom.xml
> > URL:
> http://svn.apache.org/viewvc/maven/plugins/trunk/maven-antrun-plugin/pom.xml?rev=682692&r1=682691&r2=682692&view=diff
> >
> ==============================================================================
> > --- maven/plugins/trunk/maven-antrun-plugin/pom.xml (original)
> > +++ maven/plugins/trunk/maven-antrun-plugin/pom.xml Tue Aug  5 05:32:26
> 2008
> > @@ -94,13 +94,6 @@
> >   <profiles>
> >     <profile>
> >       <id>integration-tests</id>
> > -      <activation>
> > -        <property>
> > -          <name>skipTests</name>
> > -          <value>!true</value>
> > -        </property>
> > -      </activation>
> > -
> >       <build>
> >         <plugins>
> >           <plugin>
> >
> > Modified: maven/plugins/trunk/maven-assembly-plugin/pom.xml
> > URL:
> http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/pom.xml?rev=682692&r1=682691&r2=682692&view=diff
> >
> ==============================================================================
> > --- maven/plugins/trunk/maven-assembly-plugin/pom.xml (original)
> > +++ maven/plugins/trunk/maven-assembly-plugin/pom.xml Tue Aug  5 05:32:26
> 2008
> > @@ -173,13 +173,6 @@
> >   <profiles>
> >     <profile>
> >       <id>integration-tests</id>
> > -      <activation>
> > -        <property>
> > -          <name>integration-tests</name>
> > -          <value>true</value>
> > -        </property>
> > -      </activation>
> > -
> >       <pluginRepositories>
> >         <pluginRepository>
> >           <id>apache.snapshots</id>
> >
> > Modified: maven/plugins/trunk/maven-changes-plugin/pom.xml
> > URL:
> http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/pom.xml?rev=682692&r1=682691&r2=682692&view=diff
> >
> ==============================================================================
> > --- maven/plugins/trunk/maven-changes-plugin/pom.xml (original)
> > +++ maven/plugins/trunk/maven-changes-plugin/pom.xml Tue Aug  5 05:32:26
> 2008
> > @@ -387,12 +387,6 @@
> >   <profiles>
> >     <profile>
> >       <id>integration-tests</id>
> > -      <activation>
> > -        <property>
> > -          <name>skipTests</name>
> > -          <value>!true</value>
> > -        </property>
> > -      </activation>
> >       <build>
> >         <plugins>
> >           <plugin>
> >
> > Modified: maven/plugins/trunk/maven-deploy-plugin/pom.xml
> > URL:
> http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/pom.xml?rev=682692&r1=682691&r2=682692&view=diff
> >
> ==============================================================================
> > --- maven/plugins/trunk/maven-deploy-plugin/pom.xml (original)
> > +++ maven/plugins/trunk/maven-deploy-plugin/pom.xml Tue Aug  5 05:32:26
> 2008
> > @@ -97,12 +97,6 @@
> >   <profiles>
> >     <profile>
> >       <id>integration-tests</id>
> > -      <activation>
> > -        <property>
> > -          <name>skipTests</name>
> > -          <value>!true</value>
> > -        </property>
> > -      </activation>
> >       <build>
> >         <plugins>
> >           <plugin>
> >
> > Modified: maven/plugins/trunk/maven-jar-plugin/pom.xml
> > URL:
> http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/pom.xml?rev=682692&r1=682691&r2=682692&view=diff
> >
> ==============================================================================
> > --- maven/plugins/trunk/maven-jar-plugin/pom.xml (original)
> > +++ maven/plugins/trunk/maven-jar-plugin/pom.xml Tue Aug  5 05:32:26 2008
> > @@ -149,12 +149,6 @@
> >   <profiles>
> >     <profile>
> >       <id>integration-tests</id>
> > -      <activation>
> > -        <property>
> > -          <name>skipTests</name>
> > -          <value>!true</value>
> > -        </property>
> > -      </activation>
> >       <build>
> >         <plugins>
> >           <plugin>
> >
> > Modified: maven/plugins/trunk/maven-javadoc-plugin/pom.xml
> > URL:
> http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/pom.xml?rev=682692&r1=682691&r2=682692&view=diff
> >
> ==============================================================================
> > --- maven/plugins/trunk/maven-javadoc-plugin/pom.xml (original)
> > +++ maven/plugins/trunk/maven-javadoc-plugin/pom.xml Tue Aug  5 05:32:26
> 2008
> > @@ -233,12 +233,6 @@
> >   <profiles>
> >     <profile>
> >       <id>integration-tests</id>
> > -      <activation>
> > -        <property>
> > -          <name>maven.test.skip</name>
> > -          <value>!true</value>
> > -        </property>
> > -      </activation>
> >       <build>
> >         <plugins>
> >           <plugin>
> >
> > Modified: maven/plugins/trunk/maven-patch-plugin/pom.xml
> > URL:
> http://svn.apache.org/viewvc/maven/plugins/trunk/maven-patch-plugin/pom.xml?rev=682692&r1=682691&r2=682692&view=diff
> >
> ==============================================================================
> > --- maven/plugins/trunk/maven-patch-plugin/pom.xml (original)
> > +++ maven/plugins/trunk/maven-patch-plugin/pom.xml Tue Aug  5 05:32:26
> 2008
> > @@ -93,12 +93,6 @@
> >   <profiles>
> >     <profile>
> >       <id>integration-tests</id>
> > -      <activation>
> > -        <property>
> > -          <name>maven.test.skip</name>
> > -          <value>!true</value>
> > -        </property>
> > -      </activation>
> >
> >       <properties>
> >
> <test.remote.repo.url>file://${project.build.testOutputDirectory}/remote-repository</test.remote.repo.url>
> >
> > Modified: maven/plugins/trunk/maven-site-plugin/pom.xml
> > URL:
> http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/pom.xml?rev=682692&r1=682691&r2=682692&view=diff
> >
> ==============================================================================
> > --- maven/plugins/trunk/maven-site-plugin/pom.xml (original)
> > +++ maven/plugins/trunk/maven-site-plugin/pom.xml Tue Aug  5 05:32:26
> 2008
> > @@ -169,12 +169,6 @@
> >   <profiles>
> >     <profile>
> >       <id>integration-tests</id>
> > -      <activation>
> > -        <property>
> > -          <name>maven.test.skip</name>
> > -          <value>!true</value>
> > -        </property>
> > -      </activation>
> >       <build>
> >         <plugins>
> >           <plugin>
> >
> > Modified: maven/plugins/trunk/maven-war-plugin/pom.xml
> > URL:
> http://svn.apache.org/viewvc/maven/plugins/trunk/maven-war-plugin/pom.xml?rev=682692&r1=682691&r2=682692&view=diff
> >
> ==============================================================================
> > --- maven/plugins/trunk/maven-war-plugin/pom.xml (original)
> > +++ maven/plugins/trunk/maven-war-plugin/pom.xml Tue Aug  5 05:32:26 2008
> > @@ -166,12 +166,6 @@
> >   <profiles>
> >     <profile>
> >       <id>integration-tests</id>
> > -      <activation>
> > -        <property>
> > -          <name>skipTests</name>
> > -          <value>!true</value>
> > -        </property>
> > -      </activation>
> >       <build>
> >         <plugins>
> >           <plugin>
> >
> > Modified: maven/plugins/trunk/pom.xml
> > URL:
> http://svn.apache.org/viewvc/maven/plugins/trunk/pom.xml?rev=682692&r1=682691&r2=682692&view=diff
> >
> ==============================================================================
> > --- maven/plugins/trunk/pom.xml (original)
> > +++ maven/plugins/trunk/pom.xml Tue Aug  5 05:32:26 2008
> > @@ -198,6 +198,17 @@
> >   </build>
> >
> >   <profiles>
> > +
> > +    <profile>
> > +      <id>integration-tests</id>
> > +      <activation>
> > +        <property>
> > +          <name>integration-tests</name>
> > +          <value>true</value>
> > +        </property>
> > +      </activation>
> > +    </profile>
> > +
> >     <profile>
> >       <id>ciProfile</id>
> >       <activation>
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Reply via email to