What is difference between -Dwtpversion and wtpversion?

I am new to Maven. I am going to develop my first application in with Maven. So while reading the documentation I found mvn eclipse:eclipse -Dwtpversion=2.0

I know WTP is the "Web Tools platform", but what is -Dwtpversion? I searched on the Internet, but didn't find anything.

Answers


The "-D" prefix in the argument means that it's a system property.

A system property is defined like this in(http://docs.oracle.com/javase/jndi/tutorial/beyond/env/source.html#SYS):

A system property is a key/value pair that the Java runtime defines to describe the user, system environment, and Java system. The runtime defines and uses a set of default system properties. Other properties can be made available to a Java program via the -D command line option to the Java interpreter.


mvn eclipse:eclipse -Dwtpversion=2.0 makes it a maven project that can be run from eclipse


Need Your Help

knockout css binding within foreach based on user input

javascript knockout.js observable

I have a table like below. the user is supposed to type the address info into the third column. If it's empty, then I added a styling

Amazon AWS EC2 ports: connection refused

amazon-web-services amazon-ec2 ports

I have just created an EC2 instance on a brand new AWS account, behind a security group, and loaded some software on it. I am running Sinatra on the machine on port 4567 (currently), and have opene...