Hi Marco,
Thanks for updating us with your findings. This is a good entry for the FAQ.
I should be able to update in the next few days but if you want to do it
first please do so.
http://wiki.java.net/bin/view/Projects/GlassFishBuildQuestions
Carla
Marco Tedone wrote:
> Hi, just an hint. If you were already using Maven before GlassFish, and
> you had a build.properties in your %HOME%\ or %HOMEPATH% folder, beware
> of the conflicts that properties set there may have with properties set
> in the bootstrap folder.
>
> In my case it happened that I declared a maven.repo.remote property
> pointing not to the locations where the GlassFish dependencies are
> stored; although in the glassfish/bootstrap/project.properties there is
> a maven.repo.remote property
> (maven.repo.remote=http://download.java.net/javaee5/nightly/${glassfish.os.name}/,http://download.java.net/javaee5/external/${glassfish.os.name}/,http://download.java.net/javaee5/external/shared,http://www.ibiblio.org/maven),
> the one I set in my home folder took precedence, and therefore Maven
> couldn't find the dependencies.
>
> I solved by appending all the GF locations to my current ones.
>
> HTH.
>
> Marco
>
> ---
> [This E-mail has been scanned for viruses but it is your responsibility
> to maintain up to date anti virus software on the device that you are
> currently using to read this email. ]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
--
Carla Mott
Sun Microsystems
carla.mott_at_sun.com