You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Svatopluk Dedic (Jira)" <ji...@apache.org> on 2021/04/15 19:42:00 UTC

[jira] [Created] (NETBEANS-5587) Gradle project does not show -SNAPSHOT in Configurations

Svatopluk Dedic created NETBEANS-5587:
-----------------------------------------

             Summary: Gradle project does not show -SNAPSHOT in Configurations
                 Key: NETBEANS-5587
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5587
             Project: NetBeans
          Issue Type: Bug
          Components: projects - Gradle
    Affects Versions: 12.3
         Environment: Ubuntu Linux 19.04; Oracle JDK 8.
            Reporter: Svatopluk Dedic
            Assignee: Svatopluk Dedic
         Attachments: nb-compile-classpath.jpg

I am working (for example) with project 
    [git@github.com:micronaut-projects/micronaut-starter.git|mailto:git@github.com:micronaut-projects/micronaut-starter.git] 
 
I open the root one, and the 'starter-core' project. The explorer shows something like this (see nb-compile-classpath.jpg). But the compileClasspath from gradle dependencies seems a little richer: 
 
{code:java}
+--- io.micronaut:micronaut-http -> 2.3.4-SNAPSHOT 
+--- io.micronaut:micronaut-http-client -> 2.3.4-SNAPSHOT 
|    |    +--- io.micronaut:micronaut-http:2.3.4-SNAPSHOT (*) 
|    +--- io.micronaut:micronaut-http-client-core:2.3.4-SNAPSHOT 
|    |         +--- io.micronaut:micronaut-http:2.3.4-SNAPSHOT (*) 
|    +--- io.micronaut:micronaut-http-netty:2.3.4-SNAPSHOT 
|    |    +--- io.micronaut:micronaut-http:2.3.4-SNAPSHOT (*) 
|    +--- io.micronaut:micronaut-http:2.3.4-SNAPSHOT (c) 
|    +--- io.micronaut:micronaut-http-client:2.3.4-SNAPSHOT (c) 
|    +--- io.micronaut:micronaut-http-client-core:2.3.4-SNAPSHOT (c) 
|    +--- io.micronaut:micronaut-http-netty:2.3.4-SNAPSHOT (c) {code}
None of the 'snapshot' dependencies are displayed in the explorer tree (but they are repored in COMPILE ClassPath as roots).I tried to use ModuleDependency from GradleConfiguration to map back JARs to group:artifact:version coordinates, but in this case, the relevant ModuleDependency lists no artifacts.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists