You can call test-compile phase. mvn test-compile
On 19 November 2013 20:06, Ron Wheeler <rwhee...@artifact-software.com>wrote: > On 19/11/2013 12:27 PM, Andrew Pennebaker wrote: > >> I was refactoring some code, when I noticed unit test errors to do with >> missing methods, as I had forgotten to also refactor my unit tests. These >> sorts of errors should have been caught at compile time, but `mvn test` >> was >> blissfully running the tests anyway. >> >> How can I force `mvn compile` to compile src/test/java/**.java files as >> well? >> >> Use mvn install > > Ron > > -- > Ron Wheeler > President > Artifact Software Inc > email: rwhee...@artifact-software.com > skype: ronaldmwheeler > phone: 866-970-2435, ext 102 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >