www-repository mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Sanchez <car...@apache.org>
Subject Re: Maven 1 repo (Java.net) proxy request on repository.apache.org
Date Tue, 01 Mar 2011 13:29:47 GMT
delete your local repo and add a mirror all entry to your settings.xml

    <mirror>
      <mirrorOf>*</mirrorOf>
      <url>http://repo1.maven.org/maven2</url>
      <id>central</id>
    </mirror>

and try to build again

On Tue, Mar 1, 2011 at 3:02 AM, Gabriele Columbro <gabriele@apache.org> wrote:
> Hi guys,
> thanks for this. I am already working at preparing the bundle on the
> Sonatype OSS repo (BTW looks really nice and quick with the staging upload
> bundle functionality).
>
> My only issue is now tracking down all the transitive dependencies of this
> package which are not to be found in Central, to fix this issue once and for
> all (I reckon a repository proxy would have been quicker, but I can see the
> risks).
>
> Thanks,
> Gab
>
>
>
> On Tue, Mar 1, 2011 at 10:29 AM, Juven Xu <juven@sonatype.com> wrote:
>>
>> yes, I think uploading a bundle is the best option
>> here: https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+Maven+Central
>>
>> On Tue, Mar 1, 2011 at 1:45 AM, Carlos Sanchez <carlos@apache.org> wrote:
>>>
>>> On Mon, Feb 28, 2011 at 9:00 AM, Gabriele Columbro <gabriele@apache.org>
>>> wrote:
>>> > Hi Carlos,
>>> > thanks for the prompt reply.
>>> >
>>> > On Mon, Feb 28, 2011 at 4:15 PM, Carlos Sanchez <carlos@apache.org>
>>> > wrote:
>>> >>
>>> >> Your dependencies should be all in the maven central repo. Request
>>> >> that it
>>> >> gets uploaded there.
>>> >
>>> > We actually did our first 0.x releases (still in incubation) with at
>>> > least
>>> > one module depending on the legacy java.net repo.
>>> >
>>> > So are you suggesting us to hold the 1st TLP release and push for
>>> > Oracle to
>>> > decide and upload a relatively old jaxws version on their Maven 2 repo?
>>> > (I'm
>>> > assuming it's already synced to Maven central)
>>>
>>> You can request it to be uploaded to central, given that Sun/Oracle
>>> are not willing to do it
>>> http://maven.apache.org/guides/mini/guide-central-repository-upload.html
>>>
>>>
>>> > BTW, is this a strict artifact requirement (e.g. legal) or best
>>> > practice
>>> > suggestion (maybe something to add to [1]) ?
>>>
>>> It's a requirement for Maven central that all dependencies are in
>>> central. And a very good practice, given that central never change and
>>> external repos can disappear and your builds not be reproducible
>>>
>>> >
>>> > Thanks a lot for the help!
>>> > Gab
>>> >
>>> > [1] http://www.apache.org/dev/publishing-maven-artifacts.html
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > Eng. Gabriele Columbro
>>> > Open source and ECM Architect
>>> > Alfresco Ltd. - http://www.alfresco.com
>>> > -----------------------------------------
>>> > http://twitter.com/#!/mindthegabz
>>> > -----------------------------------------
>>> > "Keyboard not found.
>>> >  Press F1 to continue"
>>> > ----------------------------------------
>>> >
>>
>>
>>
>> --
>> - Juven Xu
>
>
>
> --
> Eng. Gabriele Columbro
> Open source and ECM Architect
> Alfresco Ltd. - http://www.alfresco.com
> -----------------------------------------
> http://twitter.com/#!/mindthegabz
> -----------------------------------------
> "Keyboard not found.
>  Press F1 to continue"
> ----------------------------------------
>

Mime
View raw message