Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2013-05-31 23:14:14 -0400
committerIgor Fedorenko2013-05-31 23:14:14 -0400
commit769483cdf1dc1a0eb221b3999e108751e262b5ae (patch)
tree41dadab0c67f4b08d65f884a4ed86907bb57911c
parent049bf64904962556a0bab15bd224af6e60dfe809 (diff)
downloadm2e-core-milestones/1.4/1.4.0.20130601-0317.tar.gz
m2e-core-milestones/1.4/1.4.0.20130601-0317.tar.xz
m2e-core-milestones/1.4/1.4.0.20130601-0317.zip
need to a way to measure how many users who upgrade m2e run on stale/outdated versions of java Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
-rw-r--r--org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/MavenPluginActivator.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/MavenPluginActivator.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/MavenPluginActivator.java
index 73a2f561..b9ecba54 100644
--- a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/MavenPluginActivator.java
+++ b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/MavenPluginActivator.java
@@ -382,7 +382,8 @@ public class MavenPluginActivator extends Plugin {
String osgiVersion = (String) Platform
.getBundle("org.eclipse.osgi").getHeaders().get(org.osgi.framework.Constants.BUNDLE_VERSION); //$NON-NLS-1$
String m2eVersion = plugin.qualifiedVersion;
- return "m2e/" + osgiVersion + "/" + m2eVersion; //$NON-NLS-1$
+ String javaVersion = System.getProperty("java.version", "unknown"); //$NON-NLS-1$ $NON-NLS-1$
+ return "m2e/" + osgiVersion + "/" + m2eVersion + "/" + javaVersion; //$NON-NLS-1$ $NON-NLS-1$
}
public IRepositoryRegistry getRepositoryRegistry() {

Back to the top