Skip to content

Commit

Permalink
Fix substitution in org.jacoco.ant/about.html (bazelbuild#926)
Browse files Browse the repository at this point in the history
`org.jacoco.ant` module uses `maven-bundle-plugin` which requires
usage of `${...}` pattern, so for consistency also use it everywhere.
  • Loading branch information
Godin authored and marchof committed Aug 25, 2019
1 parent 5d4fcf7 commit 865fb1c
Show file tree
Hide file tree
Showing 41 changed files with 88 additions and 93 deletions.
2 changes: 1 addition & 1 deletion org.jacoco.agent.rt.test/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h2>About This Content</h2>

<p>
@build.date@
${build.date}
</p>

<h3>License</h3>
Expand Down
2 changes: 1 addition & 1 deletion org.jacoco.agent.rt/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h2>About This Content</h2>

<p>
@build.date@
${build.date}
</p>

<h3>License</h3>
Expand Down
2 changes: 1 addition & 1 deletion org.jacoco.agent.test/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h2>About This Content</h2>

<p>
@build.date@
${build.date}
</p>

<h3>License</h3>
Expand Down
2 changes: 1 addition & 1 deletion org.jacoco.agent/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h2>About This Content</h2>

<p>
@build.date@
${build.date}
</p>

<h3>License</h3>
Expand Down
2 changes: 1 addition & 1 deletion org.jacoco.ant.test/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h2>About This Content</h2>

<p>
@build.date@
${build.date}
</p>

<h3>License</h3>
Expand Down
2 changes: 1 addition & 1 deletion org.jacoco.ant/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h2>About This Content</h2>

<p>
@build.date@
${build.date}
</p>

<h3>License</h3>
Expand Down
25 changes: 10 additions & 15 deletions org.jacoco.build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,16 @@
<includes>
<include>**/*.properties</include>
</includes>
<excludes>
<exclude>**/*-test.properties</exclude>
</excludes>
</resource>
<resource>
<directory>src</directory>
<filtering>false</filtering>
<includes>
<include>**/*-test.properties</include>
</includes>
</resource>
<resource>
<directory>.</directory>
Expand Down Expand Up @@ -475,21 +485,6 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<!-- We can't use delimiters "${*}" and "$*$" together - probably it's bug in plugin -->
<!-- so for now we will define only our delimiters in compliance with https://sourceforge.net/apps/trac/eclemma/changeset/1229 -->
<!-- but it would be better to use defaults -->
<useDefaultDelimiters>false</useDefaultDelimiters>
<delimiters>
<delimiter>@*@</delimiter>
<delimiter>$*$</delimiter>
</delimiters>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion org.jacoco.cli.test/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h2>About This Content</h2>

<p>
@build.date@
${build.date}
</p>

<h3>License</h3>
Expand Down
2 changes: 1 addition & 1 deletion org.jacoco.cli/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h2>About This Content</h2>

<p>
@build.date@
${build.date}
</p>

<h3>License</h3>
Expand Down
2 changes: 1 addition & 1 deletion org.jacoco.core.test/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h2>About This Content</h2>

<p>
@build.date@
${build.date}
</p>

<h3>License</h3>
Expand Down
2 changes: 1 addition & 1 deletion org.jacoco.core/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h2>About This Content</h2>

<p>
@build.date@
${build.date}
</p>

<h3>License</h3>
Expand Down
6 changes: 3 additions & 3 deletions org.jacoco.core/src/org/jacoco/core/jacoco.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VERSION=$qualified.bundle.version$
HOMEURL=$jacoco.home.url$
RUNTIMEPACKAGE=$jacoco.runtime.package.name$
VERSION=${qualified.bundle.version}
HOMEURL=${jacoco.home.url}
RUNTIMEPACKAGE=${jacoco.runtime.package.name}
2 changes: 1 addition & 1 deletion org.jacoco.doc/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h2>About This Content</h2>

<p>
@build.date@
${build.date}
</p>

<h3>License</h3>
Expand Down
4 changes: 2 additions & 2 deletions org.jacoco.doc/docroot/doc/agent.html
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ <h2>Security Consideration for Remote Agent Control</h2>

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
4 changes: 2 additions & 2 deletions org.jacoco.doc/docroot/doc/ant.html
Original file line number Diff line number Diff line change
Expand Up @@ -927,8 +927,8 @@ <h2><a name="instrument">Task <code>instrument</code></a></h2>

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
6 changes: 3 additions & 3 deletions org.jacoco.doc/docroot/doc/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h1>API Usage Examples</h1>

<p>
To compile and run these example you need
<a href="http://asm.ow2.org/">ASM</a> @asm.version@ in addition to the JaCoCo
<a href="http://asm.ow2.org/">ASM</a> ${asm.version} in addition to the JaCoCo
libraries.
</p>

Expand Down Expand Up @@ -85,8 +85,8 @@ <h1>API Usage Examples</h1>

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
4 changes: 2 additions & 2 deletions org.jacoco.doc/docroot/doc/build.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ <h2>Compilation and testing with different JDKs</h2>

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
6 changes: 3 additions & 3 deletions org.jacoco.doc/docroot/doc/changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<h1>Change History</h1>

<h2>Snapshot Build @qualified.bundle.version@ (@build.date@)</h2>
<h2>Snapshot Build ${qualified.bundle.version} (${build.date})</h2>

<h3>New Features</h3>
<ul>
Expand Down Expand Up @@ -1157,8 +1157,8 @@ <h2>Release 0.1.0 (2009/10/28)</h2>

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
4 changes: 2 additions & 2 deletions org.jacoco.doc/docroot/doc/classids.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ <h3>Why do I get an error when I try to analyze multiple versions of the same

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
4 changes: 2 additions & 2 deletions org.jacoco.doc/docroot/doc/conventions.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ <h2>Contribution process</h2>

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
4 changes: 2 additions & 2 deletions org.jacoco.doc/docroot/doc/counters.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ <h2>Classes</h2>

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
4 changes: 2 additions & 2 deletions org.jacoco.doc/docroot/doc/empty.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ <h1>Title</h1>

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
4 changes: 2 additions & 2 deletions org.jacoco.doc/docroot/doc/environment.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ <h3>Communication</h3>

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
4 changes: 2 additions & 2 deletions org.jacoco.doc/docroot/doc/epl-v10.html
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ <h3>7. GENERAL</h3>

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
4 changes: 2 additions & 2 deletions org.jacoco.doc/docroot/doc/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ <h3>Why do I get a <code>StackOverflowError</code> during code coverage analysis

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
4 changes: 2 additions & 2 deletions org.jacoco.doc/docroot/doc/flow.html
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,8 @@ <h2>References</h2>

</div>
<div class="footer">
<div class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</div>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<div class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</div>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
4 changes: 2 additions & 2 deletions org.jacoco.doc/docroot/doc/implementation.html
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ <h2>Modularization of the JaCoCo implementation</h2>

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
4 changes: 2 additions & 2 deletions org.jacoco.doc/docroot/doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ <h3>Miscellaneous</h3>

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
4 changes: 2 additions & 2 deletions org.jacoco.doc/docroot/doc/integrations.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ <h3>Third-Party Integrations</h3>

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
6 changes: 3 additions & 3 deletions org.jacoco.doc/docroot/doc/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<h1>License</h1>

<p>
Copyright &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
Copyright &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</p>

<p>
Expand Down Expand Up @@ -285,8 +285,8 @@ <h3>args4j</h3>

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
6 changes: 3 additions & 3 deletions org.jacoco.doc/docroot/doc/maven.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h2>Usage</h2>
&lt;plugin&gt;
&lt;groupId&gt;org.jacoco&lt;/groupId&gt;
&lt;artifactId&gt;jacoco-maven-plugin&lt;/artifactId&gt;
&lt;version&gt;@project.version@&lt;/version&gt;
&lt;version&gt;${project.version}&lt;/version&gt;
&lt;/plugin&gt;
</pre>

Expand Down Expand Up @@ -152,8 +152,8 @@ <h2>Goals</h2>

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
4 changes: 2 additions & 2 deletions org.jacoco.doc/docroot/doc/mission.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ <h3>Non-Functional Characteristics</h3>

</div>
<div class="footer">
<span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
<a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
<span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
<a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
</div>

</body>
Expand Down
Loading

0 comments on commit 865fb1c

Please sign in to comment.