Re: Testing jar files instead of class files

2014-08-23 Thread David Evans
Regards D. E. On 22 Aug 2014, at 20:28, Maxime Gréau greaumax...@gmail.com wrote: Hello, This is exactly what I want to do. Is it the bug you are talking about ? https://jira.codehaus.org/browse/SUREFIRE-855 Regards Maxime Gréau. 2013-04-30 13:28 GMT+02:00 Stephen Connolly

Re: Testing jar files instead of class files

2014-08-22 Thread Maxime Gréau
Hello, This is exactly what I want to do. Is it the bug you are talking about ? https://jira.codehaus.org/browse/SUREFIRE-855 Regards Maxime Gréau. 2013-04-30 13:28 GMT+02:00 Stephen Connolly stephen.alan.conno...@gmail.com : Well just to put this into context. What you actually want to do

Testing jar files instead of class files

2013-04-30 Thread Stephen Colebourne
I would like to be able to achieve the following using two command line invocations: - build and install jar files using mvn install - run tests again, but against the installed jar files The rationale is that the first mvn run will only run unit tests (using test groups in TestNG), whereas the

Re: Testing jar files instead of class files

2013-04-30 Thread Stephen Connolly
Well just to put this into context. What you actually want to do is run your second set of tests after the 'package' phase and before the 'install' phase. There is only the 'deploy' phase after the 'install' phase so there would be no scope to run tests after the 'install' phase. If you look at

Re: Testing jar files instead of class files

2013-04-30 Thread Stephen Colebourne
On 30 April 2013 12:28, Stephen Connolly stephen.alan.conno...@gmail.com wrote: What you actually want to do is run your second set of tests after the 'package' phase and before the 'install' phase. There is only the 'deploy' phase after the 'install' phase so there would be no scope to run

Re: Testing jar files instead of class files

2013-04-30 Thread Stephen Connolly
Well how I normally do something like that is I put the failsafe execution in a profile, which by convention is called `run-its` So to build everything and install in the local repository cache: mvn install To build everything and install in the local repository cache with integration tests

Re: Testing jar files instead of class files

2013-04-30 Thread Stephen Connolly
On 30 April 2013 13:20, Stephen Connolly stephen.alan.conno...@gmail.comwrote: Well how I normally do something like that is I put the failsafe execution in a profile, which by convention is called `run-its` So to build everything and install in the local repository cache: mvn install To