cucumber-reportr
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.nil-malh</groupId> <artifactId>cucumber-reportr</artifactId> <version>1.1.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>io.github.nil-malh</groupId> <artifactId>cucumber-reportr</artifactId> <version>1.1.0</version> <packaging>jar</packaging> <name>Cucumber Reportr</name> <description>A Cucumber reporter that generates interactive HTML reports from Cucumber JSON output</description> <url>https://github.com/nil-malh/cucumber-reportr</url> <licenses> <license> <name>Apache License 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>nil-malh</id> <name>Nil MALHOMME</name> <email>malhomme.nil@gmail.com</email> </developer> </developers> <scm> <connection>scm:git:git://github.com/nil-malh/cucumber-reportr/.git</connection> <developerConnection>scm:git:ssh://github.com:nil-malh/cucumber-reportr/.git</developerConnection> <url>https://github.com/nil-malh/cucumber-reportr/tree/main</url> </scm> <issueManagement> <system>github</system> <url>https://github.com/nil-malh/cucumber-reportr/issues</url> </issueManagement> <properties> <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <cucumber.version>7.21.1</cucumber.version> <slf4j.version>2.0.9</slf4j.version> <sonar.organization>nil-malh</sonar.organization> <sonar.host.url>https://sonarcloud.io</sonar.host.url> <!-- Frontend configuration --> <node.version>v22.9.0</node.version> <npm.version>11.4.2</npm.version> <frontend.maven.plugin.version>1.15.0</frontend.maven.plugin.version> </properties> <dependencies> <dependency> <groupId>io.cucumber</groupId> <artifactId>cucumber-plugin</artifactId> <version>7.21.1</version> </dependency> <dependency> <groupId>io.cucumber</groupId> <artifactId>cucumber-core</artifactId> <version>7.21.1</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-reload4j</artifactId> <version>${slf4j.version}</version> </dependency> <!-- Jackson for JSON sanitization --> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.17.2</version> </dependency> <!-- Test dependencies --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>5.10.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>5.5.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-junit-jupiter</artifactId> <version>5.5.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>3.24.2</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <!-- Frontend Maven Plugin --> <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> <version>${frontend.maven.plugin.version}</version> <configuration> <!-- Frontend working directory (where package.json is located) --> <workingDirectory>front</workingDirectory> <!-- Directory where node and npm will be installed --> <installDirectory>target</installDirectory> </configuration> <executions> <!-- Install Node.js and npm --> <execution> <id>install-node-and-npm</id> <goals> <goal>install-node-and-npm</goal> </goals> <phase>generate-resources</phase> <configuration> <nodeVersion>${node.version}</nodeVersion> <npmVersion>${npm.version}</npmVersion> </configuration> </execution> <!-- Install npm dependencies --> <execution> <id>npm-install</id> <goals> <goal>npm</goal> </goals> <phase>generate-resources</phase> <configuration> <arguments>ci</arguments> </configuration> </execution> <!-- Build frontend --> <execution> <id>npm-run-build</id> <goals> <goal>npm</goal> </goals> <phase>generate-resources</phase> <configuration> <arguments>run build</arguments> </configuration> </execution> </executions> </plugin> <!-- Copy frontend build to static resources --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.3.1</version> <executions> <execution> <id>copy-frontend-build</id> <phase>process-resources</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.outputDirectory}</outputDirectory> <resources> <resource> <directory>${project.basedir}/front/dist</directory> <filtering>false</filtering> </resource> </resources> </configuration> </execution> <!-- Copy frontend build to test resources for testing --> <execution> <id>copy-frontend-to-test-resources</id> <phase>process-test-resources</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.testOutputDirectory}</outputDirectory> <resources> <resource> <directory>${project.basedir}/front/dist</directory> <filtering>false</filtering> <includes> <include>index.html</include> </includes> </resource> </resources> </configuration> </execution> </executions> </plugin> <!-- Maven Compiler Plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.11.0</version> <configuration> <source>17</source> <target>17</target> </configuration> </plugin> <!-- Maven Surefire Plugin for tests --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.1.2</version> </plugin> <!-- Maven Failsafe Plugin for integration tests --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>3.1.2</version> </plugin> <!-- JaCoCo Maven Plugin for code coverage --> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.10</version> <executions> <execution> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> <!-- Versions Maven Plugin --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>2.16.0</version> </plugin> </plugins> </build> <profiles> <!-- Release profile for Maven Central --> <profile> <id>release</id> <build> <plugins> <!-- Source plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <!-- Javadoc plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.5.0</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <doclint>none</doclint> </configuration> </plugin> <!-- GPG Plugin for artifact signing --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.4</version> <configuration> <bestPractices>true</bestPractices> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <!-- Central Publishing Maven Plugin --> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.8.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <autoPublish>true</autoPublish> </configuration> </plugin> </plugins> </build> </profile> <!-- Snapshot profile --> <profile> <id>snapshot</id> <build> <plugins> <!-- Source plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <!-- Javadoc plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.5.0</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <doclint>none</doclint> </configuration> </plugin> </plugins> </build> </profile> <!-- Profile for development (skip frontend build) --> <profile> <id>dev</id> <properties> <skipTests>true</skipTests> </properties> <build> <plugins> <!-- Skip frontend-maven-plugin entirely in dev profile --> <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> <executions> <execution> <id>install-node-and-npm</id> <phase>none</phase> </execution> <execution> <id>npm-install</id> <phase>none</phase> </execution> <execution> <id>npm-run-build</id> <phase>none</phase> </execution> </executions> </plugin> <!-- Use exec-maven-plugin to run system npm --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>npm-install-dev</id> <phase>generate-resources</phase> <goals> <goal>exec</goal> </goals> <configuration> <executable>npm</executable> <arguments> <argument>install</argument> </arguments> <workingDirectory>front</workingDirectory> </configuration> </execution> <execution> <id>npm-build-dev</id> <phase>generate-resources</phase> <goals> <goal>exec</goal> </goals> <configuration> <executable>npm</executable> <arguments> <argument>run</argument> <argument>build</argument> </arguments> <workingDirectory>front</workingDirectory> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>no-front-build</id> <build> <plugins> <!-- Skip frontend-maven-plugin entirely in this profile --> <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> <executions> <execution> <id>install-node-and-npm</id> <phase>none</phase> </execution> <execution> <id>npm-install</id> <phase>none</phase> </execution> <execution> <id>npm-run-build</id> <phase>none</phase> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>