blob: 7a7963e570762e243d5b89c805b6d0b9e693c4ae [file] [log] [blame]
Guillaume Nodet05fac962009-04-27 10:01:58 +00001/*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18Building Apache ServiceMix Kernel
19===================================
20
21Initial Setup
22-------------
23
241) Install J2SE 5.0 SDK, which can be downloaded from
25 http://java.sun.com/j2se/1.5.0/download.jsp. Use version of 1.5.0_06 JDK.
26
272) Make sure that your JAVA_HOME environment variable is set to the newly installed
28 JDK location, and that your PATH includes %JAVA_HOME%\bin (windows) or
29 $JAVA_HOME$/bin (unix).
30
313) Install Maven 2.0.7, which can be downloaded from
32 http://maven.apache.org/download.html. Make sure that your PATH includes
33 the MVN_HOME/bin directory.
34
35
36Building
37--------
38
391) Change to the top level directory of Apache ServiceMix Kernel source distribution.
402) Run
41 $> mvn
42 This will compile Apache ServiceMix Kernel and run all of the tests in the
43 Apache ServiceMix Kernel source distribution. Alternatively, you can run
44 $> mvn -Pfastinstall
45 This will compile Apache ServiceMix Kernel without running the tests and takes less
46 time to build.
47 Depending on the load of remote Maven 2.0 repositories, you may have
48 to run "mvn" several times until the required dependencies are
49 all located in your local maven repository. It usually takes some time for
50 maven to download required dependencies in the first build.
513) The distributions will be available under "assembly/target" directory.
52