Skip to content

Commit

Permalink
Merge pull request #139 from omerbilgin/fix-pom
Browse files Browse the repository at this point in the history
fix maven plugin configs
  • Loading branch information
omerbilgin authored Jan 18, 2024
2 parents 44db417 + a5091f7 commit de378e0
Showing 1 changed file with 35 additions and 8 deletions.
43 changes: 35 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@
</dependency>
</dependencies>

<!-- Build Section with Plugin Management -->
<build>
<pluginManagement>
<plugins>
Expand All @@ -146,31 +145,59 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.plugin.version}</version>
<!-- Configuration and Dependencies -->
<configuration>
<testFailureIgnore>false</testFailureIgnore>
<argLine>
-Dfile.encoding=UTF-8
-javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
</argLine>
<systemPropertyVariables>
<allure.results.directory>${project.build.directory}/allure-results</allure.results.directory>

<junit.jupiter.extensions.autodetection.enabled>true</junit.jupiter.extensions.autodetection.enabled>
<junit.jupiter.execution.parallel.enabled>true</junit.jupiter.execution.parallel.enabled>
<junit.jupiter.execution.parallel.config.strategy>dynamic</junit.jupiter.execution.parallel.config.strategy>
</systemPropertyVariables>
</configuration>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</version>
</dependency>
</dependencies>
</plugin>
<!-- Allure Maven Plugin -->
<plugin>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-maven</artifactId>
<version>${allure.maven.version}</version>
<!-- Configuration -->
<configuration>
<reportVersion>2.4.1</reportVersion>
</configuration>
</plugin>
<!-- FMT Maven Plugin -->
<plugin>
<groupId>com.spotify.fmt</groupId>
<artifactId>fmt-maven-plugin</artifactId>
<version>${fmt.maven.plugin.version}</version>
<!-- Configuration -->
<executions>
<execution>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<!-- Compiler Plugin -->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler.plugin.version}</version>
<!-- Configuration -->
<configuration>
<source>10</source>
<target>10</target>
</configuration>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit de378e0

Please sign in to comment.