Skip to content

Commit

Permalink
Merge pull request #374 from europeana/EA-fixRevisionErrorCrossProjects
Browse files Browse the repository at this point in the history
# fix cross project revision error
  • Loading branch information
gsergiu authored Apr 17, 2024
2 parents bcb72be + de990c0 commit 4f3e029
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
<!-- sonar plugins -->
<jacoco-plugin.version>0.8.7</jacoco-plugin.version>
<pmd-plugin.version>3.15.0</pmd-plugin.version>
<flatten-maven-plugin.version>1.1.0</flatten-maven-plugin.version>
<spotbugs-plugin.version>4.5.2.0</spotbugs-plugin.version>
<sonar-plugin.version>3.7.0.1746</sonar-plugin.version>
<sonar.java.pmd.reportPaths>${project.build.directory}/pmd.xml</sonar.java.pmd.reportPaths>
Expand Down Expand Up @@ -216,6 +217,7 @@
</testResource>
</testResources>


<!-- plugins to run on build time -->
<plugins>
<plugin>
Expand Down Expand Up @@ -326,6 +328,38 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>${java.version}</release>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${flatten-maven-plugin.version}</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>


Expand Down

0 comments on commit 4f3e029

Please sign in to comment.