【发布时间】:2017-06-23 16:40:21
【问题描述】:
我在 maven 中使用了一个使用 Jetty 的插件。
在这个插件中,我需要做一个配置来设置maxFormContentSize:
<plugin>
<groupId>com.organization.example</groupId>
<artifactId>maven-example-plugin</artifactId>
<version>${example.version}</version>
<dependencies>
<!-- -->
</dependencies>
<configuration>
<systemProperties>
<systemProperty>
<name>org.mortbay.jetty.Request.maxFormContentSize</name>
<value>500000</value>
</systemProperty>
</systemProperties>
<script>${example.script}</script>
</configuration>
</plugin>
问题是 Intellij IDEA 说这里不允许使用 systemProperties 元素:
Element systemProperties is not allowed here
什么是 IntelliJ IDEA 的正确配置不显示此错误?我已经做了一个research about this subject,但似乎这是唯一可能的配置。
我正在使用 maven 2.2.1 和 IntelliJ IDEA 2017.1.4。 Jetty 版本是 7.6.8.v20121106。
【问题讨论】:
标签: maven intellij-idea jetty