Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Update the git properties file name
Browse files Browse the repository at this point in the history
This renames `git.properties` to `deposit-services-git.properties`, insuring that if the contents of this jar are ever assembled as an uber jar, other resources named `git.properties` won't conflict.
  • Loading branch information
emetsger committed Jun 27, 2019
1 parent 9544f35 commit cae574f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deposit-messaging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<configuration>
<dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
<generateGitPropertiesFile>true</generateGitPropertiesFile>
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
<generateGitPropertiesFilename>${project.build.outputDirectory}/deposit-services-git.properties</generateGitPropertiesFilename>
<failOnNoGitDirectory>false</failOnNoGitDirectory>
<abbrevLength>8</abbrevLength>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public class DepositApp {

private String fcrepoBaseUrl;

private static final String GIT_PROPERTIES_RESOURCE_PATH = "/git.properties";
private static final String GIT_PROPERTIES_RESOURCE_PATH = "/deposit-services-git.properties";

public static void main(String[] args) {

Expand Down

0 comments on commit cae574f

Please sign in to comment.