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

Karaf Maven Plugin should respect scope when building a feature

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 4.0.5
    • None
    • karaf
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: