Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-8080

Make maven structure respect module building

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.9.6, 4.0.0-alpha-13
    • None
    • API
    • None

    Description

      When trying to build a (Java) module based application or service that include a standard maven component, it very quickly becomes apparent that this is not possible.

      This is because the package structure in the components violates pretty much every single rule there is in regards to (Java) modules. The worst offender is maven-embed which incidentally also contains the components that are necessary to launch maven from code. This one even contains a package declaration from slf4j.

      Now, when there is a new major maven version on the horizon which generally means breaking changes, is the correct time to clean up this structure. It means breaking changes since the package names change in the various maven components but on the other side, it is a very easy task for anyone to just update package names.

      Target for this ticket should be that each maven component is (at least) declared with an automatic module name in MANIFEST.MF.

      Attachments

        Activity

          People

            Unassigned Unassigned
            thoroughsoft Anders
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: