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

Mike Edwards resolved TUSCANY-3760.
-----------------------------------

    Resolution: Fixed

1) Stripes

MANIFEST.MF:
Remove the entries:

javax.servlet.jsp,
javax.servlet.jsp.tagext,

POM.XML
Change the scope of the stripes dependency to "compile" which ensures that the 
dependency gets into the main distribution build:

        <dependency>
            <groupId>net.sourceforge.stripes</groupId>
            <artifactId>stripes</artifactId>
            <version>1.5.2</version>
            <scope>compile</scope>
        </dependency>

2) Implementation-Web-Runtime

POM.XML

Change the 3 dependencies to "compile" scope:

        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <version>2.5</version>
            <scope>compile</scope>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-jsp_2.1_spec</artifactId>
            <version>1.0.1</version>
            <scope>compile</scope>
        </dependency>

        <!-- provided scope doesn't pull in transitive dependencies -->
        <dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-el_1.0_spec</artifactId>
            <version>1.0.1</version>
            <scope>compile</scope>
        </dependency>


Committed in 1028665 & 1028666

> 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
>            Assignee: 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.

Reply via email to