Hi,
another issue I'm experiencing:
Doing an mvn install in trunk/jersey fails with this error:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error creating shaded jar.
Embedded error: duplicate entry: com/sun/jersey/api/container/filter/PostReplaceFilter.class
This seems to come from jersey-bundle, an mvn install in jersey-bundle
fails with the same error. Doing an "mvn clean install" is successful
for both jersey-bundle and trunk/jersey.
The output of mvn -version:
Maven version: 2.0.9
Java version: 1.6.0_04
OS name: "linux" version: "2.6.25.11-97.fc9.i686" arch: "i386" Family: "unix"
Cheers,
Martin
On Fri, 2008-07-25 at 19:10 +0200, Jakub Podlesak wrote:
> On Thu, Jul 24, 2008 at 06:09:12PM +0200, Jakub Podlesak wrote:
> >
> > Hi all,
> >
> > I am going to merge changes from [jersey-modularization] into the main trunk.
> > Unfortunately i am having issues merging it in a one big shot. I will go with
> > some smaller steps and will most probably destabilize the trunk for some time.
> >
> > I will let you know when everything is ok again.
>
> The trunk should be stable again.
>
> You can build things after checkout this way:
>
> svn co https://jersey.dev.java.net/svn/jersey/trunk jersey-trunk
> cd jersey-trunk/jersey
> mvn clean install
>
> which will create (besides others) the following main jar files for you:
>
> 232K jersey-core/target/jersey-core-0.9-ea-SNAPSHOT.jar
> 344K jersey-server/target/jersey-server-0.9-ea-SNAPSHOT.jar
> 38K jersey-client/target/jersey-client-0.9-ea-SNAPSHOT.jar
> 55K jersey-json/target/jersey-json-0.9-ea-SNAPSHOT.jar
> 9K jersey-atom/target/jersey-atom-0.9-ea-SNAPSHOT.jar
>
> You can see that things have been split out. If you want to keep using
> a single big jar file, you can use:
>
> 664K jersey-bundle/target/jersey-bundle-0.9-ea-SNAPSHOT.jar
>
> All artifacts should be available together with source and javadoc jars at [1].
>
> ~Jakub
>
> [1]http://download.java.net/maven/2/com/sun/jersey/
>
>
>
> >
> > Thanks for understanding.
> >
> > ~Jakub
> > --
> > http://blogs.sun.com/japod
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> > For additional commands, e-mail: users-help_at_jersey.dev.java.net
> >