jbonofre opened a new pull request, #3059:
URL: https://github.com/apache/karaf/pull/3059

   CI on `main` is currently broken for every PR: the `build` job fails on all 
platforms with
   
   ```
   Failed to execute goal on project tests: Could not resolve dependencies for 
project org.apache.karaf.itests:tests:jar:4.5.0-SNAPSHOT
   dependency: 
org.apache.karaf.examples:karaf-jpa-example-provider-api:jar:4.5.0-SNAPSHOT 
(compile)
     Could not find artifact ... in apache-snapshots 
(https://repository.apache.org/content/groups/snapshots-group)
   ```
   
   The JPA example was removed from the build in #2476, but 
`itests/test/pom.xml` still declared `karaf-jpa-example-provider-api`. Since 
nothing in the reactor builds it anymore, it was only resolved from an old 
`4.5.0-SNAPSHOT` left on the Apache snapshots repository. That snapshot has now 
been purged, so dependency resolution fails (the last green `main` build ran on 
the same commit, 5b2374351a).
   
   The artifact is not used by any integration test, so this PR simply removes 
the dependency.
   
   Verified locally:
   - `mvn dependency:tree -pl itests/test` no longer contains the artifact (not 
pulled transitively either)
   - `mvn -pl itests/test test-compile` succeeds
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to