Task #1908
closed
Wrong dependency scope for core-test-impl
Added by Peter Štrunc about 5 years ago.
Updated about 5 years ago.
Description
There is compile scope defined for core-test-impl library in extras module, which makes it incopatible with other modules. Goal of this ticket is to change it to test scope.
- Status changed from New to Needs feedback
- Assignee changed from Peter Štrunc to Ondřej Kopr
- % Done changed from 0 to 70
Fix is pushed in develop. Can you please do the review?
- Status changed from Needs feedback to Resolved
- Assignee changed from Ondřej Kopr to Peter Štrunc
- Target version changed from 1.2.0 to 1.2.1
- % Done changed from 70 to 100
Thank you! Application starts correctly.
Commit: https://github.com/bcvsolutions/czechidm-extras/commit/732cd0119fc5a7e952fd905d454a84be69646af5
This issues can throw for example this error:
Reported exception:
java.lang.NoSuchMethodError: ch.qos.logback.core.util.Loader.getResourceOccurrenceCount(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/Set;
at ch.qos.logback.classic.util.ContextInitializer.multiplicityWarning(ContextInitializer.java:173)
at ch.qos.logback.classic.util.ContextInitializer.statusOnResourceSearch(ContextInitializer.java:196)
After build in war mustn't be this dependencies:
AppleJavaExtensions-1.4.jar
asm-1.0.2.jar
asm-3.3.1.jar
commons-cli-1.2.jar
fakesmtp-2.0.jar
hamcrest-library-1.3.jar
idm-core-test-api-9.7.10.jar
javax.servlet-api-3.1.0.jar
json-path-2.0.0.jar
json-smart-2.1.1.jar
mail-1.4.4.jar
miglayout-core-5.0.jar
miglayout-swing-5.0.jar
mockito-core-1.10.19.jar
objenesis-2.1.jar
postgresql-9.4.1211.jre7.jar
spring-boot-starter-test-1.3.8.RELEASE.jar
spring-restdocs-core-1.0.2.RELEASE.jar
spring-restdocs-mockmvc-1.0.2.RELEASE.jar
spring-security-test-4.0.4.RELEASE.jar
spring-test-4.2.8.RELEASE.jar
sqljdbc4-4.0.jar
subethasmtp-3.1.7.jar
Affected version: 1.2.0
Thanks for fix this issue. Now is possible release this version.
- Status changed from Resolved to Closed
Also available in: Atom
PDF