users@glassfish.java.net

Problem while building...fixed

From: Marco Tedone <mtedone_at_jemos.co.uk>
Date: Fri, 17 Mar 2006 21:58:15 -0000

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