Passing command line to jetty through maven plugin

Passing command line to jetty through maven plugin is easy three step process.

mvn jetty:run -DcommandLineName=value
<plugin>
       <groupId>org.mortbay.jetty</groupId>
       <artifactId>maven-jetty-plugin</artifactId>
       <version>6.1.10</version>
       <configuration>
          	<systemProperties>
      			<systemProperty>
       			<name>arg1</name>
       			<value>${commandLineName}</value>
     		</systemProperty>
    	</systemProperties>
        </configuration>
</plugin>

With Jetty context, set parameter can be accessible from anywhere in code as given below.

System.getProperty("arg1");