Hi
I am quite desperate: I want to let Maven sleep for a few seconds
between the tests.
I added this ant tasks in the build phase in a previous project and it
worked fine:
-----8<-----
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<configuration>
<tasks>
<echo message="Sleeping now for 5 seconds:" />
<sleep seconds="1" />
<echo message="1" />
<sleep seconds="2" />
<echo message="2" />
<sleep seconds="3" />
<echo message="3" />
<sleep seconds="4" />
<echo message="4" />
<sleep seconds="5" />
<echo message="5" />
</tasks>
</configuration>
<executions>
<execution>
<id>wait</id>
<phase>test</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
----->8-----
However, in my new project, this task never gets executed and I just
can't figure out why.
Everything seems the same. If I change the phase from "test" to
"generate-test-sources" I get the first echo task, but not the whole
process. But the effective pom looks fine.
Can anybody give me a hint, what might go wrong?
Is there any other way to let maven wait for a few seconds between the
tests?
Thanks for any help!
Greetings,
Marcus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]