i don't completely agree:

- to be searched by nexus, repo needs to be nexus-aware: i.e.
"nexus-maven-repository-index.properties and
nexus-maven-repository-index.zip files need to be deployed to the
/.index folder at maven repository root".

we are mainly talking about wicketstuff projects currently hosted in a
non-indexed (nothing at
http://wicketstuff.org/maven/repository/.index/) community-owned repo.
as far as i know, there are no wicket components in maven central
repo.
 i insist, so long as wicketstuff is *our repo* we can do whatever we
want with it. we can decide *not to ban* wickethub's crawler (our
crawler). we still can use nexus though, but we're not forced to do so

- moreover, no specific metadata indexed:

"Nexus indexer component provides an API to index Maven repository,
merge and download index updates. It also provides an API to search
through registered indexes using various search criteria, including:

    * Browse through repository indexes
    * Search jars by artifactId and groupId
    * Search jars by the packaging type (e.g. to find Maven plugins or
Archetypes)
    * Search jars by sha1 (e.g. to identify arbitrary jars with actual
Maven artifacts)
    * Search Maven artifacts/jar by class name (e.g. resolve classpath
issues from build errors or class not found exceptions)"

...knowing that we need to index specific metadata
(http://cwiki.apache.org/confluence/display/WICKET/Wicket+Component+JAR+Metadata).
by the way, i wouldn't store metadata under META-INF inside the jar; i
would rather include it in the pom file.

let's put an example, let's say we need to display up-to-date url of
screenshots (or examples or whatever)

Screenshots=http://mycomponents.com/slider/screenshots/1.jpg,http://mycomponents.com/slider/screenshots/2.jpg,...

wickethub will somehow need to know about those urls. how could it
grab that out of nexus? i had a look at their lucene api and i'm not
aware of the aforementioned scenario being possible.

wickethub's crawler is a custom solution. it has to be smarter in that
regard - to be able to keep synchronized custom data *we* (but not
everybody) will be using in maven artifacts.

francisco



On Thu, Jan 15, 2009 at 5:37 PM, Jonathan Locke
<[email protected]> wrote:
>
>
> cool. this definitely looks like the right approach to me (assuming it
> indexes most of the big repos)
>
>       jon
>
>
> Rodolfo Hansen wrote:
>>
>> Yes, you should use the nexus index for the repository
>> http://nexus.sonatype.org/
>>
>> The indexer api is pretty straight forward:
>> http://docs.codehaus.org/display/M2ECLIPSE/Nexus+Indexer#NexusIndexer-NexusIndexerAPIExample
>>
>> you could search for artifacts with the appropriate metadata, or search
>> inside the jars for some specific file / class (I think)
>>
>> On Thu, Jan 15, 2009 at 5:00 AM, francisco treacy <
>> [email protected]> wrote:
>>
>>> wasn't this someone martijn?
>>>
>>> On Tue, Dec 16, 2008 at 8:55 PM, Martijn Dashorst
>>> <[email protected]> wrote:
>>> > For perusing the maven repository, one should contact the guys from
>>> > nexus. They have an api for reading/indexing the repository. Don't
>>> > crawl the repository-that will surely get you banned.
>>>
>>> i replied >
>>>
>>> martijn, banning policies are issued by repository owners. i don't
>>> know which repo you're referring to as "the maven repository".
>>> central? apache?
>>>
>>> i suggested setting up or reusing a repo that would be mainly for
>>> wicket components, and owned by the project/ community. advantages:
>>>
>>>  - we simply don't ban wickethub's crawler
>>>  - we provide guidelines for wicket developers to easily publish their
>>> artifacts (and possibly check if metadata is present, etc)
>>>
>>> as for the rest ('non-compliant'), that would be maintained manually
>>> so no crawling involved.
>>>
>>> francisco
>>>
>>>
>>> On Wed, Jan 14, 2009 at 11:40 PM, Jonathan Locke
>>> <[email protected]> wrote:
>>> >
>>> >
>>> > yeah, you really do need a maven expert's help i think. i was chatting
>>> with
>>> > someone about this and they said something to the effect of: "oh, god
>>> no
>>> > don't crawl the maven repo. you'll get banned." so there's some more
>>> > official way of doing this apparently.
>>> >
>>> >
>>> > francisco treacy-2 wrote:
>>> >>
>>> >> here it is:
>>> >>
>>> >> http://code.google.com/p/wickethub/  (source code for the
>>> >> http://wickethub.org/ webapp)
>>> >>
>>> >> a small piece of code (with not even unit tests so far) but hopefully
>>> >> the way to start addressing our ideas:
>>> >>
>>> >>>> http://www.nabble.com/idea:-automatic-component-repo-to17979177.html
>>> >>>>
>>> >>>>
>>> http://web.mac.com/jonathan.locke/iWeb/JonathanLocke/Blog/ECA681FB-4B9C-4C27-9947-C9901F99E154.html
>>> >>>> http://www.nabble.com/wickethub.org-td20995774.html
>>> >>
>>> >> let me know if you're interested in contributing. i'd particularly
>>> >> like to find a maven power-user(s) who'd like to help implementing
>>> >> some of jon's "automatic component repo" thingy.
>>> >> nino, what about the "archetypes for wicketstuff"?
>>> >>
>>> >> francisco
>>> >>
>>> >>
>>> >> On Sat, Dec 20, 2008 at 9:00 PM, Nino Martinez
>>> >> <[email protected]> wrote:
>>> >>> Ahh, no did'nt follow the thing that far, will read up on it now..
>>> >>>
>>> >>> I'll be looking forward to see some stuff in a couple of weeks :)
>>> >>>
>>> >>> francisco treacy wrote:
>>> >>>>
>>> >>>> hi nino,
>>> >>>>
>>> >>>> have you seen jon's idea of automatic component , and/or
>>> wickethub.org
>>> >>>> thread?  discussion went around providing to wicket component
>>> >>>> developers some sort of archetype that can help to 'standardize'/
>>> >>>> 'give more structure'  - also useful to perhaps crawl those
>>> artifacts
>>> >>>> (with metadata) and keep them up-to-date in a sort of registry. it
>>> >>>> would be good to join efforts.
>>> >>>>
>>> >>>> http://www.nabble.com/idea:-automatic-component-repo-to17979177.html
>>> >>>>
>>> >>>>
>>> http://web.mac.com/jonathan.locke/iWeb/JonathanLocke/Blog/ECA681FB-4B9C-4C27-9947-C9901F99E154.html
>>> >>>> http://www.nabble.com/wickethub.org-td20995774.html
>>> >>>>
>>> >>>> i'd really like to really tackle this one, once i'm back from
>>> holidays
>>> >>>> in about 2 weeks. gonna tidy up a bit and open source that wickethub
>>> >>>> code.
>>> >>>>
>>> >>>> cheers,
>>> >>>> francisco
>>> >>>>
>>> >>>>
>>> >>>> On Sat, Dec 20, 2008 at 9:22 AM, Nino Martinez
>>> >>>> <[email protected]> wrote:
>>> >>>>
>>> >>>>>
>>> >>>>> Hi
>>> >>>>>
>>> >>>>> I were thinking that it would be nice to have archetypes for single
>>> >>>>> wicketstuff core project and one with a multi module (the stuff
>>> project
>>> >>>>> and
>>> >>>>> a example one), I guess it would provide event more structure..
>>> >>>>>
>>> >>>>> WDYT?
>>> >>>>>
>>> >>>>> regards Nino
>>> >>>>>
>>> >>>>>
>>> ---------------------------------------------------------------------
>>> >>>>> To unsubscribe, e-mail: [email protected]
>>> >>>>> For additional commands, e-mail: [email protected]
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>
>>> >>>>
>>> ---------------------------------------------------------------------
>>> >>>> To unsubscribe, e-mail: [email protected]
>>> >>>> For additional commands, e-mail: [email protected]
>>> >>>>
>>> >>>>
>>> >>>
>>> >>>
>>> >>> ---------------------------------------------------------------------
>>> >>> To unsubscribe, e-mail: [email protected]
>>> >>> For additional commands, e-mail: [email protected]
>>> >>>
>>> >>>
>>> >>
>>> >> ---------------------------------------------------------------------
>>> >> To unsubscribe, e-mail: [email protected]
>>> >> For additional commands, e-mail: [email protected]
>>> >>
>>> >>
>>> >>
>>> >
>>> > --
>>> > View this message in context:
>>> http://www.nabble.com/Wicket-stuff-core%2C-archetypes--tp21102842p21466906.html
>>> > Sent from the Wicket - User mailing list archive at Nabble.com.
>>> >
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: [email protected]
>>> > For additional commands, e-mail: [email protected]
>>> >
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Wicket-stuff-core%2C-archetypes--tp21102842p21481411.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to