[jira] [Commented] (KARAF-4655) karaf-maven-plugin add-features-to-repo goal can't add Camel feature

2017-08-07 Thread Igor Lazebny (JIRA)

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

Igor Lazebny commented on KARAF-4655:
-

It works in 4.1.3-SNAPSHOT also

> karaf-maven-plugin add-features-to-repo goal can't add Camel feature
> 
>
> Key: KARAF-4655
> URL: https://issues.apache.org/jira/browse/KARAF-4655
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-tooling
>Affects Versions: 4.0.5, 4.0.6
>Reporter: Igor Lazebny
>Assignee: Christian Schneider
> Fix For: 4.2.0, 4.1.3
>
> Attachments: pom.xml
>
>
> camel-restlet 2.17.3 feature contains bundle reference like this:
> {{ dependency="true">mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6}}
> add-features-to-repo can't interpret it correctly trying to connect to 
> "id=restlet" host:
> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:karaf-maven-plugin:4.0.6-SNAPSHOT:features-add-to-repository
>  (add-features-to-repo) on project karaf-maven-plugin-test: Error populating 
> repository: Error resolving feature camel-restlet/2.17.3: Error resolving 
> artifact 
> mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6: 
> Can't resolve artifact org.restlet.osgi:org.restlet:jar:2.3.6: Could not 
> transfer artifact org.restlet.osgi:org.restlet:jar:2.3.6 from/to 
> http://maven.restlet.org@id=restlet (http://id=restlet): id=restlet: unknown 
> error
> [ERROR] org.restlet.osgi:org.restlet:jar:2.3.6
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] http://maven.restlet.org@id=restlet (http://id=restlet, 
> releases=true, snapshots=true): Unknown host id=restlet: unknown error



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


[jira] [Commented] (KARAF-4655) karaf-maven-plugin add-features-to-repo goal can't add Camel feature

2017-08-07 Thread Igor Lazebny (JIRA)

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

Igor Lazebny commented on KARAF-4655:
-

Tested with 4.2.0-SNAPSHOT - it works for me

> karaf-maven-plugin add-features-to-repo goal can't add Camel feature
> 
>
> Key: KARAF-4655
> URL: https://issues.apache.org/jira/browse/KARAF-4655
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-tooling
>Affects Versions: 4.0.5, 4.0.6
>Reporter: Igor Lazebny
>Assignee: Christian Schneider
> Fix For: 4.2.0, 4.1.3
>
> Attachments: pom.xml
>
>
> camel-restlet 2.17.3 feature contains bundle reference like this:
> {{ dependency="true">mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6}}
> add-features-to-repo can't interpret it correctly trying to connect to 
> "id=restlet" host:
> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:karaf-maven-plugin:4.0.6-SNAPSHOT:features-add-to-repository
>  (add-features-to-repo) on project karaf-maven-plugin-test: Error populating 
> repository: Error resolving feature camel-restlet/2.17.3: Error resolving 
> artifact 
> mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6: 
> Can't resolve artifact org.restlet.osgi:org.restlet:jar:2.3.6: Could not 
> transfer artifact org.restlet.osgi:org.restlet:jar:2.3.6 from/to 
> http://maven.restlet.org@id=restlet (http://id=restlet): id=restlet: unknown 
> error
> [ERROR] org.restlet.osgi:org.restlet:jar:2.3.6
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] http://maven.restlet.org@id=restlet (http://id=restlet, 
> releases=true, snapshots=true): Unknown host id=restlet: unknown error



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


[jira] [Resolved] (KARAF-5293) Upgrade to Apache POM 18

2017-08-07 Thread JIRA

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

Jean-Baptiste Onofré resolved KARAF-5293.
-
Resolution: Fixed

> Upgrade to Apache POM 18
> 
>
> Key: KARAF-5293
> URL: https://issues.apache.org/jira/browse/KARAF-5293
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: cave-server, cellar-core, decanter, karaf-core
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
> Fix For: 4.2.0, 4.1.2, 4.0.10
>
>




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


[jira] [Commented] (KARAF-5293) Upgrade to Apache POM 18

2017-08-07 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on KARAF-5293:


Commit cdb905c0a098eb42d0e04aa682e19bd7b01cb2ff in karaf's branch 
refs/heads/karaf-4.0.x from [~jbonofre]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=cdb905c ]

[KARAF-5293] Upgrade to Apache POM 18


> Upgrade to Apache POM 18
> 
>
> Key: KARAF-5293
> URL: https://issues.apache.org/jira/browse/KARAF-5293
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: cave-server, cellar-core, decanter, karaf-core
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
> Fix For: 4.2.0, 4.1.2, 4.0.10
>
>




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


[jira] [Commented] (KARAF-5293) Upgrade to Apache POM 18

2017-08-07 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on KARAF-5293:


Commit f696483c55dd560fb29f37c745f4f8171e23c3fb in karaf's branch 
refs/heads/karaf-4.1.x from [~jbonofre]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=f696483 ]

[KARAF-5293] Upgrade to Apache POM 18


> Upgrade to Apache POM 18
> 
>
> Key: KARAF-5293
> URL: https://issues.apache.org/jira/browse/KARAF-5293
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: cave-server, cellar-core, decanter, karaf-core
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
> Fix For: 4.2.0, 4.1.2, 4.0.10
>
>




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


[jira] [Commented] (KARAF-5293) Upgrade to Apache POM 18

2017-08-07 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on KARAF-5293:


Commit 665fbae285eaf0737f207cf73c6e244bd074861e in karaf's branch 
refs/heads/master from [~jbonofre]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=665fbae ]

[KARAF-5293] Upgrade to Apache POM 18


> Upgrade to Apache POM 18
> 
>
> Key: KARAF-5293
> URL: https://issues.apache.org/jira/browse/KARAF-5293
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: cave-server, cellar-core, decanter, karaf-core
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
> Fix For: 4.2.0, 4.1.2, 4.0.10
>
>




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


[jira] [Resolved] (KARAF-4655) karaf-maven-plugin add-features-to-repo goal can't add Camel feature

2017-08-07 Thread Christian Schneider (JIRA)

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

Christian Schneider resolved KARAF-4655.

Resolution: Fixed

I found and fixed the issue. Can you retest with master or karaf-4.1.x?

> karaf-maven-plugin add-features-to-repo goal can't add Camel feature
> 
>
> Key: KARAF-4655
> URL: https://issues.apache.org/jira/browse/KARAF-4655
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-tooling
>Affects Versions: 4.0.5, 4.0.6
>Reporter: Igor Lazebny
>Assignee: Christian Schneider
> Fix For: 4.2.0, 4.1.3
>
> Attachments: pom.xml
>
>
> camel-restlet 2.17.3 feature contains bundle reference like this:
> {{ dependency="true">mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6}}
> add-features-to-repo can't interpret it correctly trying to connect to 
> "id=restlet" host:
> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:karaf-maven-plugin:4.0.6-SNAPSHOT:features-add-to-repository
>  (add-features-to-repo) on project karaf-maven-plugin-test: Error populating 
> repository: Error resolving feature camel-restlet/2.17.3: Error resolving 
> artifact 
> mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6: 
> Can't resolve artifact org.restlet.osgi:org.restlet:jar:2.3.6: Could not 
> transfer artifact org.restlet.osgi:org.restlet:jar:2.3.6 from/to 
> http://maven.restlet.org@id=restlet (http://id=restlet): id=restlet: unknown 
> error
> [ERROR] org.restlet.osgi:org.restlet:jar:2.3.6
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] http://maven.restlet.org@id=restlet (http://id=restlet, 
> releases=true, snapshots=true): Unknown host id=restlet: unknown error



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


[jira] [Commented] (KARAF-4655) karaf-maven-plugin add-features-to-repo goal can't add Camel feature

2017-08-07 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on KARAF-4655:


Commit 31ef182ee8bc6235ca6acc4154083e868cec72e8 in karaf's branch 
refs/heads/karaf-4.1.x from [~ch...@die-schneider.net]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=31ef182 ]

[KARAF-4655] Fix handling of mvn urls with repositories and parameters


> karaf-maven-plugin add-features-to-repo goal can't add Camel feature
> 
>
> Key: KARAF-4655
> URL: https://issues.apache.org/jira/browse/KARAF-4655
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-tooling
>Affects Versions: 4.0.5, 4.0.6
>Reporter: Igor Lazebny
>Assignee: Christian Schneider
> Fix For: 4.2.0, 4.1.3
>
> Attachments: pom.xml
>
>
> camel-restlet 2.17.3 feature contains bundle reference like this:
> {{ dependency="true">mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6}}
> add-features-to-repo can't interpret it correctly trying to connect to 
> "id=restlet" host:
> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:karaf-maven-plugin:4.0.6-SNAPSHOT:features-add-to-repository
>  (add-features-to-repo) on project karaf-maven-plugin-test: Error populating 
> repository: Error resolving feature camel-restlet/2.17.3: Error resolving 
> artifact 
> mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6: 
> Can't resolve artifact org.restlet.osgi:org.restlet:jar:2.3.6: Could not 
> transfer artifact org.restlet.osgi:org.restlet:jar:2.3.6 from/to 
> http://maven.restlet.org@id=restlet (http://id=restlet): id=restlet: unknown 
> error
> [ERROR] org.restlet.osgi:org.restlet:jar:2.3.6
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] http://maven.restlet.org@id=restlet (http://id=restlet, 
> releases=true, snapshots=true): Unknown host id=restlet: unknown error



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


[jira] [Commented] (KARAF-4655) karaf-maven-plugin add-features-to-repo goal can't add Camel feature

2017-08-07 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on KARAF-4655:


Commit 3348f54b4e0a521260b73a5c8fd591ba4b1a7494 in karaf's branch 
refs/heads/master from [~ch...@die-schneider.net]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=3348f54 ]

[KARAF-4655] Fix handling of mvn urls with repositories and parameters


> karaf-maven-plugin add-features-to-repo goal can't add Camel feature
> 
>
> Key: KARAF-4655
> URL: https://issues.apache.org/jira/browse/KARAF-4655
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-tooling
>Affects Versions: 4.0.5, 4.0.6
>Reporter: Igor Lazebny
>Assignee: Christian Schneider
> Fix For: 4.2.0, 4.1.3
>
> Attachments: pom.xml
>
>
> camel-restlet 2.17.3 feature contains bundle reference like this:
> {{ dependency="true">mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6}}
> add-features-to-repo can't interpret it correctly trying to connect to 
> "id=restlet" host:
> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:karaf-maven-plugin:4.0.6-SNAPSHOT:features-add-to-repository
>  (add-features-to-repo) on project karaf-maven-plugin-test: Error populating 
> repository: Error resolving feature camel-restlet/2.17.3: Error resolving 
> artifact 
> mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6: 
> Can't resolve artifact org.restlet.osgi:org.restlet:jar:2.3.6: Could not 
> transfer artifact org.restlet.osgi:org.restlet:jar:2.3.6 from/to 
> http://maven.restlet.org@id=restlet (http://id=restlet): id=restlet: unknown 
> error
> [ERROR] org.restlet.osgi:org.restlet:jar:2.3.6
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] http://maven.restlet.org@id=restlet (http://id=restlet, 
> releases=true, snapshots=true): Unknown host id=restlet: unknown error



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


[jira] [Created] (KARAF-5294) Cleanup Maven repository

2017-08-07 Thread JIRA
Jean-Baptiste Onofré created KARAF-5294:
---

 Summary: Cleanup Maven repository
 Key: KARAF-5294
 URL: https://issues.apache.org/jira/browse/KARAF-5294
 Project: Karaf
  Issue Type: Improvement
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré


Karaf still refers to SMX m2-repo. However, I think we don't use it anymore. I 
gonna check and eventually cleanup.



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


[jira] [Created] (KARAF-5293) Upgrade to Apache POM 18

2017-08-07 Thread JIRA
Jean-Baptiste Onofré created KARAF-5293:
---

 Summary: Upgrade to Apache POM 18
 Key: KARAF-5293
 URL: https://issues.apache.org/jira/browse/KARAF-5293
 Project: Karaf
  Issue Type: Dependency upgrade
  Components: cave-server, cellar-core, decanter, karaf-core
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
 Fix For: 4.2.0, 4.1.2, 4.0.10






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


[jira] [Commented] (KARAF-4655) karaf-maven-plugin add-features-to-repo goal can't add Camel feature

2017-08-07 Thread Christian Schneider (JIRA)

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

Christian Schneider commented on KARAF-4655:


Removing restlet did the trick. Now I can finally reproduce the error:
I see this line:
Downloading: 
http://id=restlet/org/restlet/osgi/org.restlet/2.3.6/org.restlet-2.3.6.jar

So this clearly is wrong. I will debug into it.

> karaf-maven-plugin add-features-to-repo goal can't add Camel feature
> 
>
> Key: KARAF-4655
> URL: https://issues.apache.org/jira/browse/KARAF-4655
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-tooling
>Affects Versions: 4.0.5, 4.0.6
>Reporter: Igor Lazebny
>Assignee: Christian Schneider
> Fix For: 4.2.0, 4.1.3
>
> Attachments: pom.xml
>
>
> camel-restlet 2.17.3 feature contains bundle reference like this:
> {{ dependency="true">mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6}}
> add-features-to-repo can't interpret it correctly trying to connect to 
> "id=restlet" host:
> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:karaf-maven-plugin:4.0.6-SNAPSHOT:features-add-to-repository
>  (add-features-to-repo) on project karaf-maven-plugin-test: Error populating 
> repository: Error resolving feature camel-restlet/2.17.3: Error resolving 
> artifact 
> mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6: 
> Can't resolve artifact org.restlet.osgi:org.restlet:jar:2.3.6: Could not 
> transfer artifact org.restlet.osgi:org.restlet:jar:2.3.6 from/to 
> http://maven.restlet.org@id=restlet (http://id=restlet): id=restlet: unknown 
> error
> [ERROR] org.restlet.osgi:org.restlet:jar:2.3.6
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] http://maven.restlet.org@id=restlet (http://id=restlet, 
> releases=true, snapshots=true): Unknown host id=restlet: unknown error



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


[jira] [Updated] (KARAF-4655) karaf-maven-plugin add-features-to-repo goal can't add Camel feature

2017-08-07 Thread Christian Schneider (JIRA)

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

Christian Schneider updated KARAF-4655:
---
Fix Version/s: (was: 4.1.2)
   4.1.3

> karaf-maven-plugin add-features-to-repo goal can't add Camel feature
> 
>
> Key: KARAF-4655
> URL: https://issues.apache.org/jira/browse/KARAF-4655
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-tooling
>Affects Versions: 4.0.5, 4.0.6
>Reporter: Igor Lazebny
>Assignee: Christian Schneider
> Fix For: 4.2.0, 4.1.3
>
> Attachments: pom.xml
>
>
> camel-restlet 2.17.3 feature contains bundle reference like this:
> {{ dependency="true">mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6}}
> add-features-to-repo can't interpret it correctly trying to connect to 
> "id=restlet" host:
> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:karaf-maven-plugin:4.0.6-SNAPSHOT:features-add-to-repository
>  (add-features-to-repo) on project karaf-maven-plugin-test: Error populating 
> repository: Error resolving feature camel-restlet/2.17.3: Error resolving 
> artifact 
> mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6: 
> Can't resolve artifact org.restlet.osgi:org.restlet:jar:2.3.6: Could not 
> transfer artifact org.restlet.osgi:org.restlet:jar:2.3.6 from/to 
> http://maven.restlet.org@id=restlet (http://id=restlet): id=restlet: unknown 
> error
> [ERROR] org.restlet.osgi:org.restlet:jar:2.3.6
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] http://maven.restlet.org@id=restlet (http://id=restlet, 
> releases=true, snapshots=true): Unknown host id=restlet: unknown error



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


[jira] [Reopened] (KARAF-4655) karaf-maven-plugin add-features-to-repo goal can't add Camel feature

2017-08-07 Thread Igor Lazebny (JIRA)

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

Igor Lazebny reopened KARAF-4655:
-

> karaf-maven-plugin add-features-to-repo goal can't add Camel feature
> 
>
> Key: KARAF-4655
> URL: https://issues.apache.org/jira/browse/KARAF-4655
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-tooling
>Affects Versions: 4.0.5, 4.0.6
>Reporter: Igor Lazebny
>Assignee: Christian Schneider
> Fix For: 4.2.0, 4.1.2
>
> Attachments: pom.xml
>
>
> camel-restlet 2.17.3 feature contains bundle reference like this:
> {{ dependency="true">mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6}}
> add-features-to-repo can't interpret it correctly trying to connect to 
> "id=restlet" host:
> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:karaf-maven-plugin:4.0.6-SNAPSHOT:features-add-to-repository
>  (add-features-to-repo) on project karaf-maven-plugin-test: Error populating 
> repository: Error resolving feature camel-restlet/2.17.3: Error resolving 
> artifact 
> mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6: 
> Can't resolve artifact org.restlet.osgi:org.restlet:jar:2.3.6: Could not 
> transfer artifact org.restlet.osgi:org.restlet:jar:2.3.6 from/to 
> http://maven.restlet.org@id=restlet (http://id=restlet): id=restlet: unknown 
> error
> [ERROR] org.restlet.osgi:org.restlet:jar:2.3.6
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] http://maven.restlet.org@id=restlet (http://id=restlet, 
> releases=true, snapshots=true): Unknown host id=restlet: unknown error



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


[jira] [Commented] (KARAF-4655) karaf-maven-plugin add-features-to-repo goal can't add Camel feature

2017-08-07 Thread Igor Lazebny (JIRA)

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

Igor Lazebny commented on KARAF-4655:
-

It's reproducible for me still with attached pom.xml and same Karaf versions 
(4.0.5, 4.0.6, 4.0.9, 4.1.1). I have tried different maven version (3.2.5 and 
3.3.9), and also have tried on Windows platform, with same result. It still 
tries to make this:
{{Downloading: 
http://id=restlet/org/restlet/osgi/org.restlet/2.3.6/org.restlet-2.3.6.jar}}
could you please try to remove 
{{org/restlet/osgi/org.restlet/2.3.6/org.restlet-2.3.6.jar}} from local maven 
repo?

> karaf-maven-plugin add-features-to-repo goal can't add Camel feature
> 
>
> Key: KARAF-4655
> URL: https://issues.apache.org/jira/browse/KARAF-4655
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-tooling
>Affects Versions: 4.0.5, 4.0.6
>Reporter: Igor Lazebny
>Assignee: Christian Schneider
> Fix For: 4.2.0, 4.1.2
>
> Attachments: pom.xml
>
>
> camel-restlet 2.17.3 feature contains bundle reference like this:
> {{ dependency="true">mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6}}
> add-features-to-repo can't interpret it correctly trying to connect to 
> "id=restlet" host:
> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:karaf-maven-plugin:4.0.6-SNAPSHOT:features-add-to-repository
>  (add-features-to-repo) on project karaf-maven-plugin-test: Error populating 
> repository: Error resolving feature camel-restlet/2.17.3: Error resolving 
> artifact 
> mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6: 
> Can't resolve artifact org.restlet.osgi:org.restlet:jar:2.3.6: Could not 
> transfer artifact org.restlet.osgi:org.restlet:jar:2.3.6 from/to 
> http://maven.restlet.org@id=restlet (http://id=restlet): id=restlet: unknown 
> error
> [ERROR] org.restlet.osgi:org.restlet:jar:2.3.6
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] http://maven.restlet.org@id=restlet (http://id=restlet, 
> releases=true, snapshots=true): Unknown host id=restlet: unknown error



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


[jira] [Resolved] (KARAF-4529) deployment of feature containing bundles with camel blueprint routes fail

2017-08-07 Thread Christian Schneider (JIRA)

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

Christian Schneider resolved KARAF-4529.

Resolution: Won't Fix

Both issues are about an unfullfilled requirement for an OSGi service. This is 
not an issue in karaf.
If one of the bundles requires a service then there needs to be another bundle 
that provides the service as a capability in it Manifest. 

There are several solutions:
- Make sure one of the bundles provides the service. Maybe camel can provide 
the respective capability. 
- Add a capability to your feature like here:
https://github.com/apache/karaf/blob/e90bf7e82a3e71e5ac53aea6a836dd7a83fdf477/features/core/src/test/resources/org/apache/karaf/features/internal/service/f07.xml#L31-L33



> deployment of feature containing bundles with camel blueprint routes fail
> -
>
> Key: KARAF-4529
> URL: https://issues.apache.org/jira/browse/KARAF-4529
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-feature
>Affects Versions: 4.0.5
> Environment: Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, 
> mixed mode)
> Linux dbserver-p2 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u6 
> (2015-11-09) x86_64 GNU/Linux
>Reporter: Alexander Sahler
>Assignee: Christian Schneider
>Priority: Blocker
>
> When using the feature mechanism to deploy bundles containing blueprint files 
> with camel routes, the deployment fails with exception
> {code}
> 2016-05-13 13:21:05,172 | ERROR | nsole user karaf | ShellUtil
> | 107 - org.apache.karaf.shell.core
> - 4.0.5 | Exception caught while executing command
> org.osgi.service.resolver.ResolutionException: Unable to resolve root: 
> missing requirement [root] osgi.identity; osgi.iden
> tity=pmc-impl; type=karaf.feature; version="[1.4.0.SNAPSHOT,1.4.0.SNAPSHOT]"; 
> filter:="(&(osgi.identity=pmc-impl)(type=kar
> af.feature)(version>=1.4.0.SNAPSHOT)(version<=1.4.0.SNAPSHOT))" [caused by: 
> Unable to resolve pmc-impl/1.4.0.SNAPSHOT: mis
> sing requirement [pmc-impl/1.4.0.SNAPSHOT] osgi.identity; 
> osgi.identity=pmc-impl; type=osgi.bundle; version="[1.4.0.SNAPSH
> OT,1.4.0.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve 
> pmc-impl/1.4.0.SNAPSHOT: missing requirement [pmc
> -impl/1.4.0.SNAPSHOT] osgi.service; effective:=active; 
> filter:="(&(objectClass=org.apache.aries.blueprint.NamespaceHandler
> )(osgi.service.blueprint.namespace=http://camel.apache.org/schema/blueprint))"]]
> at 
> org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42)[org.apache.felix.framework-5.4.0
> .jar:]
> at 
> org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:235)[org.apache.felix.framework-5.4.0.jar:]
> at 
> org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:158)[org.apache.felix.framework-5.4.0.jar:]
> at 
> org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:216)[9:org.apache.ka
> raf.features.core:4.0.5]
> at 
> org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:263)[9:org.apache.karaf.features.core:
> 4.0.5]
> at 
> org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1152)[9:org
> .apache.karaf.features.core:4.0.5]
> at 
> org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1048)[9:org.apac
> he.karaf.features.core:4.0.5]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_66]
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_66]
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_66]
> at java.lang.Thread.run(Thread.java:745)[:1.8.0_66]
> {code}
> However, when I install all the dependencies in the feature manually in the 
> console (via install -s) and the bundle itself the same way, the deployment 
> works perfectly!



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