Skip to content

Commit

Permalink
cleanup pom: disable test module deployments, dependency management, …
Browse files Browse the repository at this point in the history
…property naming
  • Loading branch information
swissiety committed Jan 6, 2025
1 parent 3616d0e commit 0eec2e6
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pipeline {
maven: 'Maven 3.6.3',
mavenSettingsConfig: '9ff5ed8e-79e5-4010-b7e2-f137f16176dd') {

sh 'mvn -P ci com.coveo:fmt-maven-plugin:check -DskipFormatPlugin=false'
sh 'mvn -P ci com.coveo:fmt-maven-plugin:check -DskipFormat=false'
}
}
}
Expand Down
14 changes: 14 additions & 0 deletions SparseBoomerangCorrectness/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,20 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>SparseBoomerangCorrectness</artifactId>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>junit</groupId>
Expand Down
2 changes: 1 addition & 1 deletion SynchronizedPDS/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.2</version>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<argLine>-Xmx8G -Xss128m</argLine>
</configuration>
Expand Down
5 changes: 3 additions & 2 deletions boomerangPDS/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>boomerangPDS</artifactId>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.2</version>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<argLine>-Xmx8G -Xss128m</argLine>
</configuration>
Expand Down Expand Up @@ -67,7 +68,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.2</version>
<version>${maven-surefire-plugin.version}</version>
<executions>
<execution>
<phase>integration-test</phase>
Expand Down
2 changes: 1 addition & 1 deletion idealPDS/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.2</version>
<version>${maven-surefire-plugin.version}</version>
<executions>
<execution>
<phase>integration-test</phase>
Expand Down
12 changes: 7 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,21 @@
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<sootVersion>4.3.0-SNAPSHOT</sootVersion>
<soot.version>4.3.0-SNAPSHOT</soot.version>
<fmt-maven-plugin.version>2.13</fmt-maven-plugin.version>
<maven-scm-plugin.version>1.11.2</maven-scm-plugin.version>
<enforced-maven-version>3.6.1</enforced-maven-version>
<maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version>
<skipFormatPlugin>true</skipFormatPlugin>
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
<maven-deploy-plugin.version>3.5.2</maven-deploy-plugin.version>
<enforced-maven-version>3.6.1</enforced-maven-version>
<skipFormat>true</skipFormat>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.2</version>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<argLine>-Xmx8G -Xss128m</argLine>
</configuration>
Expand Down Expand Up @@ -347,7 +349,7 @@
<artifactId>fmt-maven-plugin</artifactId>
<configuration>
<!-- pretty sure this has to work nicer. dont wanna waste more time into it, though -->
<skip>${skipFormatPlugin}</skip>
<skip>${skipFormat}</skip>
</configuration>
</plugin>
</plugins>
Expand Down
13 changes: 13 additions & 0 deletions testCore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>testCore</artifactId>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>junit</groupId>
Expand Down

0 comments on commit 0eec2e6

Please sign in to comment.