dev@glassfish.java.net

Re: Does QL require maven repository at default location

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Mon, 29 Sep 2008 15:48:32 -0700

Kumar,

I also keep a repo in a different place (/v3/repo), and I get the same
error unless I use -Dmaven.repo.local

mvn -Dmaven.repo.local=/v3/repo -Dglassfish.home=/v3/glassfish test

Lloyd

..............................................
Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish team, LSARC member






On Sep 29, 2008, at 3:30 PM, V B Kumar Jayanti wrote:

> Hi,
>
> I recently moved my maven repo location from the default home-
> dir/.m2/repository to another location specified in home-dir/.m2/
> settings.xml. Now when run QL i see the following error :
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error
> occurred while exe
> cuting this line:
> E:\FRESH\V3\Aug26\quicklook\build.xml:61: The following error
> occurred while exe
> cuting this line:
> E:\FRESH\V3\Aug26\quicklook\build.xml:129: The following error
> occurred while ex
> ecuting this line:
> E:\FRESH\V3\Aug26\quicklook\classloader\hellojsf\build.xml:57: C:
> \Documents and
> Settings\chotu\.m2\repository\com\sun\jsftemplating\jsftemplating-
> dynafaces\0.1
> not found.
> -----------------------------------------------
>
> It seems to be looking for things at the default repo. Can someone
> tell me how to fix this. I tried mvn clean, but it does not seem to
> help.
>
> regards,
> kumar
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>