users@jersey.java.net

Re: spring-integration tested and described

From: Martin Grotzke <martin.grotzke_at_freiheit.com>
Date: Tue, 22 Apr 2008 20:51:46 +0200

On Tue, 2008-04-22 at 14:28 +0200, Paul Sandoz wrote:
> On Apr 21, 2008, at 9:55 PM, Martin Grotzke wrote:
> > As the spring-package has a dependency on jersey, I would say that
> > jersey must have been installed in the repo that is used by hudson, I
> > think this will be the only requirement.
> >
> Hmm... are the tests using Jersey 0.7? I am guessing the tests are
> not depending on any API changes you made e.g ResourceContext.
No, tests for this are implemented in jersey itself.

I just wanted to mention it, so that it's clear that the nightly build
of jersey should also install jersey as an artifact in the maven
repository that is used for the jersey-spring build.

> The spring tests need to depend on the latest built artifacts from
> the jersey directory. Do we need some "maven glue" for installing
> jersey.jar et. al. to the local file based repository? e.g. look at
> the maven/pom.xml that creates the jersey and 311 poms and uses the
> version obtained from the build.properties.
Yes, we need this. I think s.th. like a simple exec in the maven dir
with executable mvn and argument install should be enough.

I just had a look at the build.xml and found the target
"push-to-maven-prepare" - what is this and has it anything to do with
the things we are talking about?


> > What about the maven groupId "com.sun.ws.rest" and the artifactId
> > "jersey-spring"?
> >
>
> Currently we use "jersey" as the artifactId when we push stable
> builds. Perhaps we should stick to that for now.
Probably you refering to the groupId?

When do you plan to change this? AFAIK the whole maven world is trying
to fix things that were wrong when maven started, and one thing is to
have fully qualified groupIds (unfortunately I couln't find a reference
for this within 5 seconds, I just remember this).

Perhaps this would be a chance to change the groupId jersey to a fully
qualified one :)

> Before we named the project we used "com.sun.ws.rest" and it sort of
> stuck but i would prefer to rename packages to start with
> "com.sun.jersey" and use that as the artifactId.
Do you have an idea when you would change this?

Perhaps we could already use com.sun.jersey as groupId for maven then...

Cheers,
Martin

>
> Paul.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net