You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Maarten Mulders (Jira)" <ji...@apache.org> on 2021/12/19 15:50:00 UTC

[jira] [Created] (MNG-7369) Maven BOM doesn't need to package as a JAR

Maarten Mulders created MNG-7369:
------------------------------------

             Summary: Maven BOM doesn't need to package as a JAR
                 Key: MNG-7369
                 URL: https://issues.apache.org/jira/browse/MNG-7369
             Project: Maven
          Issue Type: Task
          Components: General
            Reporter: Maarten Mulders
             Fix For: 4.0.0-alpha-1


The new Maven BOM module packages as a JAR file, which is almost empty:

{code}
$ unzip -l maven-bom/target/maven-bom-4.0.0-alpha-1-SNAPSHOT.jar 
Archive:  maven-bom/target/maven-bom-4.0.0-alpha-1-SNAPSHOT.jar
  Length      Date    Time    Name
---------  ---------- -----   ----
      358  01-26-2020 09:04   META-INF/MANIFEST.MF
        0  01-26-2020 09:04   META-INF/
        0  01-26-2020 09:04   META-INF/maven/
        0  01-26-2020 09:04   META-INF/maven/org.apache.maven/
        0  01-26-2020 09:04   META-INF/maven/org.apache.maven/maven-bom/
      272  01-26-2020 09:04   META-INF/DEPENDENCIES
    11358  01-26-2020 09:04   META-INF/LICENSE
      179  01-26-2020 09:04   META-INF/NOTICE
     6260  01-26-2020 09:04   META-INF/maven/org.apache.maven/maven-bom/pom.xml
       77  01-26-2020 09:04   META-INF/maven/org.apache.maven/maven-bom/pom.properties
---------                     -------
    18504                     10 files

{code}

The Maven BOM module should package as "pom" to avoid this.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)