Hi Joshua,

You can overwrite the directories used by MAVEN using

>>> Snippet >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

# location of repositpory
maven.repo.local = c:/apps/java/maven/repository
# location of plugins
maven.plugin.dir = c:/apps/java/maven/plugins
maven.plugin.unpacked.dir = c:/apps/java/maven/plugins

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

within a build.properties file located at %USER_HOME%, i.e. in your 
case :  

C:\Documents and Settings\Joshua

This is especially helpful if you are using XALAN for XML 
Transformation wihtin a MAVEN plugin ... :-)
And the build.properties is also the place to store your custom 
settings such as background color, checkstyle format ....

Hope this helps ....

Siegfried Goeschl


On 29 Jul 2003 at 15:23, Joshua Spiewak wrote:

> Hi there,
> 
> I just started using Maven and had a couple of questions.  I am using
> version 1.0-beta-10 on Windows XP with Cygwin tools and Emacs (with
> JDEE).
> 
> The first question is why are the plugins and local repository created
> in C:\Documents and Settings\Joshua\.maven when %HOME% is set to
> c:\jss?  I get around this by setting %MAVEN_HOME_LOCAL%, but it
> doesn't seem like that should be necessary.
> 
> The second question is a bit more complex.  I am used to building from
> Emacs, using JDEE, so I figured I would extend JDEE to be able to run
> Maven in a similar fashion to how it runs Ant.  Initially this went
> pretty easily, but I am now stuck wrestling with the --dir and --pom
> command line options of Maven.  If I am one directory down from the
> top level of my project, I can successfully run maven with --pom
> ../project.xml.  However, I cannot seem to specify an absolute path
> (with either tcsh or cmd), and trying to use --dir doesn't seem to
> help.  Any ideas what I am doing wrong? 
>  I have tried "d:/work/project" and "/cygdrive/d/work/project" and
> "d:\work\project", all unsuccessfully.
> 
> Thanks in advance, and keep up the work on what looks like a very
> promising project!
> 
>    -- Josh
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For
> additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to