dev@jersey.java.net

Re: Jersey 0.6 release

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 23 Apr 2008 18:14:31 +0200

Hi Doug,

Doug Kohlert wrote:
> Paul,
> I updated the root pom.xml to add the codehaus repository and made it so
> that
> the httpserver is pulled from the jersery/lib/http.jar.
>

Thanks. Now it compiles and runs the unit tests. Looks like the way unit
test plugin is configured is causing some failures that do not occur if
the unit tests are run using ant. Some of these are related to some
funky class loading tricks i am doing for testing class scanning.


> I believe it can find the jaxws-tools.jar.

Got it now.


> I will try it again on my
> home machine later to see if it picks it up properly. What version of
> Maven 2 are you using?
>

2.0.0.9.

Since the dependencies in the jersey/pom.xml represent the compile time
dependencies and unit test dependencies and not always runtime
dependencies i am wondering if we should install a different pom of
jersey and jsr311 with the minimum set of runtime dependencies (like
what is done for jersey/maven/pom.xml). Of course this implies we should
"componentize" things :-)

Paul.

>
>
> >>> Paul Sandoz <Paul.Sandoz_at_Sun.COM> 4/22/2008 5:45 AM >>>
> Hi Doug,
>
> I have been playing around with the pom.xml.
>
> I needed to add a new plugin repository to "respository.codehaus.org"
> to pick up the FindBugs plugin.
>
> Then we i do "mvn install" it cannot find the artifacts:
>
> - com.sun.net.httpserver:httpserver:jar:1.5
>
> - com.sun.xml.wsLjaxws-tools:jar:2.1
>
> - javax.persistence:persistence-api:jar:1.0.2
>
> Did you install these manually? or is there a configuration setup to
> get these from the jersey/lib directory as declared by the
> <systemPath> element?
>
> Thanks,
> Paul.
>
>
> On Apr 4, 2008, at 11:27 PM, Doug Kohlert wrote:
>
> > Paul,
> > I just committed a maven2 pom.xml. It isn't perfect but it is a
> > good start.
> >
> > Currently, there are test failures so the jersey.jar file is not
> > created. The tests errors need to be resolved or comment out the
> > <testSourceDirectory> in the pom.xml to get the jersey.jar file
> > generated.
> >
> > I commented out the FindBugs plugin as it is causing a OutofMemory
> > error.
> >
> > Let me know if you have any questions.
> >
> > >>> Paul Sandoz <Paul.Sandoz_at_Sun.COM> 4/1/2008 1:58 AM >>>
> > Doug Kohlert wrote:
> > > Thanks Paul,
> > > Is there any plan to put it into a Maven 2 repository?
> >
> > Not yet. I presume when/if we switch to a maven 2 build process we
> > would
> > push to the maven 2 repo. Currently we don't have the resources to
> > switch to maven 2 so i am looking for any volunteers to help out :-)
> >
> > Paul.
> >
> > --
> > | ? + ? = To question
> > ----------------\
> > Paul Sandoz
> > x38109
> > +33-4-76188109
> > NOTICE: This email message is for the sole use of the intended
> > recipient(s) and may contain confidential and privileged
> > information. Any unauthorized review, use, disclosure or
> > distribution is prohibited. If you are not the intended recipient,
> > please contact the sender by reply email and destroy all copies of
> > the original message.
>
> ------------------------------------------------------------------------
> NOTICE: This email message is for the sole use of the intended
> recipient(s) and may contain confidential and privileged information.
> Any unauthorized review, use, disclosure or distribution is prohibited.
> If you are not the intended recipient, please contact the sender by
> reply email and destroy all copies of the original message.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109