From my understanding of maven:

If you have a build.properties in your user.home directory, the properties in this file will override those found in Jetspeed local directory.


Maven traditionally has used the user.home/.maven to place plugins/repository files. If you wish to override this, put in the user.home/build.properties file maven.repo.local=MYREPO. There is probably an override for plugins, but I don't know it.

Check out the maven doc if you haven't already. It may be able to answer some of your questions.

Jeremy Ford
[EMAIL PROTECTED]

From: "Jeff Boring" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Subject: newbe 1.5 build problems
Date: Wed, 28 Apr 2004 11:05:58 -0400

Environment: Jetspeed-1.5 (jetspeed-1.5-src.zip unzipped to
c:/jetspeed-1.5) on Windows XP. Maven v1.0 rc2 installed at c:\maven)

I'm trying to go thru the tutorials, starting with the Prerequisites.

On step 6. Build Jetspeed,

/jetspeed-1.5/maven war

and

/jetspeed-1.5/maven dist:install

both produce

        "Directory C:\Documents and Settings\Jeff
Boring\.maven\repository does not exist."

and proceed to create a plugins & .maven\repository directory under
"C:\Documents and Settings\Jeff Boring."

I assume this is an error since both directories already exists under
c:/maven. Maven FAQ says that "The default value for maven.repo.local is
now defined in the default.properties file and it has a value of
${maven.home.local}/repository." However, there is no default.properties
under either my maven or jetspeed-1.5 dirs.


jetspeed-1.5/project.properties says to set maven.home your "${user.home}/build.properties rather than here." I don't understand this. Setting maven.home in this file resolves the "repository does not exist" problem but still creates a plugin dir under "C:\Documents and Settings\Jeff Boring\"

How do I get the maven artifacts distributed with jetspeed-1.5-src.zip
to recognize my maven?

Jeff


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


_________________________________________________________________
From must-see cities to the best beaches, plan a getaway with the Spring
Travel Guide! http://special.msn.com/local/springtravel.armx


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



Reply via email to