You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bu...@apache.org on 2018/07/03 12:57:49 UTC
svn commit: r1032031 - in /websites/production/cxf/content: building.html
cache/main.pageCache download.html
Author: buildbot
Date: Tue Jul 3 12:57:49 2018
New Revision: 1032031
Log:
Production update by buildbot for cxf
Modified:
websites/production/cxf/content/building.html
websites/production/cxf/content/cache/main.pageCache
websites/production/cxf/content/download.html
Modified: websites/production/cxf/content/building.html
==============================================================================
--- websites/production/cxf/content/building.html (original)
+++ websites/production/cxf/content/building.html Tue Jul 3 12:57:49 2018
@@ -110,36 +110,36 @@ Apache CXF -- Building
<!-- Content -->
<div class="wiki-content">
<div id="ConfluenceContent"><h2 id="Building-BuildingCXFfromSource">Building CXF from Source</h2><p>CXF uses <a shape="rect" class="external-link" href="http://maven.apache.org/">Maven</a> as its build and management tool.</p><h3 id="Building-Prequisites">Prequisites</h3><p><strong>Required:</strong></p><ul><li>Download and <a shape="rect" class="external-link" href="http://maven.apache.org/download.html">install Maven</a>.<br clear="none"> (Maven 3.1 or better is required).</li><li>Get the latest code <a shape="rect" href="source-repository.html">Source Repository</a></li><li>Java 1.5 or better</li></ul><h2 id="Building-BuildingCXF">Building CXF</h2><p>Before building CXF, you need to setup an environment variable to give Maven more memory:<br clear="none"> On Unix</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">export MAVEN_OPTS="-Xmx512M"
+<pre class="brush: java; gutter: false; theme: Default">export MAVEN_OPTS="-Xmx512M"
</pre>
</div></div><p>On Windows</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">set MAVEN_OPTS=-Xmx512M
+<pre class="brush: java; gutter: false; theme: Default">set MAVEN_OPTS=-Xmx512M
</pre>
</div></div><p>On 64 bit Windows, or if you're obtaining out-of-memory, you may need to expand the memory requirements above further, to 768M.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">set MAVEN_OPTS=-Xmx768M
+<pre class="brush: java; gutter: false; theme: Default">set MAVEN_OPTS=-Xmx768M
</pre>
</div></div><p>On 64bit Linux and Solaris platforms, or if you're obtaining out-of-memory errors, you may need to expand the memory requirements above further, to 768M. However, if you are using a recent version of Java6 (update 14 or later) with 64bit vm, you can use the UseCompressedOops to save memory. In that case, use:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">export MAVEN_OPTS="-Xmx512M -XX:+UseCompressedOops"
+<pre class="brush: java; gutter: false; theme: Default">export MAVEN_OPTS="-Xmx512M -XX:+UseCompressedOops"
</pre>
</div></div><p>To build CXF simply execute (from within the cloned git directory):</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">$ mvn install
+<pre class="brush: java; gutter: false; theme: Default">$ mvn install
</pre>
</div></div><p>Or, "mvn clean install" for subsequent runs. To build CXF without running checkstyle do:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">$ mvn -Pnochecks
+<pre class="brush: java; gutter: false; theme: Default">$ mvn -Pnochecks
</pre>
</div></div><p>To build CXF without running checkstyle or the tests do:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">$ mvn -Pfastinstall
+<pre class="brush: java; gutter: false; theme: Default">$ mvn -Pfastinstall
</pre>
</div></div><p>To build CXF and deploy the sources to your local maven repo do the following. If you build this way you can start your <a shape="rect" href="docs/using-cxf-with-maven.html">own cxf project from a pom file</a> and import it with maven eclipse:eclipse then you will have all sources correctly linked into your eclipse project:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">$ mvn -Pfastinstall source:jar install
+<pre class="brush: java; gutter: false; theme: Default">$ mvn -Pfastinstall source:jar install
</pre>
</div></div><p><strong>Important:</strong> For subsequent builds (e.g., after code changes are made), run "mvn clean" first to build from scratch, before using one of the mvn install commands above. (You may also wish to run "svn update" after running mvn clean but before running mvn install.)</p><h2 id="Building-Buildingreleasable/testablekits">Building releasable/testable kits</h2><p>The "distribution" stuff is in the distribution module. At top level, you can run:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">$ mvn install -Peverything
+<pre class="brush: java; gutter: false; theme: Default">$ mvn install -Peverything
</pre>
</div></div><p>which will cause EVERYTHING to build in one shot, including the distribution modules that are normally excluded. As of CXF 2.3.0, it also will build all the samples to make sure they are fully buildable. To speed it up, you can use the fastinstall profile with it:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">$ mvn install -Peverything,fastinstall
+<pre class="brush: java; gutter: false; theme: Default">$ mvn install -Peverything,fastinstall
</pre>
-</div></div><h2 id="Building-SettingupEclipse">Setting up Eclipse</h2><p>See <a shape="rect" href="setting-up-eclipse.html">this page</a> for information on using the Eclipse IDE with the CXF source code.</p><h2 id="Building-BuildingwithNetBeans">Building with NetBeans</h2><p>See <a shape="rect" href="building-with-netbeans.html">this page</a> for information on using the NetBeans IDE with the CXF source code.</p></div>
+</div></div><h2 id="Building-SettingupEclipse">Setting up Eclipse</h2><p>See <a shape="rect" href="setting-up-eclipse.html">this page</a> for information on using the Eclipse IDE with the CXF source code.</p><h2 id="Building-BuildingwithNetBeans">Building with NetBeans</h2><p>See <a shape="rect" href="building-with-netbeans.html">this page</a> for information on using the NetBeans IDE with the CXF source code.</p><h2 id="Building-MavenRepositories">Maven Repositories</h2><p>If you use Maven for building your applications, Apache CXF artifacts are available from the following repository URLS:</p><h3 id="Building-Releases:">Releases:</h3><p>All supported CXF releases are synced into the maven central repository: <a shape="rect" class="external-link" href="http://repo1.maven.org/maven2/" rel="nofollow">http://repo1.maven.org/maven2/</a></p><h3 id="Building-Snapshots:">Snapshots:</h3><p>Snapshots are available in Apache's snapshot repository: <a shape="rect" class="external-link" href="
http://repository.apache.org/snapshots">http://repository.apache.org/snapshots</a></p><div class="confluence-information-macro confluence-information-macro-note"><span class="aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>Snapshot builds are relatively untested and unsupported and are provided for verification and testing purposes.</p></div></div></div>
</div>
<!-- Content -->
</td>
Modified: websites/production/cxf/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/cxf/content/download.html
==============================================================================
--- websites/production/cxf/content/download.html (original)
+++ websites/production/cxf/content/download.html Tue Jul 3 12:57:49 2018
@@ -115,7 +115,7 @@ gpg --verify apache-cxf-*.tar.gz.asc
</div></div><p>You can check the SHA1 checksum with:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
<pre class="brush: bash; gutter: false; theme: Default">sha1sum --check apache-cxf-*.tar.gz.sha1
</pre>
-</div></div><h1 id="Download-Previousreleases">Previous releases</h1><p>Previous releases are all archived in the apache archive:<br clear="none"> Non-incubator releases: <a shape="rect" class="external-link" href="http://archive.apache.org/dist/cxf/">http://archive.apache.org/dist/cxf/</a> <br clear="none"> Incubator releases: <a shape="rect" class="external-link" href="http://archive.apache.org/dist/incubator/cxf/">http://archive.apache.org/dist/incubator/cxf/</a></p><h1 id="Download-MavenRepositories">Maven Repositories</h1><p>If you use Maven for building your applications, Apache CXF artifacts are available from the following repository URLS:</p><h3 id="Download-Releases:">Releases:</h3><p>All supported CXF releases are synced into the maven central repository: <a shape="rect" class="external-link" href="http://repo1.maven.org/maven2/" rel="nofollow">http://repo1.maven.org/maven2/</a></p><h3 id="Download-Snapshots:">Snapshots:</h3><p>Snapshots are available in Apache's snapshot
repository: <a shape="rect" class="external-link" href="http://repository.apache.org/snapshots">http://repository.apache.org/snapshots</a></p><div class="confluence-information-macro confluence-information-macro-note"><span class="aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>Snapshot builds are relatively untested and unsupported and are provided for verification and testing purposes.</p></div></div></div>
+</div></div><h1 id="Download-Previousreleases">Previous releases</h1><p>Previous releases are all archived in the apache archive:<br clear="none"> Non-incubator releases: <a shape="rect" class="external-link" href="http://archive.apache.org/dist/cxf/">http://archive.apache.org/dist/cxf/</a> <br clear="none"> Incubator releases: <a shape="rect" class="external-link" href="http://archive.apache.org/dist/incubator/cxf/">http://archive.apache.org/dist/incubator/cxf/</a></p><h1 id="Download-MavenRepositories">Maven Repositories</h1><p>If you use Maven for building your applications,  all supported CXF releases are synced into the maven central repository: <a shape="rect" class="external-link" href="http://repo1.maven.org/maven2/" rel="nofollow">http://repo1.maven.org/maven2/</a></p><p>For information on where to retrieve Apache CXF SNAPSHOT maven artifacts, please refer to the page on <a shape="rect" href="building.html">building</a> CXF.</p><p><br clear="none"></p><p><br clear="non
e"></p></div>
</div>
<!-- Content -->
</td>