when building a project that contains package-info.java files doing following command will fail compilation:
mvn install //this will succeed
mvn install //this will fail
the workaround is always to do a mvn clean install
the error you receive relates to the compiler thinking an existing package-info.java already exists.
222. ERROR in C:\projects\kuali\KULRICE-5640\core\api\src\main\java\org\kuali\ri
ce\core\api\util\package-info.java (at line 1)
The type package-info is already defined