Skip to content

[MCOMPILER-569] Plugin doesn't exclude module-info #778

Description

@jira-importer

Pavel_K opened MCOMPILER-569 and commented

The following code must exclude maven-info file.

<plugin>
     <artifactId>maven-compiler-plugin</artifactId>
     <version>3.11.0</version>
     <configuration>
         <source>${maven.compiler.source}</source>
         <target>${maven.compiler.target}</target>
         <excludes>
             <exclude>**/module-info.java</exclude>
         </excludes>
     </configuration>
 </plugin>

However, plugin compiles module-info and adds module-info.class to jar file


Affects: 3.11.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions