プロファイルに基づいて、jsps でリソース フィルタリングを使用しています。を使用してローカルで開発も行ってmvn jetty:run
いますが、フィルタリング フェーズが実行されません。
jetty プラグインを使用してフィルタリングを実行するにはどうすればよいですか?
構成スニペット:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<webResources>
<resource>
<directory>src/main/webapp</directory>
<includes>
<include>error.jsp</include>
</includes>
<filtering>true</filtering>
<targetPath>/</targetPath>
</resource>
</webResources>
</configuration>
</plugin>
<profile>
<id>jci</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>jci</name>
</property>
</activation>
<properties>
<error.title>Some value here</error.title>
</properties>
</profile>