5
プロジェクトのpom.xmlファイルを設定しようとしています。テスト段階でJettyサーバーを起動します。これを行うには、私が以下で行ったようにJettyのプラグインに "daemon"要素を追加する必要がありますが、IntelliJは "Elementデーモンはここで許可されていません"と警告します。手伝ってくれませんか?理由は何ですか?Maven Jettyプラグインデーモンの要素はここでは許可されていません
<build>
<plugins>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.2.11.v20150529</version>
<configuration>
<httpConnector>
<port>8083</port>
</httpConnector>
</configuration>
<executions>
<execution>
<id>start-jetty</id>
<phase>pre-integration-test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<scanIntervalSeconds>0</scanIntervalSeconds>
<daemon>true</daemon>
</configuration>
</execution>
<execution>
<id>stop-jetty</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
アップグレードできるこのバグのリファレンスはありますか?正当な誤りがあるのは本当に面倒ですが、私はpom.xmlのスキーマ検証を無効にしたくありません。 – Joffrey
バンプ。私はこれも固定されて見てみたいと思います。 –
私の回避策は、IDEを再起動し、pom.xmlを開かないことです... –