Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-578

Add message in case module name cannot be extracted from jar.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.1
    • 3.0.2
    • resolve
    • None

    Description

      The following jars are just some examples where Java 9 cannot give an automatic module name:

      jar root cause
      geronimo-servlet_2.4_spec-1.1.1.jar geronimo.servlet.2.4.spec: Invalid module name: '2' is not a Java identifier
      jdom-1.0.jar JDOMAbout$Author.class found in top-level directory (unnamed package not allowed in module)
      geronimo-jta_1.1_spec-1.1.jar geronimo.jta.1.1.spec: Invalid module name: '1' is not a Java identifier

      Who would have expected that reason for jdom? A message would help a lot (even though in the end it means you can still not refer to it)

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            rfscholte Robert Scholte
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: