Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-205

policy/engine: missing license files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Amsterdam Release
    • Amsterdam Release
    • None
    • None

      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]

            jhh jhh
            jhh jhh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: