-
Bug
-
Resolution: Done
-
High
-
Amsterdam Release
-
None
-
None
-
Policy Sprint 5 - 9/6-9/20
with activations of check license plugin, "verify" builds are failing when file are found with missing licenses:
See:
https://gerrit.onap.org/r/#/c/10339/
[INFO] — maven-checkstyle-plugin:2.17:check (check-license) @ ONAP-XACML — [INFO] Starting audit... /w/workspace/policy-engine-master-verify-java/ONAP-XACML/src/main/java/org/onap/policy/xacml/api/pap/ONAPPapEngineFactory.java:0: error: File does not contain at least 1 matches for pattern 'http://www.apache\.org/licenses/LICENSE-2\.0'. /w/workspace/policy-engine-master-verify-java/ONAP-XACML/src/main/java/org/onap/policy/xacml/api/pap/ONAPPapEngineFactory.java:0: error: File does not contain at least 1 matches for pattern 'under the Apache License, Version 2\.0'. /w/workspace/policy-engine-master-verify-java/ONAP-XACML/src/main/java/org/onap/policy/xacml/api/pap/OnapPDPGroup.java:0: error: File does not contain at least 1 matches for pattern 'http://www.apache\.org/licenses/LICENSE-2\.0'. /w/workspace/policy-engine-master-verify-java/ONAP-XACML/src/main/java/org/onap/policy/xacml/api/pap/OnapPDPGroup.java:0: error: File does not contain at least 1 matches for pattern 'under the Apache License, Version 2\.0'. Audit done. [INFO] There are 4 errors reported by Checkstyle 6.11.2 with onap-checkstyle/check-license.xml ruleset. [ERROR] src/main/java/org/onap/policy/xacml/api/pap/ONAPPapEngineFactory.java:[0] (regexp) RegexpSingleline: File does not contain at least 1 matches for pattern 'http://www.apache\.org/licenses/LICENSE-2\.0'. [ERROR] src/main/java/org/onap/policy/xacml/api/pap/ONAPPapEngineFactory.java:[0] (regexp) RegexpSingleline: File does not contain at least 1 matches for pattern 'under the Apache License, Version 2\.0'. [ERROR] src/main/java/org/onap/policy/xacml/api/pap/OnapPDPGroup.java:[0] (regexp) RegexpSingleline: File does not contain at least 1 matches for pattern 'http://www.apache\.org/licenses/LICENSE-2\.0'. [ERROR] src/main/java/org/onap/policy/xacml/api/pap/OnapPDPGroup.java:[0] (regexp) RegexpSingleline: File does not contain at least 1 matches for pattern 'under the Apache License, Version 2\.0'. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Policy Engine - Policy Engine Suite ................ SUCCESS [ 59.241 s] [INFO] PolicyEngineUtils .................................. SUCCESS [01:23 min] [INFO] ONAP-XACML ......................................... FAILURE [ 7.618 s]