No - you don't need to generate a netbeans project - Netbeans can work natively with Maven projects, you can just open a maven project in netbeans and use it (you need to have the Maven plugins for netbeans installed obviously). That page you pointed me too is pretty old. As I said - I'm not having any problems at all creating and building Maven projects. This is just so that you can easily browse remote repositories to see what modules are available and add them to your project etc.

I'm pretty sure the index thing is nothing to do with Maven, since most other maven repositories seem to have it, and it doesn't seem to be anything at all to do with my Netbeans installation. For instance have a look at : http://repo1.maven.org/maven2/.index

Maybe you're using Windows and Maven might call the index by a different name on Windows. I'll do some research when i get time.

J


On 21 May 2008, at 12:25, Grégory Joseph wrote:


On May 20, 2008, at 23:37 , joshua portway wrote:

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.

I actually meant generating the Netbeans project using the appropriate Maven plugin - which is what the link I pasted explains. Now maybe the repository browser you're trying to use is not "linked" to projects in Netbeans, I have no idea :D

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).

There's no such file on our repository indeed - and the same goes for my local repository btw, so I suspect it's a Netbeans thing ... ?

-g

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



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

Reply via email to