From your answer I think we might have a bit of a misunderstanding - I'm not having any problem opening and building the actual Maven projects - that just works. The problem I'm having is mounting the Magnolia repository in Netbean's Maven repository browser - this lets you browse modules on a remote repository and add dependencies to them by just clicking on them.

I did a bit of rooting about in my local Maven repository I can see the index is a directory called ".index" in the repository folder of my repository (ie. at ~/.m2/repository/.index). I imagine this contains an index of everything in the repository, which allows the Netbeans repository browser to easily list it to the user without having to read everything in the remote repository. From what I can tell the Magnolia repository either doesn't have an index like that for some reason (maybe it's not a real Maven repository, but just a bunch of projects uploaded to the server?), or else your web server is configured to refuse to serve invisible files (so it's not letting me look in the ".index" directory).

J

On 20 May 2008, at 13:51, Grégory Joseph wrote:

Hi,

On May 17, 2008, at 02:40 , joshua portway wrote:

Hi all,
I've been working on some tutorials explaining how to start developing a Magnolia project from scratch using maven, netbeans and glassfish - progress so far is on the wiki. One problem I'm having is mounting the Magnolia Maven repository in Netbeans (which would allow browsing of the live repositories etc.). To mount the repository netbeans asks me for the "repository URL" and also the "index URL". I'm assuming the repository url is http://repo.magnolia.info/m2 - but I'm baffled about what the "index URL" is - can someone who knows more about Maven give me a hand here?

No idea what they mean by this... but did you check http://maven.apache.org/guides/mini/guide-ide-netbeans/guide-ide-netbeans.html ? Try using the plugin and see how the project is generated, and the value used for this setting, maybe ?

Also What are the equivalent URLs for the snapshot repository ?

http://repo.magnolia.info/snapshots/

-g

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to