summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorThanh Ha2013-06-13 14:28:13 (EDT)
committer Tobias Oberlies2013-07-12 08:07:30 (EDT)
commitac1d683540b0cbc2b7ee26008c57bcb8eed0af66 (patch)
tree1e425b0fbde9d0600582125967ce5adb65e84807
parent9118e4d6547bf7bb8801c25fe1ab2b9faf878219 (diff)
downloadorg.eclipse.tycho-ac1d683540b0cbc2b7ee26008c57bcb8eed0af66.zip
org.eclipse.tycho-ac1d683540b0cbc2b7ee26008c57bcb8eed0af66.tar.gz
org.eclipse.tycho-ac1d683540b0cbc2b7ee26008c57bcb8eed0af66.tar.bz2
401658 Build qualifier should be logged as inforefs/changes/01/13801/4
Bug: 401658 Change-Id: I62a175090ca86a255e0c236c2749bfaf12a2f175 Also-by: Tobias Oberlies <tobias.oberlies@sap.com> Signed-off-by: Thanh Ha <thanh.ha@eclipse.org>
-rw-r--r--tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/BuildQualifierMojo.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/BuildQualifierMojo.java b/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/BuildQualifierMojo.java
index 98e9619..20e9bd2 100644
--- a/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/BuildQualifierMojo.java
+++ b/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/BuildQualifierMojo.java
@@ -131,6 +131,8 @@ public class BuildQualifierMojo extends AbstractVersionMojo {
TychoProjectVersion projectVersion = calculateQualifiedVersion();
project.getProperties().put(BUILD_QUALIFIER_PROPERTY, projectVersion.qualifier);
project.getProperties().put(UNQUALIFIED_VERSION_PROPERTY, projectVersion.unqualifiedVersion);
+
+ getLog().info("The project's OSGi version is " + projectVersion.getOSGiVersion());
}
private TychoProjectVersion calculateQualifiedVersion() throws MojoFailureException, MojoExecutionException {