sdedic opened a new pull request, #4149:
URL: https://github.com/apache/netbeans/pull/4149

   We have API to get inter-**project** dependencies, but we do not have an API 
to get a view on dependencies incl. external resources. There's a possibility 
to get a ClassPath (for Java) enumerating all necessary resources as a flat 
list, but if one would like to get structure information ... there's probably 
no way.
   
   This PR is an attempt to define some abstractions, which could eventually 
become part of `project.api`. They probably won't fit to good old ANT projects 
(but if someone finds a suitable adjustment that would make `ArtifactSpec` more 
Ant-like, please share your thoughts !!), but for example NetBeans modules 
(although ant-based) could make it.
   
   The initial goal is to provide a structured view, a dependency tree, such as 
`maven dependency:tree` or `gradle dependencies`. The project may start to 
report its product (artifact, or artifacts ?) and later a project-type-neutral 
way can be offered to map a resource (e.g. jar) to an artifact known to a 
project. All this is TBD.
   
   The API is initially implemented as private; `implementation dependency` is 
reuquired to use/implement it. This will change after the constructs are 
validated on more project types.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to