dev@glassfish.java.net

Re: pom change review

From: Snjezana Sevo-Zenzerovic <Snjezana.Sevo-Zenzerovic_at_Sun.COM>
Date: Fri, 21 Aug 2009 12:00:03 -0700

Wait, there is even more nagging :-)

Since we get both mimepull and jersey-multipart jars into final
distribution from jersey package image, you should set dependency scope
for both of these to "provided" - same as for jersey-server dependency
which is already in the pom...

Thanks,

Snjezana

Jane Young wrote:

> Hi Ludo,
>
> We cannot take SNAPSHOT version in v3 workspace. Please use a
> released version.
> Also, add the dependency in the dependencyManagement element in the
> top level pom (v3/pom.xml) and remove the version in admin/rest module.
>
> Thanks,
> Jane
>
>
> Ludovic Champenois wrote:
>
>> Hi,
>> I need mimepull and jersey multipart jar libraries for our admin REST
>> module...
>>
>> Top Level pom needs to add the version numbers:
>>
>> Index: pom.xml
>> --- pom.xml Base (BASE)
>> +++ pom.xml Locally Modified (Based On LOCAL)
>> @@ -162,6 +162,8 @@
>> <wsdl4j.version>1.6.2</wsdl4j.version>
>> <gmbal.version>3.0.0-b009</gmbal.version>
>> <glassfish-management-api.version>3.0.0-b004</glassfish-management-api.version>
>>
>> + <mimepull.version>1.4</mimepull.version>
>> + <jersey-multipart.version>1.1.2-ea-SNAPSHOT</jersey-multipart.version>
>> </properties>
>>
>> (not sure if these versions will change soon or not?)
>>
>>
>> and the admin/rest module pom needs to add the dependencies:
>> Index: pom.xml
>> --- pom.xml Base (BASE)
>> +++ pom.xml Locally Modified (Based On LOCAL)
>> @@ -101,6 +101,19 @@
>> <groupId>org.glassfish.external</groupId>
>> <artifactId>management-api</artifactId>
>> </dependency>
>> +
>> + <dependency>
>> + <groupId>org.jvnet</groupId>
>> + <artifactId>mimepull</artifactId>
>> + <version>${mimepull.version}</version>
>> + </dependency>
>> + <dependency>
>> + <groupId>com.sun.jersey.contribs</groupId>
>> + <artifactId>jersey-multipart</artifactId>
>> + <version>${jersey-multipart.version}</version>
>> + </dependency>
>> +
>> +
>> </dependencies>
>> <build>
>> <resources>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>