[ 
https://issues.apache.org/jira/browse/MNG-7924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17784435#comment-17784435
 ] 

ASF GitHub Bot commented on MNG-7924:
-------------------------------------

cstamas commented on PR #1299:
URL: https://github.com/apache/maven/pull/1299#issuecomment-1803773056

   And a counter example: consider maven-resolver artifacts (!):
   * uses plain packaging "jar", but
   * the produced JARs have Sisu index (Sisu DI, JSR330)
   * the produced JARs have OSGi header (OSGi)
   * the produced JARs have "Automatic-Module-Name" header (JPMS)
   
   It is up to "consumer" how he consumes these things, which (orthogonal) way 
he makes use of resolver:
   * on classpath as plain JAR (using RepositorySystemSupplier)
   * on classpath with Sisu DI (as in Maven)
   * in OSGi container as bundles
   * in JPMS app (unsure is it possible, but "metadata" is there)
   
   So type is about "consuming", and consumed thing does NOT need to be 
rebuilt, to consume it as this or that.




> Better control over and better integration with Resolver
> --------------------------------------------------------
>
>                 Key: MNG-7924
>                 URL: https://issues.apache.org/jira/browse/MNG-7924
>             Project: Maven
>          Issue Type: Task
>          Components: Artifacts and Repositories
>            Reporter: Tamas Cservenak
>            Priority: Major
>             Fix For: 4.0.0-alpha-9
>
>
> Integrate better and obtain better control over Resolver. These changes did 
> stem from "[JPMS module 
> experiment|https://cwiki.apache.org/confluence/display/MAVEN/Experiment+-+Explicit+JPMS+support]";
>  and are considered improvement but *does not implement any functionality* 
> related to JPMS module support.
> Changes:
> * Maven4 should stop "disconnected coexistence" of two type systems 
> (ArtifactHandlers and Resolver ArtifactTypeRegistry), it should unify them.
> * Maven4 Core should provide generic and extensible means to introduce new 
> artifact types (fully in extension, and extension should get extended data 
> via "roundtrip" in core/resolver)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to