Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4187

Make karaf-maven-plugin @threadSafe

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.5
    • Fix Version/s: 4.1.0, 3.0.6, 4.0.5
    • Component/s: karaf
    • Labels:
      None

      Description

      I am using the karaf-maven-plugin to generate feature.xml files.
      When I build a maven project in parallel with for example mvn clean install -T4, I get the warning that the plugin is not marked as "@threadSafe".

      Example output:

      [WARNING] *****************************************************************
      [WARNING] * Your build is requesting parallel execution, but project      *
      [WARNING] * contains the following plugin(s) that are not marked as       *
      [WARNING] * @threadSafe to support parallel building.                     *
      [WARNING] * While this /may/ work fine, please look for plugin updates    *
      [WARNING] * and/or request plugins be made thread-safe.                   *
      [WARNING] * If reporting an issue, report it against the plugin in        *
      [WARNING] * question, not against maven-core                              *
      [WARNING] *****************************************************************
      [WARNING] The following plugins are not marked @threadSafe in my-bundle-name:
      [WARNING] org.apache.karaf.tooling:karaf-maven-plugin:3.0.5
      [WARNING] *****************************************************************
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbonofre Jean-Baptiste Onofré
                Reporter:
                arnefranken Arne Franken
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: