A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nipafx/demo-jpms-monitor/tree/break-duplicate-modules-even-if-unrequired below:

GitHub - nipafx/demo-jpms-monitor at break-duplicate-modules-even-if-unrequired

↗️ This README only covers one section of the demo. The master branch contains more information.

Here, we create two artifacts claiming to contain monitor.observer.beta and place them into the same folder:

jar --create \
	--file mods/monitor.observer.beta-1.0.jar \
	--module-version 1.0 \
	-C classes/monitor.observer.beta .
jar --create \
	--file mods/monitor.observer.beta-2.0.jar \
	--module-version 2.0 \
	-C classes/monitor.observer.beta .

(Only in compile.sh, not with Maven.)

The next module-related command, compiling monitor.statistics, immediately fails:

error: duplicate module on application module path
  module in monitor.observer.beta
1 error

This happens even though monitor.statistics does not even use the duplicated module.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4