|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Search for poms kind of brokenHello,
Searching for poms seems to be more or less broken in Nexus 1.4.0. The search seems to only return poms if their packaging type is pom. This can be reproduced on the Sonatype repository. E. g. the following search yields 11 results but only one pom is in the result (guice-parent): http://repository.sonatype.org/index.html#nexus-search;gav~google~guice~2.0~~ E. g. the following search yields no result at all but the pom is obviously there: http://repository.sonatype.org/index.html#nexus-search;gav~google~guice-servlet~2.0~pom~ Reinhard --------------------------------------------------------------------- To unsubscribe, e-mail: nexus-user-unsubscribe@... For additional commands, e-mail: nexus-user-help@... |
|
|
Re: Search for poms kind of brokenThis appears to be working normally, let me explain:
The search is for an artifact. If you have a jar, the packaging type in the pom is jar, not pom. If you search for packaging type pom, you are asking for things that actually have a packaging type of pom. If you search for a jar, like you've done in the first example, click on the result and in the pane below you can find a link to the jar and the jar's pom. The data is stored in the index per gav, then for each gav it is noted what classified artifacts exist such as sources, javadoc, pom etc, there isn't a unique entry for each file. On Fri, Nov 13, 2009 at 6:08 AM, Reinhard Nägele <reinhard.naegele@...> wrote: > Hello, > > Searching for poms seems to be more or less broken in Nexus 1.4.0. The > search seems to only return poms if their packaging type is pom. This can be > reproduced on the Sonatype repository. > > E. g. the following search yields 11 results but only one pom is in the > result (guice-parent): > http://repository.sonatype.org/index.html#nexus-search;gav~google~guice~2.0~~ > > E. g. the following search yields no result at all but the pom is obviously > there: > http://repository.sonatype.org/index.html#nexus-search;gav~google~guice-servlet~2.0~pom~ > > Reinhard > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: nexus-user-unsubscribe@... > For additional commands, e-mail: nexus-user-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: nexus-user-unsubscribe@... For additional commands, e-mail: nexus-user-help@... |
|
|
Re: Search for poms kind of brokenI think I misinterpreted what packaging type does, so I agree the
behavior is correct for my second example. Regarding the first example, this had been different in earlier Nexus versions. Poms would be returned as well by the search if no packaging type was specified. So, at the moment I cannot search for a pom with a packaging type other than pom. I will always have to search for the artifact and get the corresponding pom from the information pane at the bottom of the screen. I guess I need to get used to this. I could not find this change mentioned in the release notes. Reinhard Brian Fox schrieb: > This appears to be working normally, let me explain: > > The search is for an artifact. If you have a jar, the packaging type > in the pom is jar, not pom. If you search for packaging type pom, you > are asking for things that actually have a packaging type of pom. If > you search for a jar, like you've done in the first example, click on > the result and in the pane below you can find a link to the jar and > the jar's pom. > > The data is stored in the index per gav, then for each gav it is noted > what classified artifacts exist such as sources, javadoc, pom etc, > there isn't a unique entry for each file. > > On Fri, Nov 13, 2009 at 6:08 AM, Reinhard Nägele > <reinhard.naegele@...> wrote: > >> Hello, >> >> Searching for poms seems to be more or less broken in Nexus 1.4.0. The >> search seems to only return poms if their packaging type is pom. This can be >> reproduced on the Sonatype repository. >> >> E. g. the following search yields 11 results but only one pom is in the >> result (guice-parent): >> http://repository.sonatype.org/index.html#nexus-search;gav~google~guice~2.0~~ >> >> E. g. the following search yields no result at all but the pom is obviously >> there: >> http://repository.sonatype.org/index.html#nexus-search;gav~google~guice-servlet~2.0~pom~ >> >> Reinhard >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: nexus-user-unsubscribe@... >> For additional commands, e-mail: nexus-user-help@... >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: nexus-user-unsubscribe@... > For additional commands, e-mail: nexus-user-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: nexus-user-unsubscribe@... For additional commands, e-mail: nexus-user-help@... |
|
|
Re: Search for poms kind of brokenOn Fri, Nov 13, 2009 at 9:06 AM, Reinhard Nägele
<reinhard.naegele@...> wrote: > I think I misinterpreted what packaging type does, so I agree the behavior > is correct for my second example. > > Regarding the first example, this had been different in earlier Nexus > versions. Poms would be returned as well by the search if no packaging type > was specified. Right, this caused confusion when you were simply looking for the primary artifact, you would get results listing every attached artifact with the same gav. This changed between 1.2.x and 1.3.x when we also introduced the incremental index consumption and the new format (.gz instead of .zip). The old format was essentially file based and it was more complicated to find associated artifacts. The new format is gav based. So, at the moment I cannot search for a pom with a packaging > type other than pom. I will always have to search for the artifact and get > the corresponding pom from the information pane at the bottom of the screen. > I guess I need to get used to this. I could not find this change mentioned > in the release notes. > > Reinhard > > > Brian Fox schrieb: >> >> This appears to be working normally, let me explain: >> >> The search is for an artifact. If you have a jar, the packaging type >> in the pom is jar, not pom. If you search for packaging type pom, you >> are asking for things that actually have a packaging type of pom. If >> you search for a jar, like you've done in the first example, click on >> the result and in the pane below you can find a link to the jar and >> the jar's pom. >> >> The data is stored in the index per gav, then for each gav it is noted >> what classified artifacts exist such as sources, javadoc, pom etc, >> there isn't a unique entry for each file. >> >> On Fri, Nov 13, 2009 at 6:08 AM, Reinhard Nägele >> <reinhard.naegele@...> wrote: >> >>> >>> Hello, >>> >>> Searching for poms seems to be more or less broken in Nexus 1.4.0. The >>> search seems to only return poms if their packaging type is pom. This can >>> be >>> reproduced on the Sonatype repository. >>> >>> E. g. the following search yields 11 results but only one pom is in the >>> result (guice-parent): >>> >>> http://repository.sonatype.org/index.html#nexus-search;gav~google~guice~2.0~~ >>> >>> E. g. the following search yields no result at all but the pom is >>> obviously >>> there: >>> >>> http://repository.sonatype.org/index.html#nexus-search;gav~google~guice-servlet~2.0~pom~ >>> >>> Reinhard >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: nexus-user-unsubscribe@... >>> For additional commands, e-mail: nexus-user-help@... >>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: nexus-user-unsubscribe@... >> For additional commands, e-mail: nexus-user-help@... >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: nexus-user-unsubscribe@... > For additional commands, e-mail: nexus-user-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: nexus-user-unsubscribe@... For additional commands, e-mail: nexus-user-help@... |
| Free embeddable forum powered by Nabble | Forum Help |