You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/07/19 18:06:51 UTC
[jira] Created: (CAMEL-2966) Upgrade to flatpack 3.2.0
Upgrade to flatpack 3.2.0
-------------------------
Key: CAMEL-2966
URL: https://issues.apache.org/activemq/browse/CAMEL-2966
Project: Apache Camel
Issue Type: Improvement
Reporter: Claus Ibsen
Priority: Minor
Fix For: 2.5.0
See nabble
http://camel.465427.n5.nabble.com/Rumors-of-Flatpack-s-Death-Were-Quite-Exaggerated-tp1438906p1438906.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CAMEL-2966) Upgrade to flatpack 3.2.0
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang reassigned CAMEL-2966:
-----------------------------------
Assignee: Willem Jiang
> Upgrade to flatpack 3.2.0
> -------------------------
>
> Key: CAMEL-2966
> URL: https://issues.apache.org/activemq/browse/CAMEL-2966
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Claus Ibsen
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.5.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Rumors-of-Flatpack-s-Death-Were-Quite-Exaggerated-tp1438906p1438906.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-2966) Upgrade to flatpack 3.2.0
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61579#action_61579 ]
Willem Jiang commented on CAMEL-2966:
-------------------------------------
@Claus,
Pax-Log API bundle exports the org.slf4j* packages, so the feature don't need to wrap org.slf4j for it.
I will update the camel-flatpack feature file for it shortly.
> Upgrade to flatpack 3.2.0
> -------------------------
>
> Key: CAMEL-2966
> URL: https://issues.apache.org/activemq/browse/CAMEL-2966
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Claus Ibsen
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.5.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Rumors-of-Flatpack-s-Death-Were-Quite-Exaggerated-tp1438906p1438906.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-2966) Upgrade to flatpack 3.2.0
Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61572#action_61572 ]
Hadrian Zbarcea commented on CAMEL-2966:
----------------------------------------
Upgrade committed with r991427.
@Willem, do you mind double checking?
> Upgrade to flatpack 3.2.0
> -------------------------
>
> Key: CAMEL-2966
> URL: https://issues.apache.org/activemq/browse/CAMEL-2966
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Claus Ibsen
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.5.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Rumors-of-Flatpack-s-Death-Were-Quite-Exaggerated-tp1438906p1438906.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-2966) Upgrade to flatpack 3.2.0
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61573#action_61573 ]
Willem Jiang commented on CAMEL-2966:
-------------------------------------
@Hadrian,
As the flatpack 3.2.0 is not in the central maven repo, so I had to use the servicemix wrapped bundle.
I just update parent/pom.xml and camel-flatpack for it in revision 991443.
BTW, because there is no critical bug of flatpack 3.1.1 , I revert the the change of OSGi import package part.
> Upgrade to flatpack 3.2.0
> -------------------------
>
> Key: CAMEL-2966
> URL: https://issues.apache.org/activemq/browse/CAMEL-2966
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Claus Ibsen
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.5.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Rumors-of-Flatpack-s-Death-Were-Quite-Exaggerated-tp1438906p1438906.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-2966) Upgrade to flatpack 3.2.0
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61576#action_61576 ]
Claus Ibsen commented on CAMEL-2966:
------------------------------------
Looks like the validator is flanky.
The test is camel-itest-karaf works now
{code}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.camel.itest.karaf.CamelFlatpackTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 91.668 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
{code}
> Upgrade to flatpack 3.2.0
> -------------------------
>
> Key: CAMEL-2966
> URL: https://issues.apache.org/activemq/browse/CAMEL-2966
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Claus Ibsen
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.5.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Rumors-of-Flatpack-s-Death-Were-Quite-Exaggerated-tp1438906p1438906.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-2966) Upgrade to flatpack 3.2.0
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61578#action_61578 ]
Willem Jiang commented on CAMEL-2966:
-------------------------------------
@Claus,
It's looks the feature plugin can't deal with the bundle url which start with wrap.
I will submit a patch of karaf to fix this issue.
> Upgrade to flatpack 3.2.0
> -------------------------
>
> Key: CAMEL-2966
> URL: https://issues.apache.org/activemq/browse/CAMEL-2966
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Claus Ibsen
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.5.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Rumors-of-Flatpack-s-Death-Were-Quite-Exaggerated-tp1438906p1438906.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-2966) Upgrade to flatpack 3.2.0
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61355#action_61355 ]
Claus Ibsen commented on CAMEL-2966:
------------------------------------
Awaiting SMX people to release an osgi bundle of flatpack 3.2.0
> Upgrade to flatpack 3.2.0
> -------------------------
>
> Key: CAMEL-2966
> URL: https://issues.apache.org/activemq/browse/CAMEL-2966
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: 2.5.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Rumors-of-Flatpack-s-Death-Were-Quite-Exaggerated-tp1438906p1438906.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-2966) Upgrade to flatpack 3.2.0
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61574#action_61574 ]
Claus Ibsen commented on CAMEL-2966:
------------------------------------
I upgraded the features xml files.
Also added versions to parent/pom.xml as its nice to have all versions in one place.
However the features validator doesn't work with wrap anymore
{code}
mvn clean install -Pvalidate
{code}
Causes it to fail when you have defined a wrap bundle. Because we need slf4j-api as its mandatory by flatpack
{code:xml}
<feature name='camel-flatpack' version='${pom.version}'>
<feature version='${pom.version}'>camel-spring</feature>
<bundle>wrap:mvn:org.slf4j/slf4j-api/${slf4j-version}</bundle>
<bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jdom/${jdom-bundle-version}</bundle>
<bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jexcelapi/${jexcelapi-bundle-version}</bundle>
<bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.flatpack/${flatpack-bundle-version}</bundle>
<bundle>mvn:org.apache.camel/camel-flatpack/${pom.version}</bundle>
</feature>
{code}
And when running the validator it causes this error
{code}
Downloading: http://localhost:8081/nexus/content/groups/public/wrap:mvn:org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar
[INFO] Unable to find resource 'wrap:mvn:org.slf4j:slf4j-api:jar:1.6.1' in repository central (http://repo1.maven.org/maven2)
Then, install it using the command:
mvn install:install-file -DgroupId=wrap:mvn:org.slf4j -DartifactId=slf4j-api -Dversion=1.6.1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=wrap:mvn:org.slf4j -DartifactId=slf4j-api -Dversion=1.6.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
wrap:mvn:org.slf4j:slf4j-api:jar:1.6.1
{code}
As you can see it now believes the artifactId is wrap:mvn:org.slf4j instead of just org.slf4j.
This used to work. I bet upgrading to Karaf 2.0 causes this problem.
> Upgrade to flatpack 3.2.0
> -------------------------
>
> Key: CAMEL-2966
> URL: https://issues.apache.org/activemq/browse/CAMEL-2966
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Claus Ibsen
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.5.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Rumors-of-Flatpack-s-Death-Were-Quite-Exaggerated-tp1438906p1438906.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-2966) Upgrade to flatpack 3.2.0
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CAMEL-2966.
---------------------------------
Resolution: Fixed
I think we can close this issue.
> Upgrade to flatpack 3.2.0
> -------------------------
>
> Key: CAMEL-2966
> URL: https://issues.apache.org/activemq/browse/CAMEL-2966
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Claus Ibsen
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.5.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Rumors-of-Flatpack-s-Death-Were-Quite-Exaggerated-tp1438906p1438906.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.