jasig / maven-notice-plugin Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
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.
Seems that the plugin requires javax.xml.bind package that is not a part of default distribution anymore
Per https://github.com/Jasig/maven-notice-plugin/releases, the latest appears to be 2.0.0
, but this version is not (yet) found in Maven Central.
https://repo1.maven.org/maven2/org/jasig/maven/maven-notice-plugin/
[ERROR] Plugin org.jasig.maven:maven-notice-plugin:2.0.0 or one of its dependencies could not be resolved: Could not find artifact org.jasig.maven:maven-notice-plugin:jar:2.0.0 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
This plugin's name conflicts with the maven plugin naming convention.
Calling it maven-<yourplugin>-plugin (note "Maven" is at the beginning of the plugin name) is strongly discouraged since it's a reserved naming pattern for official Apache Maven plugins maintained by the Apache Maven team with groupId org.apache.maven.plugins. Using this naming pattern is an infringement of the Apache Maven Trademark.
As far as I can see a compliant name would be notice-maven-plugin
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.