A good way to clean the offending files is usually to do:
git clean -dn (to just list the files)
git clean -df (to actually delete the files)
Be sure to check if you're not going to remove not committed work...

Pierre

2018-03-27 18:07 GMT+02:00 Otto Fowler <[email protected]>:

> Ok, that would certainly fit.
> Thanks!
>
>
>
> On March 27, 2018 at 11:30:09, Joe Percivall ([email protected])
> wrote:
>
> Hey Otto,
>
> I've run into this before and it's typically due to switching between
> branches where modules have been added/removed. If you look at the files
> it's complaining about they're all in a target folder. Those are typically
> ignored when the maven module is included (i.e. the nifi-hadoop-utils
> module). When you switch off of a branch that had that, the ignored files
> stick around (i.e. the target folder).
>
> Long story short, you didn't do anything wrong. Just a by-product of doing
> dev work and you just need to remove the offending files.
>
> Joe
>
> On Tue, Mar 27, 2018 at 11:02 AM, Otto Fowler <[email protected]>
> wrote:
>
> > I have a branch on my work where I have been doing processor work.
> > I ran mvn clean install -Pcontrib-check
> > and now I’m getting rat errors for nifi-commons, which I didn’t change at
> > all. As anyone see this?
> >
> > *****************************************************
> > Summary
> > -------
> > Generated at: 2018-03-27T10:56:27-04:00
> >
> > Notes: 18
> > Binaries: 44
> > Archives: 2
> > Standards: 18
> >
> > Apache Licensed: 1
> > Generated Documents: 0
> >
> > JavaDocs are generated, thus a license header is optional.
> > Generated files do not require license headers.
> >
> > 15 Unknown Licenses
> >
> > *****************************************************
> >
> > Files with unapproved licenses:
> >
> >
> >
> /Users/ottobackwards/src/apache/forks/nifi/nifi-commons/nifi-hadoop-utils/
> > target/test-classes/krb5.conf
> >
> >
> /Users/ottobackwards/src/apache/forks/nifi/nifi-commons/nifi-hadoop-utils/
> > target/maven-status/maven-compiler-plugin/testCompile/
> > groovy-tests/inputFiles.lst
> >
> >
> /Users/ottobackwards/src/apache/forks/nifi/nifi-commons/nifi-hadoop-utils/
> > target/maven-status/maven-compiler-plugin/testCompile/
> > groovy-tests/createdFiles.lst
> >
> >
> /Users/ottobackwards/src/apache/forks/nifi/nifi-commons/nifi-hadoop-utils/
> >
> target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/
> > inputFiles.lst
> >
> >
> /Users/ottobackwards/src/apache/forks/nifi/nifi-commons/nifi-hadoop-utils/
> >
> target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/
> > createdFiles.lst
> >
> >
> /Users/ottobackwards/src/apache/forks/nifi/nifi-commons/nifi-hadoop-utils/
> > target/maven-status/maven-compiler-plugin/compile/
> > default-compile/inputFiles.lst
> >
> >
> /Users/ottobackwards/src/apache/forks/nifi/nifi-commons/nifi-hadoop-utils/
> > target/maven-status/maven-compiler-plugin/compile/
> > default-compile/createdFiles.lst
> >
> >
> /Users/ottobackwards/src/apache/forks/nifi/nifi-commons/nifi-hadoop-utils/
> > target/surefire-reports/org.apache.nifi.hadoop.
> TestKerberosProperties.txt
> >
> >
> /Users/ottobackwards/src/apache/forks/nifi/nifi-commons/nifi-hadoop-utils/
> > target/surefire-reports/TEST-org.apache.nifi.hadoop.
> > TestKerberosProperties.xml
> >
> >
> /Users/ottobackwards/src/apache/forks/nifi/nifi-commons/nifi-hadoop-utils/
> > target/.plxarc
> >
> > /Users/ottobackwards/src/apache/forks/nifi/nifi-commons/nifi-processor-
> > utilities/target/maven-status/maven-compiler-plugin/
> > testCompile/groovy-tests/inputFiles.lst
> >
> > /Users/ottobackwards/src/apache/forks/nifi/nifi-commons/nifi-processor-
> > utilities/target/maven-status/maven-compiler-plugin/testCompile/default-
> > testCompile/inputFiles.lst
> >
> > /Users/ottobackwards/src/apache/forks/nifi/nifi-commons/nifi-processor-
> > utilities/target/maven-status/maven-compiler-plugin/compile/
> > default-compile/inputFiles.lst
> >
> > /Users/ottobackwards/src/apache/forks/nifi/nifi-commons/nifi-processor-
> > utilities/target/maven-status/maven-compiler-plugin/compile/
> > default-compile/createdFiles.lst
> >
> > /Users/ottobackwards/src/apache/forks/nifi/nifi-commons/nifi-processor-
> > utilities/target/.plxarc
> >
> > *****************************************************
> >
>
>
>
> --
> *Joe Percivall*
> linkedin.com/in/Percivall
> e: [email protected]
>

Reply via email to