Skip to content

Commit

Permalink
Update Spring repackage configuration for uber-jar tests
Browse files Browse the repository at this point in the history
- `finalName` turns out to be a read-only property, even though it does work...
- `outputTimestamp` is no unnecessary, as the `project.build.outputTimestamp` is used by default
  • Loading branch information
marko-bekhta authored and yrodiere committed Aug 1, 2024
1 parent cc9c2c2 commit 8e93b37
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,9 @@
</executions>
<configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
<finalName>app-repackaged</finalName>
<mainClass>
org.hibernate.search.integrationtest.spring.repackaged.application.Application
</mainClass>
<!-- Not critical here as it's just for tests.
This hardcoded value allows us to cache integration tests in Develocity. -->
<outputTimestamp>2017-11-06T19:19:00+01:00</outputTimestamp>
</configuration>
</plugin>
<plugin>
Expand All @@ -113,7 +109,7 @@
</environmentVariables>
<systemPropertyVariables>
<test.launcher-command>${java-version.test.launcher}</test.launcher-command>
<test.repackaged-jar-path>${project.build.directory}/app-repackaged.jar</test.repackaged-jar-path>
<test.repackaged-jar-path>${project.build.directory}/hibernate-search-integrationtest-spring-repackaged-application-${project.version}.jar</test.repackaged-jar-path>
</systemPropertyVariables>
</configuration>
<executions>
Expand Down

0 comments on commit 8e93b37

Please sign in to comment.