mavenpluginsconfigurationear

documentation about configuration tag in maven-ear-plugin


I cannot find any documentation related to plugins -> plugin -> configuration -> version for maven-ear-plugin:

<plugins>      
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-ear-plugin</artifactId>
        <version>${version.ear.plugin}</version>
        <configuration>
            <version>7</version>

I think that is somewhat related to te EE version, but can anyone point to the documentation and some examples?


Solution

  • Form plugin documentation:

    The version of the application.xml to generate.

    https://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html#version

    Supplement for documentation, current allowed values are:

    So it is version of generated application.xml descriptor.

    More information about application descriptor: https://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/index.html https://jakarta.ee/xml/ns/jakartaee/