[
https://issues.apache.org/jira/browse/TUSCANY-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ant elder reopened TUSCANY-3760:
--------------------------------
Assignee: (was: Mike Edwards)
I'm reopening this as I don't think this is the correct fix. The dependencies
intentionally use a scope or provided because those dependencies are provided
by the environment not by transitive dependencies on the Tuscany module. Things
like the servlet-api should not be a compile dependency because that means now
everywhere the Tuscany module is used it also needs to have an exclude on the
servlet-api otherwise it will conflict with the one provided in the runtime
environment. This is exactly the same as with the Tuscany host-webapp module
which also uses provided scope.
> Stripes and Implementation-Web-Runtime modules have POM & MANIFEST errors
> that causes execution failures with main build under OSGi
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-3760
> URL: https://issues.apache.org/jira/browse/TUSCANY-3760
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Misc Implementation Extensions
> Affects Versions: Java-SCA-2.0-M5
> Reporter: Mike Edwards
> Fix For: Java-SCA-2.x
>
>
> Stripes:
> a) MANIFEST contains these entries:
> javax.servlet.jsp,
> javax.servlet.jsp.tagext,
> ...these are not actually supplied in any dependency of Stripes, but they are
> also not used by Stripes either.
> Earlier versions of the servlet-api package used to contain these packages,
> but not the most recent ones, which thus causes a resolution failure under
> OSGi, even though the code will actually execute successfully.
> b) POM problems:
> Dependency net.sourceforge.stripes.stripes is declared as "provided" but
> does not appear in the main build at all, leading to an OSGI resolution
> failure.
> b) Implementation-Web-Runtime:
> Dependencies:
> javax.servlet.servlet-api
> org.apache.geronimo.specs.geronimo-jsp_2.1_spec
> org.apache.geronimo.specs.geronimo-el_1.0_spec
> ...are declared as "provided" scope, but don't turn up in the main
> distribution build, leading to a resolution failure for this module under OSGi
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.