我们在 pom.xml 中的 maven 编译器插件定义中指定了一堆系统属性:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<encoding>${project.build.sourceEncoding}</encoding>
<systemProperties>
<systemProperty>
<key>aKey</key>
<value>aValue</value>
</systemProperty>
</systemProperties>
<!-- ....etcetera.... -->
这些是在执行 jar 时自动加载的
Maven 如何为系统属性创建这种自动加载行为?我想了解这种行为的实际实现。