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.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.0.2
    • Component/s: resolve
    • Labels:
      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)

        Activity

        Hide
        rfscholte Robert Scholte added a comment -

        Fixed in r1804137

        Show
        rfscholte Robert Scholte added a comment - Fixed in r1804137

          People

          • Assignee:
            rfscholte Robert Scholte
            Reporter:
            rfscholte Robert Scholte
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development