Skip to content

Commit

Permalink
Documentation should advise usage of "mvn verify" instead of "mvn ins…
Browse files Browse the repository at this point in the history
…tall" (bazelbuild#1013)

Because last one pollutes local Maven repository.
  • Loading branch information
Godin authored Feb 3, 2020
1 parent 468fa99 commit 5b225e7
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions org.jacoco.doc/docroot/doc/build.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h2>Running the Build</h2>
</p>

<pre>
mvn clean install
mvn clean verify
</pre>

<p>
Expand All @@ -77,7 +77,7 @@ <h2>Running Quick Build without Tests</h2>
</p>

<pre>
mvn clean install -DskipTests
mvn clean verify -DskipTests
</pre>


Expand Down Expand Up @@ -149,32 +149,32 @@ <h2>Compilation and testing with different JDKs</h2>
</p>

<pre>
mvn clean install -Djdk.version=10 -Dbytecode.version=9
mvn clean verify -Djdk.version=10 -Dbytecode.version=9
</pre>

<p>
Also Eclipse Compiler for Java can be used for compilation:
</p>

<pre>
mvn clean install -Decj
mvn clean verify -Decj
</pre>

<p>
Combining these options JaCoCo is regularly tested with the following setups:
</p>

<ul>
<li><code>mvn clean install -Djdk.version=5 -Dbytecode.version=5</code></li>
<li><code>mvn clean install -Djdk.version=6 -Dbytecode.version=6</code></li>
<li><code>mvn clean install -Djdk.version=7 -Dbytecode.version=7</code></li>
<li><code>mvn clean install -Djdk.version=8 -Dbytecode.version=8</code></li>
<li><code>mvn clean install -Djdk.version=8 -Dbytecode.version=8 -Decj</code></li>
<li><code>mvn clean install -Djdk.version=9 -Dbytecode.version=9</code></li>
<li><code>mvn clean install -Djdk.version=10 -Dbytecode.version=10</code></li>
<li><code>mvn clean install -Djdk.version=11 -Dbytecode.version=11</code></li>
<li><code>mvn clean install -Djdk.version=12 -Dbytecode.version=12</code></li>
<li><code>mvn clean install -Djdk.version=13 -Dbytecode.version=13</code></li>
<li><code>mvn clean verify -Djdk.version=5 -Dbytecode.version=5</code></li>
<li><code>mvn clean verify -Djdk.version=6 -Dbytecode.version=6</code></li>
<li><code>mvn clean verify -Djdk.version=7 -Dbytecode.version=7</code></li>
<li><code>mvn clean verify -Djdk.version=8 -Dbytecode.version=8</code></li>
<li><code>mvn clean verify -Djdk.version=8 -Dbytecode.version=8 -Decj</code></li>
<li><code>mvn clean verify -Djdk.version=9 -Dbytecode.version=9</code></li>
<li><code>mvn clean verify -Djdk.version=10 -Dbytecode.version=10</code></li>
<li><code>mvn clean verify -Djdk.version=11 -Dbytecode.version=11</code></li>
<li><code>mvn clean verify -Djdk.version=12 -Dbytecode.version=12</code></li>
<li><code>mvn clean verify -Djdk.version=13 -Dbytecode.version=13</code></li>
</ul>


Expand Down

0 comments on commit 5b225e7

Please sign in to comment.