db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdo-comm...@db.apache.org
Subject [Apache JDO Wiki] New: MavenInfo
Date Wed, 02 Mar 2005 15:09:43 GMT
   Date: 2005-03-02T07:09:43
   Editor: MichaelBouschen
   Wiki: Apache JDO Wiki
   Page: MavenInfo
   URL: http://wiki.apache.org/jdo/MavenInfo

   Maven info

New Page:

= Overview =

The apache JDO project uses [http://maven.apache.org maven] for build. 
The current maven version is 1.0.2, you can download it from [http://maven.apache.org/start/download.html
here].

= Getting Started =

The maven page provides a [http://maven.apache.org/start/index.html GettingStarted] description.

Another useful link is the [http://maven.apache.org/reference/user-guide.html user guide].


You need at least two environment variables:
 {{{
MAVEN_HOME root directory of your maven installation
JAVA_HOME root directory of your JDK installation
}}}
You might need to extend the JVM heap size when running some maven goals. An easy way is defining
the environment variable as 
 {{{
MAVEN_OPTS=-Xmx512m
}}}

Once you installed maven you could try to build the apache jdo maven project. You find the
latest zip at SubversionRepository.
Unzip the file, cd to the directory jdo and then call
 {{{
maven -Dgoal=build multiproject:goal
}}}
This builds the sub-projects api11, btree, ri11, and tck11. It will take a while, since this
compiles and tests the 4 sub-projects. The following command builds everything including the
documentation:
 {{{
maven multiproject:site
}}}

= Access through a proxy =

Maven allows to set a HTTP proxy host and port so that it can tunnel through a HTTP Proxy
if you are behind a firewall.
You find details [http://maven.apache.org/reference/user-guide.html#Using_Proxies here].

I propose you create a file ${user.home}/build.properties with the following two lines:
 {{{
maven.proxy.host = your.proxy.name
maven.proxy.port = 3128
}}}

Please use the regular http proxy settings in case you want to access the the repository from
the Sun network (SWAN). 

The btree subproject accesses the netbeans cvs reporsitory to download the btree sources.
This might not work if you are behind a firewall that blocks the cvs port [http://www.netbeans.org/community/sources
see]. If you are inside the Sun network (SWAN) you can use the alternative CVSROOT. 
 {{{
CVSROOT=:pserver:anoncvs@cvsnetbeansorg.sfbay.sun.com:/cvs
}}}
Please have a look at the file project.properties of the btree sub-project.

= IDE plugins =

There is a nice maven plugin called Mevenide for Eclipse and Netbeans. You find details [http://mevenide.codehaus.org
here].

Mime
View raw message