You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apex.apache.org by da...@apache.org on 2016/03/10 03:51:02 UTC
incubator-apex-core git commit: Use artifactId for the git properties
resource.
Repository: incubator-apex-core
Updated Branches:
refs/heads/master 18fc36e33 -> a93fbf3e4
Use artifactId for the git properties resource.
Project: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/commit/a93fbf3e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/tree/a93fbf3e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/diff/a93fbf3e
Branch: refs/heads/master
Commit: a93fbf3e451c8da8c079d20bdb6d48ca029492c8
Parents: 18fc36e
Author: Thomas Weise <th...@datatorrent.com>
Authored: Wed Mar 9 18:42:59 2016 -0800
Committer: Thomas Weise <th...@datatorrent.com>
Committed: Wed Mar 9 18:42:59 2016 -0800
----------------------------------------------------------------------
engine/pom.xml | 2 +-
engine/src/main/java/com/datatorrent/stram/util/VersionInfo.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/a93fbf3e/engine/pom.xml
----------------------------------------------------------------------
diff --git a/engine/pom.xml b/engine/pom.xml
index fd7540d..f59bf34 100644
--- a/engine/pom.xml
+++ b/engine/pom.xml
@@ -82,7 +82,7 @@
<verbose>false</verbose>
<prefix>git</prefix>
<generateGitPropertiesFile>true</generateGitPropertiesFile>
- <generateGitPropertiesFilename>target/classes/dt-git.properties</generateGitPropertiesFilename>
+ <generateGitPropertiesFilename>target/classes/${project.artifactId}.git.properties</generateGitPropertiesFilename>
<failOnNoGitDirectory>false</failOnNoGitDirectory>
</configuration>
</plugin>
http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/a93fbf3e/engine/src/main/java/com/datatorrent/stram/util/VersionInfo.java
----------------------------------------------------------------------
diff --git a/engine/src/main/java/com/datatorrent/stram/util/VersionInfo.java b/engine/src/main/java/com/datatorrent/stram/util/VersionInfo.java
index cd20caa..da17ff6 100644
--- a/engine/src/main/java/com/datatorrent/stram/util/VersionInfo.java
+++ b/engine/src/main/java/com/datatorrent/stram/util/VersionInfo.java
@@ -129,7 +129,7 @@ public class VersionInfo
private static String groupId = "org.apache.apex";
private static String artifactId = "apex-engine";
private static Class<?> classInJar = VersionInfo.class;
- private static String gitPropertiesResource = "dt-git.properties";
+ private static String gitPropertiesResource = artifactId + ".git.properties";
public static final VersionInfo APEX_VERSION = new VersionInfo(classInJar, groupId, artifactId, gitPropertiesResource);