users@jersey.java.net

Re: [Jersey] Re: issue with POST when packaging into jar

From: Paul Sandoz <Paul.Sandoz_at_oracle.com>
Date: Wed, 25 Aug 2010 14:25:58 +0200

On Aug 25, 2010, at 2:19 PM, Paul Sandoz wrote:

>
> On Aug 25, 2010, at 2:14 PM, varnit wrote:
>
>>
>> switching to shade helped but I had to add jersey-bundle as a
>> dependency.
>
> You should not have to add that.
>
> What options did you use for the maven shade plugin?
>

You can find an example here:

   http://github.com/jfarcand/atmosphere/blob/master/extras/spade-server/pom.xml

The dependency:
         <dependency>
             <groupId>org.atmosphere</groupId>
             <artifactId>atmosphere-jersey</artifactId>
             <version>${pom.version}</version>
         </dependency>
further depends on jersey artifacts.

Paul.

> Paul.
>
>> So
>> I have the following dependencies:
>> <dependency>
>> <groupId>com.sun.jersey</groupId>
>> <artifactId>jersey-bundle</artifactId>
>> <version>1.3</version>
>> </dependency>
>> <dependency>
>> <groupId>com.sun.jersey</groupId>
>> <artifactId>jersey-server</artifactId>
>> <version>1.3</version>
>> </dependency>
>> <dependency>
>> <groupId>com.sun.jersey.jersey-test-framework</groupId>
>> <artifactId>jersey-test-framework-grizzly</artifactId>
>> <version>1.3</version>
>> <scope>test</scope>
>> </dependency>
>> <dependency>
>> <groupId>org.codehaus.jackson</groupId>
>> <artifactId>jackson-jaxrs</artifactId>
>> <version>1.5.4</version>
>> </dependency>
>> <dependency>
>> <groupId>com.sun.grizzly</groupId>
>> <artifactId>grizzly-servlet-webserver</artifactId>
>> <version>1.9.9</version>
>> </dependency>
>> <dependency>
>> <groupId>com.sun.jersey</groupId>
>> <artifactId>jersey-json</artifactId>
>> <version>1.3</version>
>> </dependency>
>> <dependency>
>> <groupId>junit</groupId>
>> <artifactId>junit</artifactId>
>> <version>4.8.1</version>
>> <scope>test</scope>
>> </dependency>
>> --
>> View this message in context: http://jersey.576304.n2.nabble.com/issue-with-POST-when-packaging-into-jar-tp5460103p5460993.html
>> Sent from the Jersey mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>