Maybe I should add **/target-eclipse/** to the list of excludes for the license checking? Anyone have an objection?
-Chris -- Chris Suich [email protected] NetApp Software Engineer Data Center Platforms – Cloud Solutions Citrix, Cisco & Red Hat On Mar 20, 2014, at 1:08 PM, SuichII, Christopher <[email protected]> wrote: > I tried running the command with -X. There is quite a bit of output, but this > is what I was able to find: > > ... > [WARNING] Missing header in: > /Users/csuich/CloudStack/cloudstack/utils/target-eclipse/test-classes/com/cloud/utils/db/transactionContextBuilderTest.xml > ... > [WARNING] Missing header in: > /Users/csuich/CloudStack/cloudstack/utils/target-eclipse/test-classes/testContext.xml > ... > [WARNING] Missing header in: > /Users/csuich/CloudStack/cloudstack/utils/target-eclipse/test-classes/log4j.xml > ... > [WARNING] Missing header in: > /Users/csuich/CloudStack/cloudstack/utils/target-eclipse/test-classes/com/cloud/utils/QualifierTestContext.xml > … > > So, it looks like the check license plugin is going after some xml that > Eclipse generates. Should I be telling maven to ignore these somehow? When I > run ‘git status’, it says my working directory is clean as the .gitignore is > setup to ignore that stuff. > > -Chris > -- > Chris Suich > [email protected] > NetApp Software Engineer > Data Center Platforms – Cloud Solutions > Citrix, Cisco & Red Hat > > On Mar 20, 2014, at 12:54 PM, Daan Hoogland <[email protected]> wrote: > >> So the offending file is in utils. Doesn't it give info above the BUIL >> FAILURE line? >> >> On Thu, Mar 20, 2014 at 5:52 PM, SuichII, Christopher >> <[email protected]> wrote: >>> Hey all, >>> >>> I'm unable to build on 4.4 and master with no changes made in either >>> branch. It appears that there are some files which don't meet the license >>> header requirement. I don't see one, but is there a profile for ignoring >>> the check license plugin? Alternatively, does anyone know what files are >>> offending or how to easily fix this? >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] BUILD FAILURE >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Total time: 14.076s >>> [INFO] Finished at: Thu Mar 20 12:48:27 EDT 2014 >>> [INFO] Final Memory: 40M/96M >>> [INFO] >>> ------------------------------------------------------------------------ >>> [ERROR] Failed to execute goal com.mycila:license-maven-plugin:2.5:check >>> (cloudstack-checklicence) on project cloud-utils: Some files do not have >>> the expected license header -> [Help 1] >>> [ERROR] >>> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e >>> switch. >>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>> [ERROR] >>> [ERROR] For more information about the errors and possible solutions, >>> please read the following articles: >>> [ERROR] [Help 1] >>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException >>> [ERROR] >>> [ERROR] After correcting the problems, you can resume the build with the >>> command >>> [ERROR] mvn <goals> -rf :cloud-utils >>> >>> Thanks, >>> Chris >>> -- >>> Chris Suich >>> [email protected] >>> NetApp Software Engineer >>> Data Center Platforms - Cloud Solutions >>> Citrix, Cisco & Red Hat >>> >> >> >> >> -- >> Daan >
