You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We use the Maven enforcer plugin to check our dependencies, of which ical4j is one.
With the update to 4.0.1 the enforcer plugin failed with the following message. It seems like ical4j itself is packaging duplicate classes.
This issue did not exist in 4.0.0, so it seems like it was introduced in 4.0.1.
To Reproduce
Steps to reproduce the behavior:
I added a simplified maven pom.xml down below
Create a maven project with ical4j and use the enforcer plugin
Run mvn enforcer:enforce
See error
When building the 4.0.1 tag of ical4j with ./gradlew clean build -x test, I see gradle is throwing the following warnings, which are not present in 4.0.0.
Encountered duplicate path "net/fortuna/ical4j/data/CalendarBuilder.class" during copy operation configured with DuplicatesStrategy.WARN
Encountered duplicate path "net/fortuna/ical4j/data/CalendarParser.class" during copy operation configured with DuplicatesStrategy.WARN
Encountered duplicate path "net/fortuna/ical4j/data/CalendarParserFactory.class" during copy operation configured with DuplicatesStrategy.WARN
Encountered duplicate path "net/fortuna/ical4j/data/CalendarParserImpl$ComponentListParser.class" during copy operation configured with DuplicatesStrategy.WARN
Encountered duplicate path "net/fortuna/ical4j/data/CalendarParserImpl$ComponentParser.class" during copy operation configured with DuplicatesStrategy.WARN
Expected behavior
I would expect ical4j to not package duplicate classes.
Environment (please complete the following information):
OS: Linux
Java Version: 17
iCal4j Version: 4.0.1
Additional context
Apparently the duplicates are perfect copies, because when the ignoreWhenIdentical option is enabled, it works.
Describe the bug
We use the Maven enforcer plugin to check our dependencies, of which ical4j is one.
With the update to 4.0.1 the enforcer plugin failed with the following message. It seems like ical4j itself is packaging duplicate classes.
This issue did not exist in 4.0.0, so it seems like it was introduced in 4.0.1.
To Reproduce
Steps to reproduce the behavior:
I added a simplified maven
pom.xml
down belowmvn enforcer:enforce
When building the 4.0.1 tag of ical4j with
./gradlew clean build -x test
, I see gradle is throwing the following warnings, which are not present in 4.0.0.Expected behavior
I would expect ical4j to not package duplicate classes.
Environment (please complete the following information):
Additional context
Apparently the duplicates are perfect copies, because when the
ignoreWhenIdentical
option is enabled, it works.The text was updated successfully, but these errors were encountered: