code: public void copyReferencedArtifactsToDeployFolder() {
          File deploy = new File(karafBase, "deploy");
          String[] fileEndings = new String[] { "jar", "war", "zip", "kar", "xml" };
          ProvisionOption<?>[] options = subsystem.getOptions(ProvisionOption.class);
          for (ProvisionOption<?> option : options) {
              try {
                  File target = createUnique(option.getURL(), deploy, fileEndings);
                  FileUtils.copyURLToFile(new URL(option.getURL()), target);
              }
              // CHECKSTYLE:SKIP
              catch (Exception e) {
                  // well, this can happen...
              }
          }
      }
docs: Copy dependencies specified as ProvisionOption in system to the deploy folder