Vladimir V. Bychkov created MEECROWAVE-323:
----------------------------------------------
Summary: Incorrect filename for annotation processor
Key: MEECROWAVE-323
URL: https://issues.apache.org/jira/browse/MEECROWAVE-323
Project: Meecrowave
Issue Type: Bug
Affects Versions: 1.2.14
Environment: Java 17
Reporter: Vladimir V. Bychkov
Dependency artifact
[meecrowave-core:1.2.14:jakarta|https://repo1.maven.org/maven2/org/apache/meecrowave/meecrowave-core/1.2.14/meecrowave-core-1.2.14-jakarta.jar]
contains file /META-INF/services/*jakarta*.annotation.processing.Processor.
The name of file si incorrect: this file is not a part of Jakarta EE, but part
of Java EE. His name since JDK 6 was und stays
*javax*.annotation.processing.Processor.
This error is name is a blocker: when build with maven-compiler it produces
error
{code}
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException:
Compilation failure error: Bad service configuration file, or exception thrown
while constructing Processor object:
jakarta/annotation/processing/AbstractProcessor
at
org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1310)
at
org.apache.maven.plugin.compiler.TestCompilerMojo.execute(TestCompilerMojo.java:183)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
at
org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:370)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)