[
https://issues.apache.org/jira/browse/RAT-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14323274#comment-14323274
]
Philipp Ottlinger commented on RAT-190:
---------------------------------------
Thanks for the last output - your dependency tree looks rather old, my mvn
invokes a much newer maven-jar-plugin. Not sure if that has to do with the
problems you experience. Since all builds on Jenkins are green I do not suspect
a general problem:
My invocation yields
{code}
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ test ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0,
ConflictMarker.markTime=0, ConflictMarker.nodeCount=74,
ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0,
ConflictIdSorter.conflictIdCount=28, ConflictIdSorter.conflictIdCycleCount=0,
ConflictResolver.totalTime=2, ConflictResolver.conflictItemCount=70,
DefaultDependencyCollector.collectTime=17,
DefaultDependencyCollector.transformTime=2}
[DEBUG] org.apache.maven.plugins:maven-jar-plugin:jar:2.4:
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-project:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-settings:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-profile:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-plugin-registry:jar:2.0.6:compile
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG] junit:junit:jar:3.8.1:compile
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG] org.apache.maven:maven-model:jar:2.0.6:runtime
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-archiver:jar:2.5:compile
[DEBUG] org.apache.maven:maven-core:jar:2.0.6:compile
[DEBUG]
org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6:compile
[DEBUG]
org.apache.maven.reporting:maven-reporting-api:jar:2.0.6:compile
[DEBUG]
org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7:compile
[DEBUG] org.apache.maven:maven-error-diagnostics:jar:2.0.6:compile
[DEBUG] commons-cli:commons-cli:jar:1.0:compile
[DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.0.6:compile
[DEBUG]
org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG] org.apache.maven:maven-monitor:jar:2.0.6:compile
[DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.15:compile
[DEBUG] org.codehaus.plexus:plexus-archiver:jar:2.1:compile
[DEBUG] org.codehaus.plexus:plexus-io:jar:2.0.2:compile
[DEBUG] commons-lang:commons-lang:jar:2.1:compile
[DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0:compile
[DEBUG] Created new class realm
plugin>org.apache.maven.plugins:maven-jar-plugin:2.4
[DEBUG] Importing foreign packages into class realm
plugin>org.apache.maven.plugins:maven-jar-plugin:2.4
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm
plugin>org.apache.maven.plugins:maven-jar-plugin:2.4
[DEBUG] Included: org.apache.maven.plugins:maven-jar-plugin:jar:2.4
[DEBUG] Included: junit:junit:jar:3.8.1
[DEBUG] Included: org.apache.maven:maven-archiver:jar:2.5
[DEBUG] Included: org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG] Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7
[DEBUG] Included: commons-cli:commons-cli:jar:1.0
[DEBUG] Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.15
[DEBUG] Included: org.codehaus.plexus:plexus-archiver:jar:2.1
[DEBUG] Included: org.codehaus.plexus:plexus-io:jar:2.0.2
[DEBUG] Included: commons-lang:commons-lang:jar:2.1
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0
[DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-project:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-settings:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-profile:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.6
[DEBUG] Excluded:
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG] Excluded: classworlds:classworlds:jar:1.1-alpha-2
[DEBUG] Excluded: org.apache.maven:maven-model:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-core:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-error-diagnostics:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-monitor:jar:2.0.6
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-jar-plugin:2.4:jar from
plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-jar-plugin:2.4,
parent: sun.misc.Launcher$AppClassLoader@5c647e05]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-jar-plugin:2.4:jar'
with basic configurator -->
[DEBUG] (f) classesDirectory = /tmp/a/test/target/classes
[DEBUG] (f) defaultManifestFile =
/tmp/a/test/target/classes/META-INF/MANIFEST.MF
[DEBUG] (f) finalName = test-1.0-SNAPSHOT
[DEBUG] (f) forceCreation = false
[DEBUG] (f) outputDirectory = /tmp/a/test/target
[DEBUG] (f) project = MavenProject: com.mycompany.app:test:1.0-SNAPSHOT @
/tmp/a/test/pom.xml
[DEBUG] (f) session = org.apache.maven.execution.MavenSession@73ff4fae
[DEBUG] (f) skipIfEmpty = false
[DEBUG] (f) useDefaultManifestFile = false
[DEBUG] -- end configuration --
[WARNING] JAR will be empty - no content was marked for inclusion!
[DEBUG] isUp2date: false (Destination /tmp/a/test/target/test-1.0-SNAPSHOT.jar
not found.)
[INFO] Building jar: /tmp/a/test/target/test-1.0-SNAPSHOT.jar
[DEBUG] adding directory META-INF/
[DEBUG] adding entry META-INF/MANIFEST.MF
[DEBUG] adding directory META-INF/maven/
[DEBUG] adding directory META-INF/maven/com.mycompany.app/
[DEBUG] adding directory META-INF/maven/com.mycompany.app/test/
[DEBUG] adding entry META-INF/maven/com.mycompany.app/test/pom.xml
[DEBUG] adding entry META-INF/maven/com.mycompany.app/test/pom.properties
[INFO]
[INFO] --- apache-rat-plugin:0.11:check (default) @ test ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0,
ConflictMarker.markTime=1, ConflictMarker.nodeCount=160,
ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0,
ConflictIdSorter.conflictIdCount=51, ConflictIdSorter.conflictIdCycleCount=0,
ConflictResolver.totalTime=3, ConflictResolver.conflictItemCount=119,
DefaultDependencyCollector.collectTime=113,
DefaultDependencyCollector.transformTime=4}
[DEBUG] org.apache.rat:apache-rat-plugin:jar:0.11:
[DEBUG] org.apache.rat:apache-rat-core:jar:0.11:compile
[DEBUG] commons-collections:commons-collections:jar:3.2.1:compile
[DEBUG] commons-lang:commons-lang:jar:2.6:compile
[DEBUG] commons-io:commons-io:jar:2.2:compile
[DEBUG] org.apache.commons:commons-compress:jar:1.5:compile
[DEBUG] commons-cli:commons-cli:jar:1.2:compile
[DEBUG] org.apache.maven:maven-artifact:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG] backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-project:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-settings:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-profile:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-model:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
[DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
[DEBUG] org.apache.maven.doxia:doxia-core:jar:1.2:compile
[DEBUG] org.apache.maven.doxia:doxia-logging-api:jar:1.2:compile
[DEBUG] xerces:xercesImpl:jar:2.9.1:compile
[DEBUG] xml-apis:xml-apis:jar:1.3.04:compile
[DEBUG] org.apache.httpcomponents:httpclient:jar:4.0.2:compile
[DEBUG] org.apache.httpcomponents:httpcore:jar:4.0.1:compile
[DEBUG] commons-logging:commons-logging:jar:1.1.1:compile
[DEBUG] commons-codec:commons-codec:jar:1.3:compile
[DEBUG] org.apache.maven.doxia:doxia-decoration-model:jar:1.2:compile
[DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.2:compile
[DEBUG] org.apache.maven.doxia:doxia-site-renderer:jar:1.2:compile
[DEBUG] org.apache.maven.doxia:doxia-module-xhtml:jar:1.2:compile
[DEBUG] org.apache.maven.doxia:doxia-module-fml:jar:1.2:compile
[DEBUG] org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7:compile
[DEBUG] org.codehaus.plexus:plexus-velocity:jar:1.1.7:compile
[DEBUG] org.apache.velocity:velocity:jar:1.5:compile
[DEBUG] oro:oro:jar:2.0.8:compile
[DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile
[DEBUG] org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1:compile
[DEBUG] org.apache.maven:maven-core:jar:2.0:compile
[DEBUG]
org.apache.maven:maven-plugin-parameter-documenter:jar:2.0:compile
[DEBUG] org.apache.maven:maven-error-diagnostics:jar:2.0:compile
[DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.0:compile
[DEBUG]
org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG] org.apache.maven:maven-monitor:jar:2.0:compile
[DEBUG] junit:junit:jar:4.11:test
[DEBUG] org.hamcrest:hamcrest-core:jar:1.3:test
[DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7:compile
[DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.8:compile
[DEBUG] Created new class realm plugin>org.apache.rat:apache-rat-plugin:0.11
[DEBUG] Importing foreign packages into class realm
plugin>org.apache.rat:apache-rat-plugin:0.11
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm plugin>org.apache.rat:apache-rat-plugin:0.11
[DEBUG] Included: org.apache.rat:apache-rat-plugin:jar:0.11
[DEBUG] Included: org.apache.rat:apache-rat-core:jar:0.11
[DEBUG] Included: commons-collections:commons-collections:jar:3.2.1
[DEBUG] Included: commons-lang:commons-lang:jar:2.6
[DEBUG] Included: commons-io:commons-io:jar:2.2
[DEBUG] Included: org.apache.commons:commons-compress:jar:1.5
[DEBUG] Included: commons-cli:commons-cli:jar:1.2
[DEBUG] Included: backport-util-concurrent:backport-util-concurrent:jar:3.1
[DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.11
[DEBUG] Included: org.apache.maven.doxia:doxia-core:jar:1.2
[DEBUG] Included: org.apache.maven.doxia:doxia-logging-api:jar:1.2
[DEBUG] Included: xerces:xercesImpl:jar:2.9.1
[DEBUG] Included: xml-apis:xml-apis:jar:1.3.04
[DEBUG] Included: org.apache.httpcomponents:httpclient:jar:4.0.2
[DEBUG] Included: org.apache.httpcomponents:httpcore:jar:4.0.1
[DEBUG] Included: commons-logging:commons-logging:jar:1.1.1
[DEBUG] Included: commons-codec:commons-codec:jar:1.3
[DEBUG] Included: org.apache.maven.doxia:doxia-decoration-model:jar:1.2
[DEBUG] Included: org.apache.maven.doxia:doxia-sink-api:jar:1.2
[DEBUG] Included: org.apache.maven.doxia:doxia-site-renderer:jar:1.2
[DEBUG] Included: org.apache.maven.doxia:doxia-module-xhtml:jar:1.2
[DEBUG] Included: org.apache.maven.doxia:doxia-module-fml:jar:1.2
[DEBUG] Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7
[DEBUG] Included: org.codehaus.plexus:plexus-velocity:jar:1.1.7
[DEBUG] Included: org.apache.velocity:velocity:jar:1.5
[DEBUG] Included: oro:oro:jar:2.0.8
[DEBUG] Included: org.apache.maven.reporting:maven-reporting-api:jar:3.0
[DEBUG] Included: org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1
[DEBUG] Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG] Included: org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.8
[DEBUG] Excluded: org.apache.maven:maven-artifact:jar:2.2.1
[DEBUG] Excluded: org.apache.maven:maven-artifact-manager:jar:2.2.1
[DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:2.2.1
[DEBUG] Excluded:
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG] Excluded: classworlds:classworlds:jar:1.1-alpha-2
[DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:2.2.1
[DEBUG] Excluded: org.apache.maven:maven-project:jar:2.2.1
[DEBUG] Excluded: org.apache.maven:maven-settings:jar:2.2.1
[DEBUG] Excluded: org.apache.maven:maven-profile:jar:2.2.1
[DEBUG] Excluded: org.apache.maven:maven-model:jar:2.2.1
[DEBUG] Excluded: org.apache.maven:maven-plugin-registry:jar:2.2.1
[DEBUG] Excluded: org.apache.maven:maven-core:jar:2.0
[DEBUG] Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.0
[DEBUG] Excluded: org.apache.maven:maven-error-diagnostics:jar:2.0
[DEBUG] Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.0
[DEBUG] Excluded: org.apache.maven:maven-monitor:jar:2.0
[DEBUG] Excluded: junit:junit:jar:4.11
[DEBUG] Excluded: org.hamcrest:hamcrest-core:jar:1.3
[DEBUG] Configuring mojo org.apache.rat:apache-rat-plugin:0.11:check from
plugin realm ClassRealm[plugin>org.apache.rat:apache-rat-plugin:0.11, parent:
sun.misc.Launcher$AppClassLoader@5c647e05]
[DEBUG] Configuring mojo 'org.apache.rat:apache-rat-plugin:0.11:check' with
basic configurator -->
[DEBUG] (f) addDefaultLicenseMatchers = true
[DEBUG] (f) addLicenseHeaders = false
[DEBUG] (f) basedir = /tmp/a/test
[DEBUG] (f) excludeSubProjects = true
[DEBUG] (f) excludes = [*.loadrule, **/.*, **/.*/*, **/*.json, **/*.html,
**/*.md, **/*.log, **/*.mf, src/site/**, src/scripts/**, *.obsolete/**,
**/test/**, sequoia-crx/**, shimmer-cookie-ninja/**]
[DEBUG] (f) ignoreErrors = false
[DEBUG] (s) familyName = IBM Copyright
[DEBUG] (f) licenseFamilies =
[org.apache.rat.license.SimpleLicenseFamily@15cea7b0]
[DEBUG] (s) licenseFamilyCategory = IBMCL
[DEBUG] (s) licenseFamilyName = IBM Copyright
[DEBUG] (s) patterns = [Copyright IBM Corp. 2015, Copyright IBM Corp. 2014,
2015, Copyright IBM Corp. 2013, 2015]
[DEBUG] (f) licenses =
[org.apache.rat.analysis.license.SimplePatternBasedLicense@48b22fd4]
[DEBUG] (f) numUnapprovedLicenses = 0
[DEBUG] (f) project = MavenProject: com.mycompany.app:test:1.0-SNAPSHOT @
/tmp/a/test/pom.xml
[DEBUG] (f) reportFile = /tmp/a/test/target/rat.txt
[DEBUG] (f) reportStyle = plain
[DEBUG] (f) skip = false
[DEBUG] (f) useDefaultExcludes = true
[DEBUG] (f) useEclipseDefaultExcludes = true
[DEBUG] (f) useIdeaDefaultExcludes = true
[DEBUG] (f) useMavenDefaultExcludes = true
[DEBUG] -- end configuration --
[DEBUG] Adding plexus default exclusions...
[DEBUG] Adding exclusions often needed by Maven projects...
[DEBUG] Adding exclusions often needed by projects developed in Eclipse...
[DEBUG] Adding exclusions often needed by projects developed in IDEA...
[DEBUG] Finished creating list of implicit excludes.
[INFO] 51 implicit excludes (use -debug for more details).
[DEBUG] Implicit exclude: **/*~
[DEBUG] Implicit exclude: **/#*#
[DEBUG] Implicit exclude: **/.#*
[DEBUG] Implicit exclude: **/%*%
[DEBUG] Implicit exclude: **/._*
[DEBUG] Implicit exclude: **/CVS
[DEBUG] Implicit exclude: **/CVS/**
[DEBUG] Implicit exclude: **/.cvsignore
[DEBUG] Implicit exclude: **/RCS
[DEBUG] Implicit exclude: **/RCS/**
[DEBUG] Implicit exclude: **/SCCS
[DEBUG] Implicit exclude: **/SCCS/**
[DEBUG] Implicit exclude: **/vssver.scc
[DEBUG] Implicit exclude: **/project.pj
[DEBUG] Implicit exclude: **/.svn
[DEBUG] Implicit exclude: **/.svn/**
[DEBUG] Implicit exclude: **/.arch-ids
[DEBUG] Implicit exclude: **/.arch-ids/**
[DEBUG] Implicit exclude: **/.bzr
[DEBUG] Implicit exclude: **/.bzr/**
[DEBUG] Implicit exclude: **/.MySCMServerInfo
[DEBUG] Implicit exclude: **/.DS_Store
[DEBUG] Implicit exclude: **/.metadata
[DEBUG] Implicit exclude: **/.metadata/**
[DEBUG] Implicit exclude: **/.hg
[DEBUG] Implicit exclude: **/.hg/**
[DEBUG] Implicit exclude: **/.git
[DEBUG] Implicit exclude: **/.gitignore
[DEBUG] Implicit exclude: **/.gitattributes
[DEBUG] Implicit exclude: **/.git/**
[DEBUG] Implicit exclude: **/BitKeeper
[DEBUG] Implicit exclude: **/BitKeeper/**
[DEBUG] Implicit exclude: **/ChangeSet
[DEBUG] Implicit exclude: **/ChangeSet/**
[DEBUG] Implicit exclude: **/_darcs
[DEBUG] Implicit exclude: **/_darcs/**
[DEBUG] Implicit exclude: **/.darcsrepo
[DEBUG] Implicit exclude: **/.darcsrepo/**
[DEBUG] Implicit exclude: **/-darcs-backup*
[DEBUG] Implicit exclude: **/.darcs-temp-mail
[DEBUG] Implicit exclude: target/**/*
[DEBUG] Implicit exclude: cobertura.ser
[DEBUG] Implicit exclude: release.properties
[DEBUG] Implicit exclude: pom.xml.releaseBackup
[DEBUG] Implicit exclude: .classpath
[DEBUG] Implicit exclude: .project
[DEBUG] Implicit exclude: .settings/**/*
[DEBUG] Implicit exclude: *.iml
[DEBUG] Implicit exclude: *.ipr
[DEBUG] Implicit exclude: *.iws
[DEBUG] Implicit exclude: .idea/**/*
[INFO] Exclude: *.loadrule
[INFO] Exclude: **/.*
[INFO] Exclude: **/.*/*
[INFO] Exclude: **/*.json
[INFO] Exclude: **/*.html
[INFO] Exclude: **/*.md
[INFO] Exclude: **/*.log
[INFO] Exclude: **/*.mf
[INFO] Exclude: src/site/**
[INFO] Exclude: src/scripts/**
[INFO] Exclude: *.obsolete/**
[INFO] Exclude: **/test/**
[INFO] Exclude: sequoia-crx/**
[INFO] Exclude: shimmer-cookie-ninja/**
[DEBUG] Excluded 4 resources:
[DEBUG] - excluded target/test-1.0-SNAPSHOT.jar
[DEBUG] - excluded
target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
[DEBUG] - excluded target/maven-archiver/pom.properties
[DEBUG] - excluded target/rat.txt
[INFO] 2 resources included (use -debug for more details)
[DEBUG] - included pom.xml
[DEBUG] - included src/main/java/com/mycompany/app/MailComposeView.js
Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not
recognized.
Compiler-Warnungen:
WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
Warning: org.apache.xerces.parsers.SAXParser: Feature
'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning: org.apache.xerces.parsers.SAXParser: Property
'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: 1 unknown: 1 generated: 0
approved: 1 licence.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.678 s
[INFO] Finished at: 2015-02-16T21:46:30+01:00
[INFO] Final Memory: 13M/155M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check
(default) on project test: Too many files with unapproved license: 1 See RAT
report in: /tmp/a/test/target/rat.txt -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.apache.rat:apache-rat-plugin:0.11:check (default) on project test: Too many
files with unapproved license: 1 See RAT report in: /tmp/a/test/target/rat.txt
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.rat.mp.RatCheckException: Too many files with unapproved
license: 1 See RAT report in: /tmp/a/test/target/rat.txt
at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:194)
at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:182)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
[ERROR]
[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/MojoFailureException
{code}
> False negatives(?) in apache rat license checking
> -------------------------------------------------
>
> Key: RAT-190
> URL: https://issues.apache.org/jira/browse/RAT-190
> Project: Apache Rat
> Issue Type: Bug
> Affects Versions: 0.8, 0.11
> Reporter: Dan Dumont
> Assignee: Philipp Ottlinger
> Attachments: complete-pom.xml, test.zip
>
>
> We're using rat to enforce our internal copyright on all of our source files.
> We're seeing it missing files that should be flagged. Here's part of our pom:
> <licenses>
> <license
> implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
> <licenseFamilyCategory>IBMCL</licenseFamilyCategory>
> <licenseFamilyName>IBM Copyright</licenseFamilyName>
> <notes></notes>
> <patterns>
> <pattern>Copyright IBM Corp. 2015</pattern>
> <pattern>Copyright IBM Corp. 2014, 2015</pattern>
> <pattern>Copyright IBM Corp. 2013, 2015</pattern>
> </patterns>
> </license>
> </licenses>
> <licenseFamilies>
> <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
> <familyName>IBM Copyright</familyName>
> </licenseFamily>
> </licenseFamilies>
> The file in question is "included" as reported by running with debug
> output... but the file's copyright is:
> /* Copyright IBM Corp. 2014 All Rights Reserved. */
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)