You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mauricio Ferreyra <ma...@gmail.com> on 2012/05/04 17:43:17 UTC

jsr311-api doesn't include.

Hi all,
I am trying to create a restful application to deploy on a websphere. The
version of was that I'm using doesn't support the specification jsr311.

So, I want to add the jars on the /lib of the project, but when I do a mvn
package maven leave out the jar in the war.

Do you know that maven doesn't include the jar?

The dependency:
*            <groupId>javax.ws.rs</groupId>
            <artifactId>jsr311-api</artifactId>
            <version>1.0</version>*

Thanks in advance!

Re: jsr311-api doesn't include.

Posted by Jörg Schaible <Jo...@scalaris.com>.
Mauricio Ferreyra wrote:

> Hi all,
> I am trying to create a restful application to deploy on a websphere. The
> version of was that I'm using doesn't support the specification jsr311.
> 
> So, I want to add the jars on the /lib of the project, but when I do a mvn
> package maven leave out the jar in the war.
> 
> Do you know that maven doesn't include the jar?
> 
> The dependency:
> *            <groupId>javax.ws.rs</groupId>
>             <artifactId>jsr311-api</artifactId>
>             <version>1.0</version>*
> 
> Thanks in advance!

When you expect that the container delivers the code, you set the dependency 
to "provided".

- Jörg



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org