kuzyyn opened a new issue, #12568:
URL: https://github.com/apache/druid/issues/12568

   druid-processing and druid-core modules has the same package names. When I 
want to create java application with modules, and include druid-processing as 
dependency, both druid-core and druid-processing is converted to automatic 
modules (standard java 9 mechanism) so they can be used by any named module. 
Duplicating package names is forbidden when we want to use java modules.
   
   From https://jenkov.com/tutorials/java/modules.html :
   "The rule about not allowing split packages also counts for automatic 
modules. If multiple JAR files contain (and thus exports) the same Java 
package, then only one of these JAR files can be used as an automatic module. "
   
   List of duplicated package names:
   org.apache.druid.collections
   org.apache.druid.jackson
   org.apache.druid.query
   org.apache.druid.segmen
   org.apache.druid.segment.column
   org.apache.druid.segment.loading
   org.apache.druid.guice
   org.apache.druid.guice.annotations
   
   For me the easiest solution would be just to rename all packages in 
druid-core with to sth like org.apache.druid.core.*
   


-- 
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]

Reply via email to