私はJettyを使用するmavenのプラグインを使用しています。このプラグインでIntelliJ IDEAは、<configuration />内に<systemProperties />要素は使用できないと言います。
、私は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のパターンではなく、プラグイン自体だと思いました。それはたくさん説明します。ありがとうございました!プラグインはMyContainer(https://github.com/murer/mycontainer)ですが、十分に文書化されていません。 – Dherik