Skip to content

Commit

Permalink
version 1.6 change the default freemaker directory for html_templates…
Browse files Browse the repository at this point in the history
… because same directory and same files name than others tools junit-report-kpi-xxx generate errors
  • Loading branch information
DABURON Vincent committed Jul 11, 2023
1 parent f26df35 commit b87a988
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ The maven groupId, artifactId and version, this plugin is in the **Maven Central
```xml
<groupId>io.github.vdaburon</groupId>
<artifactId>junit-reporter-kpi-from-jmeter-report-csv</artifactId>
<version>1.5</version>
<version>1.6</version>
```
Just include the plugin in your `pom.xml` and execute `mvn verify` <br>
or individual launch `mvn -DjmeterReportFile=synthesis.csv -DkpiFile=kpi.csv -DjunitFile=jmeter-junit-plugin-jmreport.xml exec:java@create_junit-report-kpi-from-jmeter-report`
Expand All @@ -142,7 +142,7 @@ or individual launch `mvn -DjmeterReportFile=synthesis.csv -DkpiFile=kpi.csv -Dj
<dependency>
<groupId>io.github.vdaburon</groupId>
<artifactId>junit-reporter-kpi-from-jmeter-report-csv</artifactId>
<version>1.5</version>
<version>1.6</version>
</dependency>
</dependencies>

Expand Down Expand Up @@ -204,6 +204,8 @@ junit-reporter-kpi-from-jmeter-report-csv.sh -csvJMReport summary.csv -kpiFile k
Usually this plugin is use with [jmeter-graph-tool-maven-plugin](https://github.com/vdaburon/jmeter-graph-tool-maven-plugin)

## Versions
version 1.6 change the default freemaker directory for html_templates because same directory and same files name than others tools junit-report-kpi-xxx generate errors

version 1.5 add jmeter-plugins.org installer

version 1.4 export result in html, json or csv format
Expand Down
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.github.vdaburon</groupId>
<artifactId>junit-reporter-kpi-from-jmeter-report-csv</artifactId>
<version>1.5</version>
<version>1.6</version>
<packaging>jar</packaging>
<name>Create a JUnit XML file with KPI rules from JMeter CSV Report</name>
<description>A tool that creates a JUnit XML file with KPI rules from JMeter CSV Report, export result in html, csv or json format</description>
Expand Down Expand Up @@ -61,6 +61,7 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<mavenCentralAutoReleaseAfterClose>false</mavenCentralAutoReleaseAfterClose>
</properties>

<dependencies>
Expand Down Expand Up @@ -184,7 +185,7 @@
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
<autoReleaseAfterClose>${mavenCentralAutoReleaseAfterClose}</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public class JUnitReportFromJMReportCsv {
public static final String K_CSV_JMREPORT_COL_LABEL_DEFAULT = "Label";

// Freemarker Html Template
public static final String K_FREEMARKER_HTML_TEMPLATE_DIRECTORY = "/templates_freemarker";
public static final String K_FREEMARKER_HTML_TEMPLATE_DIRECTORY = "/templates_freemarker_reportkpi";
public static final String K_FREEMARKER_HTML_TEMPLATE = "template_html_result.ftl";
public static final String K_FREEMARKER_DIV_HTML_TEMPLATE = "template_div_result.ftl";

Expand Down

0 comments on commit b87a988

Please sign in to comment.