suztomo commented on issue #277: [MNG-6732] - 
DefaultArtifactDescriptorReader.loadPom to check IGNORE_MISSING policy upon 
ArtifactTransferException
URL: https://github.com/apache/maven/pull/277#issuecomment-576735266
 
 
   Memo for myself:
   Invoking the test via IntelliJ did not fail the test somehow. Command-line 
worked:
   
   ```
   suztomo-macbookpro44:maven-integration-testing suztomo$ mvn clean install 
-Prun-its -Dmaven.repo.local=`pwd`/repo 
-DmavenDistro=$HOME/maven/apache-maven/target/apache-maven-3.7.0-SNAPSHOT-bin.zip
 -Dtest=MavenITmng3470StrictCheckumVerificationOfDependencyPomTest 
-DfailIfNoTests=false 
   ...
   [INFO] Running 
org.apache.maven.it.MavenITmng3470StrictCheckumVerificationOfDependencyPomTest
   mng3470StrictCheckumVerificationOfDependencyPom(it).........FAILURE (6.6 s)
   [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
6.746 s <<< FAILURE! - in 
org.apache.maven.it.MavenITmng3470StrictCheckumVerificationOfDependencyPomTest
   [ERROR] 
testit(org.apache.maven.it.MavenITmng3470StrictCheckumVerificationOfDependencyPomTest)
  Time elapsed: 6.641 s  <<< FAILURE!
   junit.framework.AssertionFailedError: Build did not fail despite broken 
checksum of dependency POM.
        at 
org.apache.maven.it.MavenITmng3470StrictCheckumVerificationOfDependencyPomTest.testit(MavenITmng3470StrictCheckumVerificationOfDependencyPomTest.java:63)
   ```
   
   Maybe try `export 
MAVEN_OPTS='-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005'`
 to debug.
   
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to