AfAIK, You don't need to write a custom wagon for a "non-standard"
layout, just an implementation of
org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout
(and expose that as a plexus component). This is how the Maven 1 layout
is supported.

You would need a wagon if you needed to access the repository through a
transport that wasn't already supported by an existing wagon. Wagons and
layouts should be able to be mixed and matched at will.

And to be clear, it's not me looking to use ClearCase as a Maven
repository.

Justin

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Baptiste
MATHUS
Sent: Friday, October 03, 2008 2:11 AM
To: Maven Users List
Subject: Re: Jar not in repository

Just a question to you and other maven's mavens :-) : isn't there a way
to expose some "non-standard" repository under the required hierarchy? I
thought I read something about being able to provide a specific
implementation for it.

In this case, maybe Justin could consider writing this "connector" for
his clearcase repository to be seen as a standard maven one. This would
avoid using system scopes, and avoid deployment duplication.

OK, after some research: the wagons. Wouldn't it be possible to writing
something like ClearCaseRepositoryWagon? Is there any caveat you might
think of?
http://maven.apache.org/wagon/

Cheers

2008/10/3 Wendy Smoak <[EMAIL PROTECTED]>

> Yes, that makes sense.  Okay, not a bug. :)  Just not very useful in 
> this case.
>
> I don't think we ever heard from the OP why the jars can't go into a 
> repository?  That they need to be stored in ClearCase doesn't mean 
> they can't also be in a repository...
>
> --
> Wendy
>
> On Thu, Oct 2, 2008 at 2:31 PM, Edelson, Justin 
> <[EMAIL PROTECTED]> wrote:
> > http://maven.apache.org/guides/introduction/introduction-to-dependen
> > cy-m echanism.html implies this would be the case in that system 
> > scope is similar to provided. This should probably be made more 
> > explicit.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un
castor !

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to