Uploaded image for project: 'Commons Numbers'
  1. Commons Numbers
  2. NUMBERS-110

Define Java Module Names for all modules

    XMLWordPrintableJSON

Details

    Description

      Problem

      • For JDK9+ each component/artifact should have a valid Module name for the Java Module system.
      • It is not necessarily to have a module-info.java (only for JDK9+ possible) file within the build but at least defining an Automatic-Module-Name manifest entry.
        like this:
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-jar-plugin</artifactId>
            <configuration>
              <archive combine.children="append">
                <manifestEntries>
                  <Automatic-Module-Name>org.apache.commons.numbers.XXXX</Automatic-Module-Name>
                </manifestEntries>
              </archive>
            </configuration>
          </plugin>
        

      Attachments

        Issue Links

          Activity

            People

              khmarbaise Karl Heinz Marbaise
              khmarbaise Karl Heinz Marbaise
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m