[ 
http://jira.codehaus.org/browse/MAVENUPLOAD-1225?page=comments#action_80088 ] 
            
Renaud Bruyeron commented on MAVENUPLOAD-1225:
----------------------------------------------

Hi Tim,

I have just started using maven2, and noticed that your pom has this:
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>jsp-api</artifactId>
            <version>2.0</version>
            <scope>compile</scope>
            <optional>true</optional>
        </dependency>

I think the proper scope for this type of API is "provided", i.e. it's like 
compile but the runtime (container) provides it: (from 
http://maven.apache.org/pom.html#Dependencies)
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>jsp-api</artifactId>
            <version>2.0</version>
            <scope>provided</scope>
        </dependency>

I guess the following might also be useful:
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <version>2.4</version>
            <scope>provided</scope>
        </dependency>

I could not find the pom.xml in stripes' SVN: do you keep it "safe" somewhere 
else? :)

> Upload Stripes 1.4.2 to IBiblio repository (please)
> ---------------------------------------------------
>
>                 Key: MAVENUPLOAD-1225
>                 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1225
>             Project: maven-upload-requests
>          Issue Type: Task
>            Reporter: Tim Fennell
>
> Please upload Stripes 1.4.2 to IBiblio.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to