Solved : My tomcat server was running as a service and it cannot access smb drives, (my private repo)

Is there any plan to make Archiva maven1 compliant ? I'd like to avoid having two repositories, so I'll migrate my maven1 repo to maven2 and use apache RewriteRule (like ibiblio does) + mod_proxy for maven1 repository URL to de resolved as Archiva URL.

Maybe other users can be interested in such a feature ?
It would require to be able to detect maven1 / maven2 download request in proxyAction, and convert maven1 request to maven2 using some rewrite rules. From my tests nor maven1 neither maven2 use a custom user-agent String, but don't use the same HTTP transport, so using user-agent may be a solution to detect the version of maven used...

Nicolas De Loof a écrit :

I've configured my apache server to serve the corporate repo "private" (I can browse it under http://localhost/private...)

I've added a proxied repo to my managed repository, poiting to "http://127.0.0.1/private"; but I cannot get artifacts from it. I can get artifacts from ibiblio, so proxying seem to work fine, but not for my local apache ?

Nicolas De Loof a écrit :

My corporate repository is splited into multiple parts
- restricted (SUN jars)
- private (our libs)
- sources (free libs -sources.jar for debug in eclipse)
- free (free libs not yet on ibilio)

I'd like to "merge" all them into a single repo. I use maven-proxy for this, and I'm trying to make the same using Archiva.
Perhaps There is a better way ?

Brett Porter a écrit :
Should work - please file in JIRA.

Though maybe you want to add that directory as a managed repository directly?

- Brett

On 22/08/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:

Great.
Works just as expected.
Using a file:// URL for proxying fails. I'll have to configure an apache
server as a front to my corporate repo.
Is this a known limitation and can I suggest an enhancement for this ?


Brett Porter a écrit :
> /proxy/whatever-the-id-of-the-proxy-repo-is
>
> Cheers,
> Brett
>
> On 22/08/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
>>
>> Thanks !
>>
>> Synch not beeing available will not be a problem as I can proxy my
>> private repo (can I use a "file:///D:/repo/private" URL ?)
>> What is the URI to use in the maven-repository-webapp to use it as a >> proxy ? For current use I only need a maven-proxy replacement. Features
>> from Archiva will be welcome but are not (yet) mandatory for me.
>>
>> Nico.
>>
>>
>> Brett Porter a écrit :
>> > Archiva is still a work in progress. The problems you'd be having
>> here:
>> > - browse/indexing will only pick up artifacts already brought down >> > from the proxy repo, so if you haven't retrieved anything yet it will
>> > be empty
>> > - sync isn't implemented yet
>> >
>> > If there is anything that could make this easier/clearer, let us know!
>> >
>> > Thanks,
>> > Brett
>> >
>> > On 21/08/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Hello,
>> >>
>> >> I just compiled maven repository manager and try it as a nice
>> >> replacement to my maven-proxy.
>> >>
>> >> I've added a "proxyed" repository for ibiblio and a FileSystem
>> synched
>> >> for my private repo.
>> >>
>> >> Now I'd like to use repository manager as a proxy. When I go to
>> "browse"
>> >> it complain about not beeing indexed. But If I run "index now" from
>> >> admin I gte in logs :
>> >> "
>> >> [INFO] Starting repository discovery process
>> >> [INFO] Finished repository indexing process in 0ms
>> >> "
>> >> Is there something about indexing I've miss ?
>> >>
>> >> Nico.
>> >>
>> >>
>> >>
>> >> This message contains information that may be privileged or
>> >> confidential and is the property of the Capgemini Group. It is
>> >> intended only for the person to whom it is addressed. If you are not
>> >> the intended recipient,  you are not authorized to read, print,
>> >> retain, copy, disseminate, distribute, or use this message or any >> >> part thereof. If you receive this message in error, please notify
>> >> the sender immediately and delete all  copies of this message.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>>
>> This message contains information that may be privileged or
>> confidential and is the property of the Capgemini Group. It is
>> intended only for the person to whom it is addressed. If you are not
>> the intended recipient,  you are not authorized to read, print,
>> retain, copy, disseminate,  distribute, or use this message or any
>> part thereof. If you receive this  message in error, please notify
>> the sender immediately and delete all  copies of this message.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


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





This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


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


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


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


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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

Reply via email to