mirror of https://github.com/apache/maven.git
added Os.OS_FAMILY to showVersion() output (merged from 2.0.x branch r587331)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@647624 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ec3ec0567e
commit
a36b220670
|
@ -78,9 +78,8 @@ static void showVersion()
|
|||
System.out.println( "Java version: "
|
||||
+ System.getProperty( "java.version", "<unknown java version>" ) );
|
||||
|
||||
//TODO: when plexus can return the family type, add that here because it will make it easier to know what profile activation settings to use.
|
||||
System.out.println( "OS name: \"" + Os.OS_NAME + "\" version: \"" + Os.OS_VERSION
|
||||
+ "\" arch: \"" + Os.OS_ARCH + "\"" );
|
||||
System.out.println( "OS name: \"" + Os.OS_NAME + "\" version: \"" + Os.OS_VERSION +
|
||||
"\" arch: \"" + Os.OS_ARCH + "\" Family: \"" + Os.OS_FAMILY + "\"" );
|
||||
}
|
||||
catch ( IOException e )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue