Jason Lee
Principal Software Engineer
Red Hat JBoss EAP
_______________________________________________Kudos to Michal Petrov for the work he's been doing around license reporting, and FYI to you all about it.Apologies in advance if I get some of this wrong, but the gist of it is Michal embedded the canonical information about how to describe licenses within our licenses plugin itself.[1] This is the plugin we use to generate the licenses.xml and licenses.html content users finds in docs/licenses in a WildFly installation.His work means a lot of the boilerplate we include in the source code for our feature packs is no longer needed. See https://github.com/wildfly/wildfly/pull/17278 for how much is no longer needed.https://issues.redhat.com/browse/WFLY-17755 is the JIRA that covers this.I believe the effect of this is if a dev adds a new artifact to a feature pack it is no longer required to add license data to our feature pack source unless the artifact's associated pom doesn't have correct license data. If you do need to add license info for the artifact, it's only necessary to state the name of the license (one of the names listed in [1].)If the "KnownLicenses" class in the plugin[1] doesn't have information about a license, it's possible in the feature pack source to declare that information and then reference it. See [2] as an example from the plugin testsuite.Thanks, Michal! This is a nice improvement that largely eliminates an unintuitive boilerplate step when integrating new functionality.Best regards,Brian
wildfly-dev mailing list -- wildfly-dev@lists.jboss.org
To unsubscribe send an email to wildfly-dev-leave@lists.jboss.org
Privacy Statement: https://www.redhat.com/en/about/privacy-policy
List Archives: https://lists.jboss.org/archives/list/wildfly-dev@lists.jboss.org/message/2Y7G2DTR4UAGVXHULOBN2SLVB4Z2WJV4/