maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Wheeler <rwhee...@artifact-software.com>
Subject Re: `mvn test` doesn't notice compilation errors
Date Tue, 19 Nov 2013 18:06:03 GMT
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: rwheeler@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message