dev@glassfish.java.net

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

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Fri, 13 Jun 2008 07:23:31 -0700

Yes, you need to go into hk2/hk2.

Remember that if you are building HK2, V3 won't pick up your built
version because of versioning. One workaround is copying the jars
into the modules directly prior to starting V3.

lloyd


On Jun 13, 2008, at 6:55 AM, Kedar Mhaswade wrote:

> Hmmm. I thought I was in the correct folder. But maybe not.
> Things look better now. Thank you!
>
> - Kedar
>
>
> Sahoo wrote:
>> 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
>>>
>> ---------------------------------------------------------------------
>> 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
>

---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc