Now if you move the test classes into the ear module directly then you will be back on the maven way
On 25 October 2010 20:36, Dirk Reske <[email protected]> wrote: > I have it. > The problem was, that I have to put the following to the ear module > <plugin> > <artifactId>maven-compiler-plugin</artifactId> > <executions> > <execution> > <goals> > <goal>testCompile</goal> > </goals> > </execution> > </executions> > </plugin> > > Now the test files of the other module are compiled a second time in the ear > module and then executed against the deployed instance. > It seems to work perfect now. > > thanks > Dirk > > Am 25.10.2010 20:51, schrieb Antonio Petrelli: >> >> 2010/10/25 Dirk Reske<[email protected]>: >>> >>> The failsafe plugin has to be configured in the ear module, but the test >>> classes have to be in the webmodule. >> >> Strange. Can you try copying the test classes in the ear module? >> >> Antonio >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
