You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2016/08/23 14:55:21 UTC

[jira] [Updated] (KARAF-4424) referenced features/bundles not installed when dropped in deploy folder

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

Jean-Baptiste Onofré updated KARAF-4424:
----------------------------------------
    Fix Version/s:     (was: 4.0.6)
                   4.0.7

> referenced features/bundles not installed when dropped in deploy folder
> -----------------------------------------------------------------------
>
>                 Key: KARAF-4424
>                 URL: https://issues.apache.org/jira/browse/KARAF-4424
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 4.0.4
>            Reporter: Robert von Burg
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 4.1.0, 4.0.7
>
>
> I have the following features:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <k:features xmlns:k="http://karaf.apache.org/xmlns/features/v1.3.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.3.0 karaf-features-1.3.0.xsd " name="All-features">
> 	<k:repository>mvn:my.group/MyBundle1/0.3.0-SNAPSHOT/xml/features</k:repository>
> 	<k:repository>mvn:my.group/MyBundle2/0.3.0-SNAPSHOT/xml/features</k:repository>
> 	<k:repository>mvn:my.group/MyBundle3/0.3.0-SNAPSHOT/xml/features</k:repository>
> 	<k:feature name="MyBundle1" install="auto" version="0.3.0-SNAPSHOT">
> 		<k:feature dependency="false" prerequisite="false" version="0.3.0-SNAPSHOT">MyBundle1</k:feature>
> 	</k:feature>
> 	<k:feature name="MyBundle2" install="auto" version="0.3.0-SNAPSHOT">
> 		<k:feature dependency="false" prerequisite="false" version="0.3.0-SNAPSHOT">MyBundle2</k:feature>
> 	</k:feature>
> 	<k:feature name="MyBundle3" install="auto" version="0.3.0-SNAPSHOT">
> 		<k:feature dependency="false" prerequisite="false" version="0.3.0-SNAPSHOT">MyBundle3</k:feature>
> 	</k:feature>
> </k:features>
> <?xml version="1.0" encoding="UTF-8"?>
> <k:features xmlns:k="http://karaf.apache.org/xmlns/features/v1.3.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.3.0 karaf-features-1.3.0.xsd " name="MyBundle1-features">
> 	<k:feature name="MyBundle1" install="auto" version="0.3.0-SNAPSHOT">
> 		<k:bundle start="true">mvn:my.group/MyBundle1/0.3.0-SNAPSHOT</k:bundle>
> 	</k:feature>
> </k:features>
> <?xml version="1.0" encoding="UTF-8"?>
> <k:features xmlns:k="http://karaf.apache.org/xmlns/features/v1.3.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.3.0 karaf-features-1.3.0.xsd " name="MyBundle2-features">
> 	<k:feature name="MyBundle2" install="auto" version="0.3.0-SNAPSHOT">
> 		<k:bundle start="true">mvn:my.group/MyBundle2/0.3.0-SNAPSHOT</k:bundle>
> 	</k:feature>
> </k:features>
> <?xml version="1.0" encoding="UTF-8"?>
> <k:features xmlns:k="http://karaf.apache.org/xmlns/features/v1.3.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.3.0 karaf-features-1.3.0.xsd " name="MyBundle3-features">
> 	<k:feature name="MyBundle3" install="auto" version="0.3.0-SNAPSHOT">
> 		<k:bundle start="true">mvn:my.group/MyBundle3/0.3.0-SNAPSHOT</k:bundle>
> 	</k:feature>
> </k:features>
> {code}
> On my local machine when i drop the "all-features", then it installs al the referenced bundles. On my local machine, the bundles were installed using mvn clean install.
> On another machine, where the features are pulled in through a remote archiva repository, it doesn't auto install. It says:
> {noformat}
> Adding features: MyBundle1/[0.3.0.SNAPSHOT,0.3.0.SNAPSHOT]
> No deployment change.
> {noformat}
> When i then do everything by hand:
> {noformat}
> feature:repo-add mvn:my.group/MyBundle1/0.3.0-SNAPSHOT/xml/features
> feature:repo-add mvn:my.group/MyBundle2/0.3.0-SNAPSHOT/xml/features
> feature:repo-add mvn:my.group/MyBundle3/0.3.0-SNAPSHOT/xml/features
> feature:install MyBundle1/0.3.0-SNAPSHOT
> feature:install MyBundle2/0.3.0-SNAPSHOT
> feature:install MyBundle3/0.3.0-SNAPSHOT
> {noformat}
> the features are installed and everything.



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