From 20303b5a2ad709cf47c3f467aa23dac80df33694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Troels=20N=C3=B8rgaard?= Date: Wed, 13 May 2020 09:48:13 +0200 Subject: [PATCH] Add Automatic-Module-Name for Java Modules "2" is not a allowed module name and the default way of turning jar-names into Java modules translated into "raml.parser.2" which is not a valid module name, thus preventing this library to be used in a Java module project. This introduced a MANIFEST.MF entry recommended by the Java system to explicitly name the module (removing "2") and this entry should have no affect on exiting non-module projects. --- raml-parser-2/pom.xml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/raml-parser-2/pom.xml b/raml-parser-2/pom.xml index befd612e..82305208 100644 --- a/raml-parser-2/pom.xml +++ b/raml-parser-2/pom.xml @@ -30,7 +30,8 @@ ${project.artifactId}-${project.version}-full - org.raml.v2.internal.impl.RamlValidator + org.raml.v2.internal.impl.RamlValidator + org.raml.parser @@ -137,4 +138,19 @@ + + + + org.apache.maven.plugins + maven-jar-plugin + + + + org.raml.parser + + + + + +