test-order-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>me.bechberger</groupId>
<artifactId>test-order-maven-plugin</artifactId>
<version>0.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>
<parent>
<groupId>me.bechberger</groupId>
<artifactId>test-order-parent</artifactId>
<version>0.1.0</version>
</parent>
<artifactId>test-order-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<name>Test Order Maven Plugin</name>
<description>Maven plugin that orchestrates learn and order modes for test prioritization</description>
<properties>
<it.junit5.version>5.10.2</it.junit5.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>${maven.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>${maven.plugin.tools.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>${maven.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>me.bechberger</groupId>
<artifactId>test-order-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>me.bechberger</groupId>
<artifactId>test-order-dashboard</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>me.bechberger</groupId>
<artifactId>test-order-ci</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>me.bechberger</groupId>
<artifactId>test-order-agent</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>me.bechberger</groupId>
<artifactId>test-order-junit</artifactId>
<version>${project.version}</version>
</dependency>
<!-- PIT mutation testing -->
<dependency>
<groupId>org.pitest</groupId>
<artifactId>pitest-entry</artifactId>
<version>1.25.5</version>
</dependency>
<dependency>
<groupId>org.pitest</groupId>
<artifactId>pitest</artifactId>
<version>1.25.5</version>
</dependency>
<dependency>
<groupId>org.pitest</groupId>
<artifactId>pitest-junit5-plugin</artifactId>
<version>1.2.3</version>
</dependency>
<!-- ML: Tribuo logistic regression (Apache 2.0, opt-in via testorder.ml.enabled) -->
<dependency>
<groupId>org.tribuo</groupId>
<artifactId>tribuo-classification-sgd</artifactId>
<version>4.3.2</version>
</dependency>
<!-- test -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.27.7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.18.10</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>${maven.plugin.tools.version}</version>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>e2e</id>
<activation>
<property>
<name>testorder.it</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
<configuration>
<includes>
<include>**/*IT.java</include>
</includes>
<systemPropertyVariables>
<testorder.it>true</testorder.it>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>run-its</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
<settingsFile>src/it/settings.xml</settingsFile>
<streamLogs>true</streamLogs>
<goals>
<goal>clean</goal>
<goal>test</goal>
</goals>
<extraArtifacts>
<extraArtifact>me.bechberger:test-order-junit:${project.version}</extraArtifact>
<extraArtifact>me.bechberger:test-order-annotations:${project.version}</extraArtifact>
<extraArtifact>me.bechberger:test-order-agent:${project.version}</extraArtifact>
<extraArtifact>me.bechberger:test-order-core:${project.version}:jar:all</extraArtifact>
</extraArtifacts>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>install</goal>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
<configuration>
<includes>
<include>**/MavenPluginIT.java</include>
</includes>
<systemPropertyVariables>
<it.projects.dir>${project.build.directory}/it</it.projects.dir>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>