Project

General

Profile

Bug #20410

Updated by François ARMAND almost 3 years ago

It fails if there is no corresponding "test-jar" for @rudder-core@ already published in repo, ie for snapshots for example. 

 Error:  

 <pre> 
 [ERROR] Failed to execute goal on project rudder-rest: Could not resolve dependencies for project com.normation.rudder:rudder-rest:jar:6.1.18-SNAPSHOT: Could not find artifact com.normation.rudder:rudder-core:jar:tests:6.1.18-SNAPSHOT in normation-snapshot (https://nexus.normation.com/nexus/content/repositories/snapshots) 
 </pre> 

 This is known from prehistory, and marked as a "won't fix": https://issues.apache.org/jira/browse/MNG-4192 

 But we can try to avoid it:  
 Like that, but it's horrible: 
 https://stackoverflow.com/questions/7985442/skipping-maven-test-dependency 

 But perhaps like that: 
 https://stackoverflow.com/questions/1725476/maven-test-dependency-in-multi-module-project 

 It also need to avoid skipping fake test jar:  
 https://issues.apache.org/jira/browse/MJAR-138

Back