| Title: Source Control |
| Notice: Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| . |
| http://www.apache.org/licenses/LICENSE-2.0 |
| . |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| We use [Apache Subversion][1] for version control. You can [browse our |
| repository][2] in your web browser. |
| |
| ## Getting the source code |
| |
| svn co https://svn.apache.org/repos/asf/incubator/odf/trunk odf-toolkit |
| |
| For further information see the [Apache Source Code Repository][3] page. |
| |
| ## Build setup |
| ###Linux |
| sudo apt-get install openjdk-8-jdk |
| sudo apt-get install maven |
| |
| Note: The previous instructions has been tested with an Ubuntu 16.04 installation. |
| Other distros and versions should work fine, but might require some slight |
| modifications. |
| |
| ###Windows |
| For the setup of the build environment, please see [Java JDK download for Windows][4] and [Maven setup on Windows][5] |
| |
| |
| ## Build |
| ###Linux / Windows |
| cd odf-toolkit |
| mvn clean install -Ppedantic |
| |
| Note: The build option pedantic is triggering an Apache tool doing various checks as for unlicensed files. |
| |
| |
| |
| [1]: http://subversion.apache.org |
| [2]: http://svn.apache.org/viewvc/incubator/odf/trunk |
| [3]: http://www.apache.org/dev/version-control.html |
| [4]: http://www.oracle.com/technetwork/java/javase/downloads/index.html |
| [5]: https://maven.apache.org/guides/getting-started/windows-prerequisites.html |