Hello Harry,

For another example, you can check the integration/web ui tests of archiva
located at:
http://svn.apache.org/repos/asf/maven/archiva/trunk/archiva-web/archiva-webapp-test/pom.xml

Cheers!
Nap

On 5/27/07, Arnaud Bailly <[EMAIL PROTECTED]> wrote:

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]


Reply via email to