Hello everybody!
*Breifly:*
One of company projects have met old problem when Maven resolve test-jar
dependency (scope - test), even tests was skipped (include compilation).
Do you have any information about this issue? May be some bypass route
exists?
*All:*
One of projects have module A and module B.
Module B depends on test-jar of module A and have dependency:
|<dependency>
<groupId>com.cc</groupId>
<artifactId>Module A</artifactId>
<version>${mx.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>|
When tests are skipped, build failed with dependency resolution.
We use to skip tests /-Dmaven.test.skip=true/. I try to use
/<skip>true</skip>/ in surefire configuration, it doesn't help.
May be you know some ways to solve this problem?
Best regards,
Aleksey Didik.