You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Pratik Parikh (JIRA)" <ji...@apache.org> on 2018/01/27 00:20:00 UTC

[jira] [Created] (MRESOLVER-41) JDK 9 - Module Auto Naming conflict - maven.resolver.api please repackage the code inside with org.apache.maven.resolver.api

Pratik Parikh created MRESOLVER-41:
--------------------------------------

             Summary: JDK 9 - Module Auto Naming conflict - maven.resolver.api please repackage the code inside with org.apache.maven.resolver.api
                 Key: MRESOLVER-41
                 URL: https://issues.apache.org/jira/browse/MRESOLVER-41
             Project: Maven Resolver
          Issue Type: Bug
          Components: resolver
    Affects Versions: Maven Artifact Resolver 1.1.0, Maven Artifact Resolver 1.2.0 pre-reset, Maven Artifact Resolver 1.1.1
         Environment: JDK 9, JDK 9.1, JDK 10
            Reporter: Pratik Parikh


Include the following in pom.xml.


<dependency>
 <groupId>org.apache.maven.resolver</groupId>
 <artifactId>maven-resolver-api</artifactId>
 <version>1.1.0</version>
</dependency>

add the following requires line in your module-info.java

requires maven-resolver-api

The module won't resolve this is due the fact that internal package name is different then outer one. Ideally both should match.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)