You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2012/10/27 15:37:12 UTC
[jira] [Created] (OAK-409) OSGi related dependencies should be set
to provided scoped and not amrked as optional
Chetan Mehrotra created OAK-409:
-----------------------------------
Summary: OSGi related dependencies should be set to provided scoped and not amrked as optional
Key: OAK-409
URL: https://issues.apache.org/jira/browse/OAK-409
Project: Jackrabbit Oak
Issue Type: Bug
Components: core
Reporter: Chetan Mehrotra
Assignee: Chetan Mehrotra
Priority: Minor
Currently the OSGi related dependencies org.osgi.core and org.osgi.compendium are marked as optional. Due to this packages under org.osgi.* are marked as optional which is not correct.
As such dependencies are already marked as provided scope they would not be included as part of transient dependencies. For more details refer to [1]
Fix: The optional flag should be removed
[1] http://markmail.org/thread/njukyten6fdipts3
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OAK-409) OSGi related dependencies should be set
to provided scoped and not marked as optional
Posted by "Chetan Mehrotra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OAK-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra updated OAK-409:
--------------------------------
Labels: osgi (was: )
> OSGi related dependencies should be set to provided scoped and not marked as optional
> -------------------------------------------------------------------------------------
>
> Key: OAK-409
> URL: https://issues.apache.org/jira/browse/OAK-409
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 0.5
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Labels: osgi
> Fix For: 0.6
>
>
> Currently the OSGi related dependencies org.osgi.core and org.osgi.compendium are marked as optional. Due to this packages under org.osgi.* are marked as optional which is not correct.
> As such dependencies are already marked as provided scope they would not be included as part of transient dependencies. For more details refer to [1]
> Fix: The optional flag should be removed
> [1] http://markmail.org/thread/njukyten6fdipts3
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OAK-409) OSGi related dependencies should be set
to provided scoped and not marked as optional
Posted by "Chetan Mehrotra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OAK-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra updated OAK-409:
--------------------------------
Affects Version/s: 0.5
Summary: OSGi related dependencies should be set to provided scoped and not marked as optional (was: OSGi related dependencies should be set to provided scoped and not amrked as optional)
> OSGi related dependencies should be set to provided scoped and not marked as optional
> -------------------------------------------------------------------------------------
>
> Key: OAK-409
> URL: https://issues.apache.org/jira/browse/OAK-409
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 0.5
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
>
> Currently the OSGi related dependencies org.osgi.core and org.osgi.compendium are marked as optional. Due to this packages under org.osgi.* are marked as optional which is not correct.
> As such dependencies are already marked as provided scope they would not be included as part of transient dependencies. For more details refer to [1]
> Fix: The optional flag should be removed
> [1] http://markmail.org/thread/njukyten6fdipts3
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OAK-409) OSGi related dependencies should be
set to provided scoped and not marked as optional
Posted by "Chetan Mehrotra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OAK-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485435#comment-13485435 ]
Chetan Mehrotra commented on OAK-409:
-------------------------------------
Fixed in Rev. 1402797
Import instructions before change
{noformat}
...
org.apache.tika {version=[1.0,2), resolution:=optional}
org.apache.tika.exception {version=[1.0,2), resolution:=optional}
org.osgi.framework {version=[1.5,2), resolution:=optional}
org.osgi.util.tracker {version=[1.4,2), resolution:=optional}
org.slf4j
{noformat}
After fix
{noformat}
...
org.apache.lucene.util {resolution:=optional}
org.apache.tika {version=[1.0,2), resolution:=optional}
org.apache.tika.exception {version=[1.0,2), resolution:=optional}
org.osgi.framework {version=[1.5,2)}
org.osgi.util.tracker {version=[1.4,2)}
org.slf4j {version=[1.6,2)}
{noformat}
> OSGi related dependencies should be set to provided scoped and not marked as optional
> -------------------------------------------------------------------------------------
>
> Key: OAK-409
> URL: https://issues.apache.org/jira/browse/OAK-409
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 0.5
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
>
> Currently the OSGi related dependencies org.osgi.core and org.osgi.compendium are marked as optional. Due to this packages under org.osgi.* are marked as optional which is not correct.
> As such dependencies are already marked as provided scope they would not be included as part of transient dependencies. For more details refer to [1]
> Fix: The optional flag should be removed
> [1] http://markmail.org/thread/njukyten6fdipts3
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (OAK-409) OSGi related dependencies should be set
to provided scoped and not marked as optional
Posted by "Chetan Mehrotra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OAK-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra resolved OAK-409.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.6
Issued fixed in Rev 1402797
> OSGi related dependencies should be set to provided scoped and not marked as optional
> -------------------------------------------------------------------------------------
>
> Key: OAK-409
> URL: https://issues.apache.org/jira/browse/OAK-409
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 0.5
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Fix For: 0.6
>
>
> Currently the OSGi related dependencies org.osgi.core and org.osgi.compendium are marked as optional. Due to this packages under org.osgi.* are marked as optional which is not correct.
> As such dependencies are already marked as provided scope they would not be included as part of transient dependencies. For more details refer to [1]
> Fix: The optional flag should be removed
> [1] http://markmail.org/thread/njukyten6fdipts3
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OAK-409) OSGi related dependencies should be
set to provided scoped and not marked as optional
Posted by "Chetan Mehrotra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OAK-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485936#comment-13485936 ]
Chetan Mehrotra commented on OAK-409:
-------------------------------------
No you would not require OSGi jars in classpath for non OSGi usecases as provided scope dependencies are not transitive
> OSGi related dependencies should be set to provided scoped and not marked as optional
> -------------------------------------------------------------------------------------
>
> Key: OAK-409
> URL: https://issues.apache.org/jira/browse/OAK-409
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 0.5
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Labels: osgi
> Fix For: 0.6
>
>
> Currently the OSGi related dependencies org.osgi.core and org.osgi.compendium are marked as optional. Due to this packages under org.osgi.* are marked as optional which is not correct.
> As such dependencies are already marked as provided scope they would not be included as part of transient dependencies. For more details refer to [1]
> Fix: The optional flag should be removed
> [1] http://markmail.org/thread/njukyten6fdipts3
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OAK-409) OSGi related dependencies should be
set to provided scoped and not marked as optional
Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OAK-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485953#comment-13485953 ]
Thomas Mueller commented on OAK-409:
------------------------------------
Thanks for the clarification!
> OSGi related dependencies should be set to provided scoped and not marked as optional
> -------------------------------------------------------------------------------------
>
> Key: OAK-409
> URL: https://issues.apache.org/jira/browse/OAK-409
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 0.5
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Labels: osgi
> Fix For: 0.6
>
>
> Currently the OSGi related dependencies org.osgi.core and org.osgi.compendium are marked as optional. Due to this packages under org.osgi.* are marked as optional which is not correct.
> As such dependencies are already marked as provided scope they would not be included as part of transient dependencies. For more details refer to [1]
> Fix: The optional flag should be removed
> [1] http://markmail.org/thread/njukyten6fdipts3
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OAK-409) OSGi related dependencies should be
set to provided scoped and not marked as optional
Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OAK-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485917#comment-13485917 ]
Thomas Mueller commented on OAK-409:
------------------------------------
I'm not sure, does it mean that in order to use Jackrabbit Oak, you will need to have the OSGi jar files in the classpath, even if your application doesn't itself use OSGi? I guess that wouldn't be much of a problem(?), as long as the application isn't forced to use OSGi.
> OSGi related dependencies should be set to provided scoped and not marked as optional
> -------------------------------------------------------------------------------------
>
> Key: OAK-409
> URL: https://issues.apache.org/jira/browse/OAK-409
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 0.5
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Labels: osgi
> Fix For: 0.6
>
>
> Currently the OSGi related dependencies org.osgi.core and org.osgi.compendium are marked as optional. Due to this packages under org.osgi.* are marked as optional which is not correct.
> As such dependencies are already marked as provided scope they would not be included as part of transient dependencies. For more details refer to [1]
> Fix: The optional flag should be removed
> [1] http://markmail.org/thread/njukyten6fdipts3
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira