dev@glassfish.java.net

Re: [v3] fresh hk2 build fails with (new) error :(

From: Sahoo <Sahoo_at_Sun.COM>
Date: Fri, 13 Jun 2008 06:46:14 -0700

Kedar Mhaswade wrote:
> I just wrote what the command did. The actual command I tried was:
> svn checkout https://svn.dev.java.net/svn/hk2/trunk
>
cd to trunk/hk2 and do a build.
> BTW, I have built hk2 in the past with the same set of commands. It's
> only now that they fail to build.
Are you saying that there is no pom.xml in hk2 dir? Is it possible that
you are working in the wrong hk2 directory? There could be two of them
because the repository root is also hk2.

Thanks,
Sahoo
>
> - Kedar
>
> Sahoo wrote:
>> I thought 'svn co' requires a URL. How are you able to check out by
>> just specifying hk2? I think you are not in the right directory when
>> you ran mvn. You need to checkout
>> https://hk2.dev.java.net/svn/hk2/trunk/hk2 and then cd to your
>> workspace to build.
>>
>> Thanks,
>> Sahoo
>>
>> Kedar Mhaswade wrote:
>>> 1- svn co hk2.
>>> 2- rm ~/.m2
>>> 3- cd hk2; mvn install
>>>
>>> Build fails --
>>>
>>> Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot
>>> execute mojo: resources. It requires a project with an existing
>>> pom.xml, but the build is not using one.
>>>
>>> Hudson is probably OK, but what's wrong here?
>>>
>>> Thanks for any help,
>>> Kedar
>>>
>>> ---------------------------------------------------------------------
>>> 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
>