dev@glassfish.java.net

Re: V3 Build Error

From: Sreenivas Munnangi <Sreenivas.Munnangi_at_Sun.COM>
Date: Tue, 22 Jan 2008 19:40:52 -0800

Jerome Dochez wrote:

> Usually this error means you are in a directory without any pom.xml.
> Did you really check out the worspece in your home directory.
>
I figured it, after checking out, I was doing 'mvn -U install' above
'v3' directory instead of doing it from within 'v3'. Now it failed with
a build error related to 'ant' for which I think you had already checked
in a fix. Sorry for the inconvenience.

> Jerome
>
> On Jan 22, 2008, at 7:12 PM, Sreenivas Munnangi
> <Sreenivas.Munnangi_at_Sun.COM > wrote:
>
>> Ludovic Champenois wrote:
>>
>>> Sreenivas Munnangi wrote:
>>>
>>>> After removing .m2 and with a clean checkout and mvn -U install, I
>>>
>>>
>>> in which directory? v3?
>>
>>
>> home directory on solaris machine
>>
>>>
>>> Ludo
>>>
>>>> get the following error.
>>>>
>>>> [INFO] Reloading plugin container for:
>>>> org.apache.maven.plugins:maven-surefire-plugin. The plugin
>>>> artifact has changed.
>>>> [INFO] Reloading plugin container for:
>>>> org.apache.maven.plugins:maven-jar-plugin. The plugin artifact has
>>>> changed.
>>>> [INFO] Reloading plugin container for:
>>>> org.apache.maven.plugins:maven-install-plugin. The plugin artifact
>>>> has changed.
>>>> [INFO] --- ---
>>>> ------------------------------------------------------------------
>>>> [ERROR] BUILD ERROR
>>>> [INFO] --- ---
>>>> ------------------------------------------------------------------
>>>> [INFO] Cannot execute mojo: resources. It requires a project with
>>>> an existing pom.xml, but the build is not using one.
>>>> [INFO] --- ---
>>>> ------------------------------------------------------------------
>>>>
>>>>
>>>> --- ------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>