-
Bug
-
Resolution: Done
-
Major
-
7.5.0.GA
-
Documentation (Ref Guide, User Guide, etc.), Release Notes
-
CR1
-
-
-
-
-
-
CR1
-
-
Workaround Exists
-
When building the example optaweb-employee-rostering with only Maven Central and our product offline Maven repository, the build fails because Maven is unable to download the following artifacts:
Could not resolve dependencies for project org.optaweb.employeerostering:employee-rostering-server:jar:7.26.0.Final-redhat-00004: The following artifacts could not be resolved: net.jcip:jcip-annotations:jar:1.0.0.redhat-8, org.jboss.logging:jboss-logging:jar:3.3.2.Final-redhat-00001: Could not find artifact net.jcip:jcip-annotations:jar:1.0.0.redhat-8 in bxms-product-repo
Maven dependency tree reveals that the missing artifacts are pulled in by org.jboss.resteasy:resteasy-jaxrs with the scope test. Since test dependencies are not meant to be included in the product offline Maven repository, the fact that they are missing makes sense.
The question is, which requirement has higher priority in this case, having runtime-only Maven repository ZIP, vs. being able to build the example with the offline Maven repository.