mvn clean install
builds successfully for file
package maven;
public class App {
public static void main( String[] args ) {
System.out.println( "Hello World!" );
}
}
But if i change it to
package maveninvalid;
public class App {
public static void main( String[] args ) {
System.out.println( "Hello World!" );
}
}
it still builds successfully. Build only fails when I enter an invalid variable or something else. I was expecting it would catch invalid package errors also, why doesn't it do that?