maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn Dashorst <mart...@dashorst.dds.nl>
Subject Re: how to set path for repository and cache in .maven
Date Tue, 05 Oct 2004 08:53:14 GMT
Weining,

See the User Guide on : 
http://maven.apache.org/reference/user-guide.html#Behavioural_Properties

Here you'll find maven.repo.local and maven.plugin.unpacked.dir doing 
what you want. Put them in your build.properties in the

C:\Documents and Settings\wh

directory.


Martijn


Weining Hao wrote:

>Hi,
>
>We try to use Maven to build samples of AndroMDA. We have done the following
>steps:
>1. Download Maven and extract into C:\Programs\maven-1.0
>2. Download AndroMDA and extract into
>C:\Programs\andromda-bin-3.0M3-SNAPSHOT
>3. Set JAVA_HOME; MAVEN_HOME; ANDROMDA_HOME; add the
>C:\Programs\maven-1.0\bin into the path in the system
>4. Under a sample of AndroMDA we run maven, \.maven\repository and
>\.maven\cache are created in the path C:\Documents and Settings\wh, which is
>our profile.
>
>Because the size of our profile space is limited, We want to create the
>repository and cache in other place in our computer.
>
>5. To create the repository, We used this command line ==>
>"C:\Programs\maven-1.0\bin>install_repo.bat
>C:\NovaTec\MT\Workspace\.maven\repository", it works, the repository is
>created in the right position, including lots *.jar files.
>6. Under the sample run maven again
>
>
>But \.maven\repository and \.maven\cache are still created in the path
>C:\Documents and Settings\wh, and there is no change of new repository.
>
>What's the reason? How can we really create our repository and cache under
>another directory?
>
>We would be grateful if you can answer our question. We are looking forward
>to your feedback.
>
>Best Regards,
>Weining, Serafettin
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message