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 2008/06/28 17:09:01 UTC
[jira] Created: (CAMEL-644) org.osgi.core-1.0.1 should be optional
i pom.xml
org.osgi.core-1.0.1 should be optional i pom.xml
------------------------------------------------
Key: CAMEL-644
URL: https://issues.apache.org/activemq/browse/CAMEL-644
Project: Apache Camel
Issue Type: Improvement
Components: camel-core
Affects Versions: 1.4.0
Reporter: Claus Ibsen
Priority: Minor
Fix For: 1.4.0
Guillaume did some work on CAMEL-577[1], now camel-core could run without osig jar in the classpath.
I think we can mark the org.osgi.core-1.0.1.jar to be an optional jar.
Willem Jiang
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Work started: (CAMEL-644) org.osgi.core-1.0.1 should be
optional i pom.xml
Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on CAMEL-644 started by Hadrian Zbarcea.
> org.osgi.core-1.0.1 should be optional i pom.xml
> ------------------------------------------------
>
> Key: CAMEL-644
> URL: https://issues.apache.org/activemq/browse/CAMEL-644
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 1.4.0
> Reporter: Claus Ibsen
> Assignee: Hadrian Zbarcea
> Priority: Minor
> Fix For: 1.4.0
>
>
> Guillaume did some work on CAMEL-577[1], now camel-core could run without osig jar in the classpath.
> I think we can mark the org.osgi.core-1.0.1.jar to be an optional jar.
> Willem Jiang
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-644) org.osgi.core-1.0.1 should be
optional i pom.xml
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43825#action_43825 ]
Claus Ibsen commented on CAMEL-644:
-----------------------------------
Agree
> org.osgi.core-1.0.1 should be optional i pom.xml
> ------------------------------------------------
>
> Key: CAMEL-644
> URL: https://issues.apache.org/activemq/browse/CAMEL-644
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 1.4.0
> Reporter: Claus Ibsen
> Assignee: Hadrian Zbarcea
> Priority: Minor
> Fix For: 1.4.0
>
>
> Guillaume did some work on CAMEL-577[1], now camel-core could run without osig jar in the classpath.
> I think we can mark the org.osgi.core-1.0.1.jar to be an optional jar.
> Willem Jiang
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-644) org.osgi.core-1.0.1 should be optional
i pom.xml
Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hadrian Zbarcea resolved CAMEL-644.
-----------------------------------
Resolution: Fixed
> org.osgi.core-1.0.1 should be optional i pom.xml
> ------------------------------------------------
>
> Key: CAMEL-644
> URL: https://issues.apache.org/activemq/browse/CAMEL-644
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 1.4.0
> Reporter: Claus Ibsen
> Assignee: Hadrian Zbarcea
> Priority: Minor
> Fix For: 1.4.0
>
>
> Guillaume did some work on CAMEL-577[1], now camel-core could run without osig jar in the classpath.
> I think we can mark the org.osgi.core-1.0.1.jar to be an optional jar.
> Willem Jiang
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-644) org.osgi.core-1.0.1 should be
optional i pom.xml
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43784#action_43784 ]
Claus Ibsen commented on CAMEL-644:
-----------------------------------
Hadrian. In the 1.4.0 RC2 distribution the osgi jar is not in the lib folder. Also not in the lib/optional.
> org.osgi.core-1.0.1 should be optional i pom.xml
> ------------------------------------------------
>
> Key: CAMEL-644
> URL: https://issues.apache.org/activemq/browse/CAMEL-644
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 1.4.0
> Reporter: Claus Ibsen
> Assignee: Hadrian Zbarcea
> Priority: Minor
> Fix For: 1.4.0
>
>
> Guillaume did some work on CAMEL-577[1], now camel-core could run without osig jar in the classpath.
> I think we can mark the org.osgi.core-1.0.1.jar to be an optional jar.
> Willem Jiang
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CAMEL-644) org.osgi.core-1.0.1 should be optional
i pom.xml
Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hadrian Zbarcea reassigned CAMEL-644:
-------------------------------------
Assignee: Hadrian Zbarcea
> org.osgi.core-1.0.1 should be optional i pom.xml
> ------------------------------------------------
>
> Key: CAMEL-644
> URL: https://issues.apache.org/activemq/browse/CAMEL-644
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 1.4.0
> Reporter: Claus Ibsen
> Assignee: Hadrian Zbarcea
> Priority: Minor
> Fix For: 1.4.0
>
>
> Guillaume did some work on CAMEL-577[1], now camel-core could run without osig jar in the classpath.
> I think we can mark the org.osgi.core-1.0.1.jar to be an optional jar.
> Willem Jiang
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-644) org.osgi.core-1.0.1 should be
optional i pom.xml
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43769#action_43769 ]
Claus Ibsen commented on CAMEL-644:
-----------------------------------
Setting optional will remove the hard dependency on org.osgi.core at runtime - eg. for non OSGi envorionments such as packing a web application then this jar is not includeded in the WEB-INF\lib.
I assume that setting this to optional doesn't affect real osgi platforms where such a core osgi already exists in the OSGi container?
Any thoughts?
Proposed patch:
*before*
{code}
<dependency>
<!-- TODO: this is only needed for OSGi environments, can we have it be optional or how? -->
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.core</artifactId>
<version>${felix-osgi-version}</version>
</dependency>
{code}
*after*
{code}
<dependency>
<!-- this is only needed for OSGi environments, we can have it optional -->
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.core</artifactId>
<version>${felix-osgi-version}</version>
<optional>true</optional>
</dependency>
{code}
> org.osgi.core-1.0.1 should be optional i pom.xml
> ------------------------------------------------
>
> Key: CAMEL-644
> URL: https://issues.apache.org/activemq/browse/CAMEL-644
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 1.4.0
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: 1.4.0
>
>
> Guillaume did some work on CAMEL-577[1], now camel-core could run without osig jar in the classpath.
> I think we can mark the org.osgi.core-1.0.1.jar to be an optional jar.
> Willem Jiang
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-644) org.osgi.core-1.0.1 should be
optional i pom.xml
Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43823#action_43823 ]
Hadrian Zbarcea commented on CAMEL-644:
---------------------------------------
We put very few jars in our distro. I think it's the users responsibility to make sure he has the right jars on the classpath. I don't think we should add the org.osgi.core jar in lib or lib/optional. Agree?
> org.osgi.core-1.0.1 should be optional i pom.xml
> ------------------------------------------------
>
> Key: CAMEL-644
> URL: https://issues.apache.org/activemq/browse/CAMEL-644
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 1.4.0
> Reporter: Claus Ibsen
> Assignee: Hadrian Zbarcea
> Priority: Minor
> Fix For: 1.4.0
>
>
> Guillaume did some work on CAMEL-577[1], now camel-core could run without osig jar in the classpath.
> I think we can mark the org.osgi.core-1.0.1.jar to be an optional jar.
> Willem Jiang
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.