Re: Maven 1 repo (Java.net) proxy request on repository.apache.org

Carlos Sanchez <[email protected]>
Newsgroups gmane.comp.jakarta.repository
Message-ID <[email protected]>
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 <[email protected]> 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 <[email protected]> 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 <[email protected]> wrote:
>>>
>>> On Mon, Feb 28, 2011 at 9:00 AM, Gabriele Columbro <[email protected]>
>>> wrote:
>>> > Hi Carlos,
>>> > thanks for the prompt reply.
>>> >
>>> > On Mon, Feb 28, 2011 at 4:15 PM, Carlos Sanchez <[email protected]>
>>> > 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"
> ----------------------------------------
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.