Thanks, that explain it -D
On Mon, Apr 6, 2015 at 1:01 AM, Karl Heinz Marbaise <[email protected]> wrote: > Hi Dan, > > it looks you are trying to run maven-invoker-plugin within a CI solution > like Jenkins. > > The point is apache-rat in version 0.11 does not ignore the .repository > which is default if you configure Jenkins having a local repository per > Job... > > This will be solved if apache rat version 0.12[1] will be released.... > > If you use it that way you need to add a configuration like this: > > <pluginManagement> > <plugins> > <plugin> > <groupId>org.apache.rat</groupId> > <artifactId>apache-rat-plugin</artifactId> > <configuration> > <excludes combine.children="append"> > <exclude>.repository/**</exclude> > <exclude>src/it/staging-dependencies/repo/**/*</exclude> > <exclude>src/it/**/*.txt</exclude> > <exclude>src/test/**/*.txt</exclude> > </excludes> > </configuration> > </plugin> > </plugins> > </pluginManagement> > > > > [1]: https://issues.apache.org/jira/browse/RAT-185 > > On 4/6/15 6:19 AM, Dan Tran wrote: > >> Hi >> >> but this plugin fails rat check, did I miss configure the build somehow? >> I only run it with normal clean install >> >> Thanks >> >> -Dan >> >> >> [INFO] *--- apache-rat-plugin:0.11:check (rat-check) @ >> maven-invoker-plugin --- >> *[INFO] 51 implicit excludes (use -debug for more details). >> [INFO] Exclude: src/it/staging-dependencies/repo/**/* >> [INFO] Exclude: src/it/**/*.txt >> [INFO] Exclude: src/test/**/*.txt >> [INFO] Exclude: DEPENDENCIES >> [INFO] 1661 resources included (use -debug for more details) >> Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property >> 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is >> not recognized. >> >> Compiler warnings: >> WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property >> 'http://javax.xml.XMLConstants/property/accessExternalDTD >> <http://javax.xml.xmlconstants/property/accessExternalDTD>' is not >> recognized.' >> Warning: org.apache.xerces.parsers.SAXParser: Feature >> 'http://javax.xml.XMLConstants/feature/secure-processing >> <http://javax.xml.xmlconstants/feature/secure-processing>' is not >> recognized. >> Warning: org.apache.xerces.parsers.SAXParser: Property >> 'http://javax.xml.XMLConstants/property/accessExternalDTD >> <http://javax.xml.xmlconstants/property/accessExternalDTD>' is not >> recognized. >> Warning: org.apache.xerces.parsers.SAXParser: Property >> 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is >> not recognized. >> [INFO] Rat check: Summary of files. Unapproved: 930 unknown: 930 >> generated: 0 approved: 570 licence. >> >> Notifying upstream projects of job completion >> Join notifier requires a CauseAction >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
