karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Grzybek (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-4537) Karaf Maven Plugin should respect scope when building a feature
Date Tue, 07 Nov 2017 11:35:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-4537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Grzegorz Grzybek updated KARAF-4537:
------------------------------------
    Description: 
I am building a feature without a feature template file. I list my feature content via pom
dependencies.
For example:
{code:xml}
    <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>
{code}

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.

  was:
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.


> Karaf Maven Plugin should respect scope when building a feature
> ---------------------------------------------------------------
>
>                 Key: KARAF-4537
>                 URL: https://issues.apache.org/jira/browse/KARAF-4537
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-tooling
>    Affects Versions: 4.0.5
>            Reporter: Viktor Kozlov
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.1.4
>
>
> I am building a feature without a feature template file. I list my feature content via
pom dependencies.
> For example:
> {code:xml}
>     <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>
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message