<plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
                    <includes>
                        <include>**/*UnitTest.java</include>
                    </includes>
        </configuration>
        <executions>
                    <execution>
                    <id>surefire-it</id>
                    <phase>integration-test</phase>
                    <configuration>
                        <includes>
                        <include>**/*IntegrationTest.java</include>
                        </includes>
                    </configuration>
                    <goals>
                        <goal>test</goal>
                    </goals>
                    </execution>
        </executions>
</plugin>

Kalle

On Wed, Feb 27, 2008 at 8:59 AM, vitor lundberg <[EMAIL PROTECTED]>
wrote:

> Thx for replay Luc,
>
> but the problem is if I create my integration test under src/test/java my
> integration test will starts like a unit test under the lifecyle "test"
> and
> I wish that my integration test start after the "package" steep.
> so if I put my  classes under the same repertory as the tests classes
> maven
> dont make the differences
> that is a way to make a difference thoses tests ?
>
> On Wed, Feb 27, 2008 at 5:47 PM, Luca Marrocco <[EMAIL PROTECTED]>
> wrote:
>
> > Hi Vitor,
> > the simplest way is to create you integration test as junit classes
> > under src/test/java directory.
> >
> >
> > Luca
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

Reply via email to