Dashboard > WG: Programmer's Cafe > ... > Maven 1.0.x > Maven 1.x build.properties file
  WG: Programmer's Cafe Log In | Signup View a printable version of the current page.  
  Maven 1.x build.properties file
Added by Aaron Zeckoski, last edited by Aaron Zeckoski on May 20, 2008  (view change)
Labels: 
(None)

  1. Create a new text file in your user home directory called build.properties
    • Note: This is probably c:\documents and settings\<username> in Windows
  2. Add the following lines:
    maven.repo.remote = http://source.sakaiproject.org/maven/,http://repo1.maven.org/maven/
    maven.tomcat.home = /opt/tomcat/
    
    • Note: The trailing slashes are required
    • Note: You must use forward slashes
    • Note: You must have spaces around the "="
    • Note: Do NOT change / to \ if using windows
    • Note: DO add c: to the path if using windows
  • (optional) Users who use a network proxy need to do add the following to their file
    maven.proxy.host = www.your.proxy.host
    maven.proxy.port = 80
    maven.proxy.username = your_username
    maven.proxy.password = your_password
    maven.proxy.nonProxyHosts = localhost
    
    • If you do not use a username or password for your proxy just leave out those 2 lines
    • You only need the nonProxyHosts option if you have a local maven repo that does not require the proxy to be accessed

Site running on a free Atlassian Confluence Open Source Project License granted to Sakai Foundation. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.5 Build:#811 Jul 25, 2007) - Bug/feature request - Contact Administrators