|
Apache CXF example source code file (BUILDING.txt)
The Apache CXF BUILDING.txt source code
Building Apache CXF
=====================
Initial Setup
-------------
1) Install J2SE 5.0 SDK, which can be downloaded from
http://java.sun.com/j2se/1.5.0/download.jsp. Use version of 1.5.0_13 JDK.
Note: CXF >=2.1 does build on Java 6 update 4 and later. It will not build on
updates prior to update 4.
2) Make sure that your JAVA_HOME environment variable is set to the newly installed
JDK location, and that your PATH includes %JAVA_HOME%\bin (windows) or
$JAVA_HOME$/bin (unix).
3) Install Maven 2.2.1 or newer, which can be downloaded from
http://maven.apache.org/download.html. Make sure that your PATH includes
the MVN_HOME/bin directory.
Building
--------
1) Change to the top level directory of Apache CXF source distribution.
2) Run
$> mvn.
This will compile Apache CXF and run all of the tests in the Apache CXF source
distribution. Alternatively, you can run
$> mvn -Pfastinstall.
This will compile Apache CXF without running the tests and takes less
time to build.
Depending on the load of remote Maven repositories, you may have
to run "mvn" several times utill the required dependencies are
all located in your local maven repository. It usually takes some time for
maven to download required dependencies in the first build.
Building kit
------------
1) From top level, run
$> mvn -Pfastinstall,everything
This will build an Apache CXF distribution kit under "distribution/target"
directory.
Other Apache CXF examples (source code examples)Here is a short list of links related to this Apache CXF BUILDING.txt source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.