Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-dev] aether-dev Digest, Vol 31, Issue 2

Hi Jason,

Thanks for your response. Can you please tell me if I can update the metadata files using aether api programmatically. Is Aether support this? Or any other way I can do this?

Thanks,
Renjith R


On Thu, Jan 22, 2015 at 10:30 PM, <aether-dev-request@xxxxxxxxxxx> wrote:
Send aether-dev mailing list submissions to
        aether-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        https://dev.eclipse.org/mailman/listinfo/aether-dev
or, via email, send a message with subject or body 'help' to
        aether-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
        aether-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of aether-dev digest..."


Today's Topics:

   1. maven-metadata.xml file not updating correctly. (Ren Jith)
   2. Re: maven-metadata.xml file not updating correctly.
      (Jason van Zyl)


----------------------------------------------------------------------

Message: 1
Date: Thu, 22 Jan 2015 11:29:44 +0530
From: Ren Jith <sachrenj@xxxxxxxxx>
To: "aether-dev@xxxxxxxxxxx" <aether-dev@xxxxxxxxxxx>
Subject: [aether-dev] maven-metadata.xml file not updating correctly.
Message-ID:
        <CAMEi7Lg-Fc6jVEbcZAm3Xj7etUMm6=tcrMcJcANhg1ZLX=ng0w@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"

Hi,

I tried to push some artifact to nexus using aether api programmatically.
I have pushed different versions of an artifact. I saw in
maven-metadata.xml file, there is only release tag but not the latest tag
for the last artifact i have pushed.

Second case is when I deleted an artifact from nexus remote repository, the
maven-metadata file is not updated correctly.

Is there any way I can update the metadata file. If I can do that by
programmatically, it would be better.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.eclipse.org/mailman/private/aether-dev/attachments/20150122/176dee3a/attachment.html>

------------------------------

Message: 2
Date: Thu, 22 Jan 2015 08:24:20 -0500
From: Jason van Zyl <jason@xxxxxxxxx>
To: Aether project developer discussions <aether-dev@xxxxxxxxxxx>
Subject: Re: [aether-dev] maven-metadata.xml file not updating
        correctly.
Message-ID: <CAFAFDAE-C1B8-4A9B-97B4-8443B2AC47CF@xxxxxxxxx>
Content-Type: text/plain; charset=us-ascii


On Jan 22, 2015, at 12:59 AM, Ren Jith <sachrenj@xxxxxxxxx> wrote:

> Hi,
>
> I tried to push some artifact to nexus using aether api programmatically.  I have pushed different versions of an artifact. I saw in maven-metadata.xml file, there is only release tag but not the latest tag for the last artifact i have pushed.
>

Can you paste the code you're using as you should have metadata files that look like the following:

http://repo1.maven.org/maven2/org/apache/maven/apache-maven/maven-metadata.xml

But you need to setup Aether the same way Maven setups Aether for deployments.

> Second case is when I deleted an artifact from nexus remote repository, the maven-metadata file is not updated correctly.
>

This is a Nexus issue and its up to Nexus to update metadata on the server side. Maven only knows how to retrieve the file that is present and updating it with the version Maven is currently deploying. Maven has no knowledge of what is actually on the server.

> Is there any way I can update the metadata file. If I can do that by programmatically, it would be better.
>
> Thanks
> _______________________________________________
> aether-dev mailing list
> aether-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/aether-dev

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder, Takari and Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/takari_io
---------------------------------------------------------

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

-- Thoreau














------------------------------

_______________________________________________
aether-dev mailing list
aether-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aether-dev

End of aether-dev Digest, Vol 31, Issue 2
*****************************************


Back to the top