Skip to content

Problem with schema URL during build #21

Description

@galzetta

I'm using this plugin with Maven 3.5.0 and JDK 11 and I'm getting this error:

[ERROR] Failed to execute goal <my-plugin>:generate-files (default) on project webapp: Unable to execute mojo: Failed to parse 'license-mappings.xml' from 'jar:file:/home/slave/.m2/repository/<package>/license-resources/2.0-SNAPSHOT/license-resources-2.0-SNAPSHOT.jar!/license-mappings.xml': unexpected element (uri:"https://source.jasig.org/schemas/maven-notice-plugin/license-lookup", local:"license-lookup"). Expected elements are <{}license-lookup> -> [Help 1]

The error only happens on my Jenkins workers, while on my local machine everything runs fine. Can you help me understand the issue?

The license-mappings.xml is well formed and has been in use for the last 3 years so there is no issue with it, the last commit on it is from the start of 2020 and in more than a year we never had an issue before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions