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

Karaf Maven Plugin should respect scope when building a feature

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.0.5
    • Fix Version/s: None
    • Component/s: karaf
    • Labels:
      None

      Description

      I am building a feature without a feature template file. I list my feature content via pom dependencies.
      For example:

          <dependencies>
              <dependency>
                  <groupId>org.apache.geronimo.specs</groupId>
                  <artifactId>geronimo-validation_1.1_spec</artifactId>
                  <scope>compile</scope>
              </dependency>
              <dependency>
                  <groupId>org.apache.geronimo.specs</groupId>
                  <artifactId>geronimo-el_2.2_spec</artifactId>
                  <scope>compile</scope>
              </dependency>
              <dependency>
                  <groupId>commons-collections</groupId>
                  <artifactId>commons-collections</artifactId>
                  <scope>compile</scope>
              </dependency>
              <dependency>
                  <groupId>commons-beanutils</groupId>
                  <artifactId>commons-beanutils</artifactId>
                  <scope>compile</scope>
              </dependency>
              <dependency>
                  <groupId>org.apache.bval</groupId>
                  <artifactId>org.apache.bval.bundle</artifactId>
                  <scope>compile</scope>
              </dependency>
          </dependencies>
      

      The target file is OK except I need to mark somehow whether bundle is dependency or not.
      dependency="true">mvn:org.apache.geronimo.specs/geronimo-validation_1.1_spec</bundle>

      I think maven runtime scope would be nice.

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              ellirael Viktor Kozlov
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: