简体   繁体   中英

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?

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:

  • 1.3 - J2EE 1.3 version.
  • 1.4 - J2EE 1.4 version.
  • 5 - JavaEE 5 version.
  • 6 - JavaEE 6 version.
  • 7 - JavaEE 7 version.
  • 8 - JavaEE 8 version.
  • 9 - JakartaEE 9 version.
  • 10 - JakartaEE 10 version.

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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM