Skip to content

Commit a728ebb

Browse files
author
DABURON Vincent
committed
Version 1.9, Correct end </h4> for Table Of Content, update central-publishing-maven-plugin version 0.9 (before 0.8)
1 parent 8f04e02 commit a728ebb

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ and this plugin [csv-report-to-html](https://github.com/vdaburon/JMReportCsvToHt
142142
See the LICENSE file Apache 2 [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
143143

144144
## Versions
145+
Version 1.9 date 2025-09-24, Correct end </h4> for Table Of Content, update central-publishing-maven-plugin version 0.9 (before 0.8)
146+
145147
Version 1.8 date 2025-07-16, Change the maven plugin and configuration to publish to maven central in pom.xml.
146148

147149
Version 1.7 date 2025-07-11, Add extensions ".txt" and ".htm", ".htm" file is not include like ".html" file but like log file with a link a href. It's a solution to open another html page with a link.

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.github.vdaburon</groupId>
88
<artifactId>create-html-for-files-in-directory</artifactId>
9-
<version>1.8</version>
9+
<version>1.9</version>
1010
<packaging>jar</packaging>
1111
<name>Create html page for files in directory</name>
1212
<description>A tool that creates an html page for files in the directory to display graphics and link files</description>
@@ -130,7 +130,7 @@
130130
<plugin>
131131
<groupId>org.apache.maven.plugins</groupId>
132132
<artifactId>maven-gpg-plugin</artifactId>
133-
<version>3.0.1</version>
133+
<version>3.2.8</version>
134134
<executions>
135135
<execution>
136136
<id>sign-artifacts</id>
@@ -150,7 +150,7 @@
150150
-->
151151
<groupId>org.sonatype.central</groupId>
152152
<artifactId>central-publishing-maven-plugin</artifactId>
153-
<version>0.8.0</version>
153+
<version>0.9.0</version>
154154
<extensions>true</extensions>
155155
<configuration>
156156
<publishingServerId>central_publishing</publishingServerId>

src/main/java/io/github/vdaburon/jmeter/utils/HtmlGraphVisualizationGenerator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,14 +236,15 @@ public static void replaceTableOfContentsByTitle(File fileIndex, ArrayList <Stri
236236
sbTitles.append(listTitles.get(i));
237237
sbTitles.append("</a></br>" + LINE_SEP);
238238
}
239+
sbTitles.append("</h4>" + LINE_SEP);
240+
239241
int position = allIndex.indexOf(K_TABLE_CONTENTS);
240242
StringBuffer sbNewIndex = new StringBuffer(128 * 1024);
241243
if (position > 1) {
242244
sbNewIndex.append(allIndex.substring(0,position));
243245
sbNewIndex.append(sbTitles.toString());
244246
sbNewIndex.append(allIndex.substring((position + K_TABLE_CONTENTS.length()), allIndex.length()));
245247
}
246-
sbTitles.append("</h4>" + LINE_SEP);
247248

248249
if (fileIndex.exists()) {
249250
fileIndex.delete();

0 commit comments

Comments
 (0)