I'm not a maven expert so maybe i'm doing something wrong but if not i may
have found a bug.

I configure integration testing via a build profile as follows:

<profile>
   <id>itest</id>
   <activation>
      <property>
         <name>itest</name>
      </property>
   </activation>
   <build>
      <plugins>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <executions>
               <execution>
                  <id>surefire-it</id>
                  <phase>integration-test</phase>
                  <goals>
                     <goal>test</goal>
                  </goals>
                  <configuration>
                     <excludes>
                        <exclude>none</exclude>
                     </excludes>
                     <includes>
                        <include>**/*ITest.java</include>
                     </includes>
                  </configuration>
               </execution>
            </executions>
         </plugin>
      </plugins>
   </build>
</profile>

With maven 2.0.8 this worked fine however with 2.0.9 my test resources do
not included in the the integration-test and the tests fail.

Is there some error is the way that i am using the surefire plugin?

-- 
View this message in context: 
http://www.nabble.com/Integration-testing-via-profile-fails-in-2.0.9-tp17531266p17531266.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to