[ 
https://issues.apache.org/jira/browse/KARAF-3589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14354506#comment-14354506
 ] 

Guillaume Nodet edited comment on KARAF-3589 at 3/10/15 8:14 AM:
-----------------------------------------------------------------

Actually, the karaf 4.x generates a correct syntax for itself.  The syntax of 
the bootFeatures in Karaf 4.x has changed to align with the one of the command 
line.


was (Author: gnt):
Actually, the karaf 4.x generates a correct syntax for itself.  For some 
reason, it's not the same syntax than the 3.x one, but what is generated can be 
correctly started.  I'll fix the syntax in 4.x asap.

> karaf-maven-plugin doesn't allow specifying a version for a boot feature in 
> etc/org.apache.karaf.features.cfg
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-3589
>                 URL: https://issues.apache.org/jira/browse/KARAF-3589
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 3.0.3, 4.0.0.M2
>         Environment: Ubuntu , Oracle JDK 1.7, Maven 3.0.4
>            Reporter: Mariusz Dubielecki
>
> It is not possible to generate org.apache.karaf.features.cfg configuration 
> file with feature version like:
> {noformat}
> #
> # Comma separated list of features to install at startup
> #
> featuresBoot = hibernate;version=4.2.15.Final
> {noformat}
> e.g.
> {code:xml}
> <plugin>
>       <groupId>org.apache.karaf.tooling</groupId>
>       <artifactId>karaf-maven-plugin</artifactId>
>       <version>3.0.3</version>
>       <extensions>true</extensions>
>       <configuration>
>               <bootFeatures>
>                       <feature>hibernate/4.2.15.Final</feature>
>               </bootFeatures>
>       </configuration>
> </plugin>
> {code}
> generate configuration file without version: featuresBoot = hibernate and 
> plugin version 4.0.0.M2 generate wrong version format like: featuresBoot = 
> hibernate/4.2.15.Final



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to