karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Anstey (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-1182) Karaf features-maven-plugin always selects lowest version in range
Date Fri, 03 Feb 2012 20:27:53 GMT

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

Jonathan Anstey updated KARAF-1182:
-----------------------------------

    Attachment: KARAF-1182.patch

Patch to fix the issue on karaf-2.2.x branch.
                
> Karaf features-maven-plugin always selects lowest version in range
> ------------------------------------------------------------------
>
>                 Key: KARAF-1182
>                 URL: https://issues.apache.org/jira/browse/KARAF-1182
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.5
>            Reporter: Jonathan Anstey
>         Attachments: KARAF-1182.patch
>
>
> For example, the following plugin config
> <plugin>
> <groupId>org.apache.karaf.tooling</groupId>
> <artifactId>features-maven-plugin</artifactId>
> <version>2.2.5</version>
> <executions>
> <execution>
> <id>add-features-to-repo</id>
> <phase>generate-resources</phase>
> <goals>
> <goal>add-features-to-repo</goal>
> </goals>
> <configuration>
> <descriptors>
> <descriptor>mvn:org.apache.camel.karaf/apache-camel/2.9.0/xml/features</descriptor>
> </descriptors>
> <features>
> <feature>camel-spring</feature>
> </features>
> <includeMvnBasedDescriptors>true</includeMvnBasedDescriptors>
> <repository>target/features-repo</repository>
> </configuration>
> </execution>
> </executions>
> </plugin>
> Will download org/springframework/spring-core/2.5.6.SEC02/spring-core-2.5.6.SEC02.jar
rather than spring 3.0.6 that is preferred. The plugin from Karaf 2.2.4 doesn't have this
issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message