Harry Larsen <[EMAIL PROTECTED]> writes:
> Hello,
>
> Thanks for this info. I now understand better, what should I need.
> I configured my pom.xml accordingly.
>
> BUT maven still doesn't see the directory systest.
>
> I made this structure:
> src/main/java
> src/test/java
> src/systest/java
>
Hello,
Surefire can handle only one source directory. You can set this to be
different from src/test/java using the testSourceDirectory
configuration. In the example provided in my previous post, the
systest directory is *within* src/test/java, not outside it.
If you want different root sourcse, you could try something like:
<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>
<testSourceDirectory>src/systest/java</testSourceDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
HTH
--
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]