You can change where the repository is located using

MAVEN_HOME_LOCAL=E:\maven for example.

Also, if you check out the full trunk (core, shared, tomahawk) at a
specific revision, I would think you could build everything without
having to worry about MyFaces versions and repository snapshots.

On 12/20/06, Jeff Bischoff <[EMAIL PROTECTED]> wrote:
Simon Kitching wrote:
 >> For Windows, look in c:\Documents and Settings\{your user}\.m2

Ah yes, after I got home I started to think that the document and
settings might be the place to look - windows' lackluster equivalent of
the user home directory. Thanks, I see it now! :)

 > And by the way, I assume you're building:
 >    http://svn.apache.org/repos/asf/myfaces/shared/trunk/pom.xml

Actually no, I'm building the Tomahawk 1.1.4 branch, from the shared [2]
and tomahawk [3] locations defined in the status [1] document.

I do see a similar dependancy on 2.0.4 in the 1.1.4 tomahawk pom though,
so I see what you are saying. I found the 2.0.4 stuff in the .m2
directory, and the modified dates were all as expected from my local
build. I also have the 2.0.5 shared folders in there, but I assume
that's from earlier when I did build everything from the trunk.

This .m2 folder is safe to delete right? Would just force me to
redownload all dependencies again I guess.

[1] http://svn.apache.org/repos/asf/myfaces/current/STATUS.txt
[2] http://svn.apache.org/repos/asf/myfaces/shared/branches/2_0_4/
[3] http://svn.apache.org/repos/asf/myfaces/tomahawk/branches/1_1_4/

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

Simon Kitching wrote:
> Simon Kitching wrote:
>> Jeff Bischoff wrote:
>>> Simon,
>>>
>>> Thanks a lot for responding. I'm still a bit confused, as I don't see
>>> a ".m2" directory anywhere. I should mention that I am using windows
>>> - do that change the behaviour at all?
>>
>> For Windows, look in c:\Documents and Settings\{your user}\.m2
>
> And by the way, I assume you're building:
>    http://svn.apache.org/repos/asf/myfaces/shared/trunk/pom.xml
>
> You can see that it creates version 2.0.5-SNAPSHOT (and installs it
> under that version-id in your local m2 directory):
>   <groupId>org.apache.myfaces.shared</groupId>
>   <artifactId>myfaces-shared-project</artifactId>
>   <packaging>pom</packaging>
>   <name>MyFaces Shared Project</name>
>   <version>2.0.5-SNAPSHOT</version>
>
>
> Looking at
>   http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/
> you can see that file core/pom.xml declares a dependency on shared
> 2.0.5-SNAPSHOT:
>     <dependency>
>       <groupId>org.apache.myfaces.shared</groupId>
>       <artifactId>myfaces-shared-tomahawk</artifactId>
>       <version>2.0.5-SNAPSHOT</version>
>       <scope>provided</scope>
>     </dependency>
> which means that it will pick up the file from your local .m2 directory
> that was installed by building the shared code.
>
> Cheers,
>
> Simon
>
>
>



Reply via email to