|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
NEXUS-720: Deleting repository item (via UI) does not update maven-metadata.xmlDoes anybody still experience this problem
https://issues.sonatype.org/browse/NEXUS-720 With the release 1.3.6 of Nexus under Linux? The file util-global/maven-metadata.xml still contains the reference to an artifact that we removed (<latest>2.6.0-SNAPSHOT</latest>, <version>2.6.0-SNAPSHOT</version>). There is also a file "nexus/work/storage/snapshots/xx/xx/artifact_name/2.6.0-SNAPSHOT/maven-metadata.xml". Why? Thank you for your answers. Mit freundlichen Grüssen Jean-Claude Rouvinez Applikationsentwickler Software-Entwicklung Tel. +41 (0)31 377 75 67 Mobile +41 (0)79 597 34 26 E-Mail jean-claude.rouvinez@... Eidgenössisches Institut für Geistiges Eigentum Stauffacherstrasse 65/59g, CH-3003 Bern www.ige.ch --------------------------------------------------------------------- To unsubscribe, e-mail: nexus-user-unsubscribe@... For additional commands, e-mail: nexus-user-help@... |
|
|
Re: NEXUS-720: Deleting repository item (via UI) does not update maven-metadata.xmlHave you run rebuild metadata task? this should fix your issue.
Deleting a file item from the repository tree view won't trigger a maven-metadata update, this is because maven-metadata is based on Maven Artifact, not File. Actually, deleting items form the index browse view should trigger a maven-metadata update, because that view is based on Maven Artifact, but that's no implemented yet. So I think that ticket is obsolete. On Thu, Oct 8, 2009 at 12:05 AM, Rouvinez, Jean-Claude <Jean-Claude.Rouvinez@...> wrote: Does anybody still experience this problem -- - juven |
|
|
Re: NEXUS-720: Deleting repository item (via UI) does not update maven-metadata.xml>> Actually, deleting items form the index browse view should trigger a
maven-metadata update,
>> because that view is based
on Maven Artifact, but that's no implemented yet.
Does "but that's no implemented
yet" mean that we have to open a new NEXUS issue?
Does anybody know a workaround
or does the rebuild metadata task suffice?
|
|
|
Re: NEXUS-720: Deleting repository item (via UI) does not update maven-metadata.xmlI'd say that the rebuild task is the workaround.
I filed the original jira and I'm somewhat puzzled about the reponse below. I understand that there might be a difference between a File and a Maven artifact. But, if I delete something through the Nexus GUI is would assume that Nexus makes sure that meta data files are kept updated. I'm working an a Maven artifact repository through a manager; I'm now using a file explorer. If not, I should at least be informed about this or maybe even not allowed. /Anders On Thu, Oct 8, 2009 at 09:51, Rouvinez, Jean-Claude <Jean-Claude.Rouvinez@...> wrote:
|
|
|
Re: NEXUS-720: Deleting repository item (via UI) does not update maven-metadata.xmlthese 2 issues are related:
https://issues.sonatype.org/browse/NEXUS-1970 https://issues.sonatype.org/browse/NEXUS-1971 Since Nexus does not only work with maven repository, eg. Nexus Pro support p2 repository. the _Browse Storage_ tab should not know anything about Maven, it's just file based. while the _Browse Index_ tab is based on Nexus Index, which in turn is based on Maven artifacts, so we should handle maven-metadata.xml in that tab. On Thu, Oct 8, 2009 at 3:58 PM, Anders Hammar <anders@...> wrote: I'd say that the rebuild task is the workaround. -- - juven |
|
|
Re: NEXUS-720: Deleting repository item (via UI) does not update maven-metadata.xmlStill not obvious to the user, IMHO. Nexus should know what repo type it is and do the "right" thing.
/Anders On Thu, Oct 8, 2009 at 18:19, Juven Xu <juven@...> wrote: these 2 issues are related: |
|
|
Re: NEXUS-720: Deleting repository item (via UI) does not update maven-metadata.xmlWe had a long discussion about this today. Back in early snapshots of
1.3.x, we did tie the rebuild into the repository interface, but we found that this conflicted with other things trying to manage the repo such as the snapshot remover. The interface used here needs to allow raw access to the content for bulk operations (presumably like the snapshot remover it would run the metadata repair after the operation). Obviously internal details shouldn't affect the UI but we also consider the REST api for integration to need the same bulk capability. The end result is we won't be able to fix this before 1.4.0 but will see how to make it better after. On Thu, Oct 8, 2009 at 2:36 PM, Anders Hammar <anders@...> wrote: > Still not obvious to the user, IMHO. Nexus should know what repo type it is > and do the "right" thing. > > /Anders > > On Thu, Oct 8, 2009 at 18:19, Juven Xu <juven@...> wrote: >> >> these 2 issues are related: >> >> https://issues.sonatype.org/browse/NEXUS-1970 >> https://issues.sonatype.org/browse/NEXUS-1971 >> >> Since Nexus does not only work with maven repository, eg. Nexus Pro >> support p2 repository. the _Browse Storage_ tab should not know anything >> about Maven, it's just file based. while the _Browse Index_ tab is based on >> Nexus Index, which in turn is based on Maven artifacts, so we should handle >> maven-metadata.xml in that tab. >> >> On Thu, Oct 8, 2009 at 3:58 PM, Anders Hammar <anders@...> wrote: >>> >>> I'd say that the rebuild task is the workaround. >>> I filed the original jira and I'm somewhat puzzled about the reponse >>> below. I understand that there might be a difference between a File and a >>> Maven artifact. But, if I delete something through the Nexus GUI is would >>> assume that Nexus makes sure that meta data files are kept updated. I'm >>> working an a Maven artifact repository through a manager; I'm now using a >>> file explorer. If not, I should at least be informed about this or maybe >>> even not allowed. >>> >>> /Anders >>> >>> On Thu, Oct 8, 2009 at 09:51, Rouvinez, Jean-Claude >>> <Jean-Claude.Rouvinez@...> wrote: >>>> >>>> >> Actually, deleting items form the index browse view should trigger a >>>> >> maven-metadata update, >>>> >> because that view is based on Maven Artifact, but that's no >>>> >> implemented yet. >>>> Does "but that's no implemented yet" mean that we have to open a new >>>> NEXUS issue? >>>> >>>> Does anybody know a workaround or does the rebuild metadata task >>>> suffice? >>>> >>>> ________________________________ >>>> Von: Juven Xu [mailto:juven@...] >>>> Gesendet: Mittwoch, 7. Oktober 2009 18:14 >>>> An: nexus-user@... >>>> Betreff: [++Spam: medium] Re: [nexus-user] NEXUS-720: Deleting >>>> repository item (via UI) does not update maven-metadata.xml >>>> >>>> Have you run rebuild metadata task? this should fix your issue. >>>> >>>> Deleting a file item from the repository tree view won't trigger a >>>> maven-metadata update, this is because maven-metadata is based on Maven >>>> Artifact, not File. >>>> >>>> Actually, deleting items form the index browse view should trigger a >>>> maven-metadata update, because that view is based on Maven Artifact, but >>>> that's no implemented yet. >>>> >>>> So I think that ticket is obsolete. >>>> >>>> On Thu, Oct 8, 2009 at 12:05 AM, Rouvinez, Jean-Claude >>>> <Jean-Claude.Rouvinez@...> wrote: >>>>> >>>>> Does anybody still experience this problem >>>>> https://issues.sonatype.org/browse/NEXUS-720 >>>>> With the release 1.3.6 of Nexus under Linux? >>>>> >>>>> The file util-global/maven-metadata.xml still contains the reference to >>>>> an artifact that we removed (<latest>2.6.0-SNAPSHOT</latest>, >>>>> <version>2.6.0-SNAPSHOT</version>). >>>>> >>>>> There is also a file >>>>> "nexus/work/storage/snapshots/xx/xx/artifact_name/2.6.0-SNAPSHOT/maven-metadata.xml". >>>>> Why? >>>>> >>>>> Thank you for your answers. >>>>> >>>>> Mit freundlichen Grüssen >>>>> >>>>> Jean-Claude Rouvinez >>>>> Applikationsentwickler >>>>> Software-Entwicklung >>>>> >>>>> Tel. +41 (0)31 377 75 67 >>>>> Mobile +41 (0)79 597 34 26 >>>>> E-Mail jean-claude.rouvinez@... >>>>> >>>>> Eidgenössisches Institut für Geistiges Eigentum >>>>> Stauffacherstrasse 65/59g, CH-3003 Bern >>>>> >>>>> www.ige.ch >>>>> >>>>> >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: nexus-user-unsubscribe@... >>>>> For additional commands, e-mail: nexus-user-help@... >>>>> >>>> >>>> >>>> >>>> -- >>>> - juven >>> >> >> >> >> -- >> - juven > > --------------------------------------------------------------------- To unsubscribe, e-mail: nexus-user-unsubscribe@... For additional commands, e-mail: nexus-user-help@... |
|
|
Re: NEXUS-720: Deleting repository item (via UI) does not update maven-metadata.xmlOk, sounds good to me. Should the jira be re-opened?
/Anders On Fri, Oct 9, 2009 at 06:00, Brian Fox <brianf@...> wrote: We had a long discussion about this today. Back in early snapshots of |
| Free embeddable forum powered by Nabble | Forum Help |