settings.xmlプロファイルパラメータをJavaクラスに挿入したいと思います。maven-annotation-pluginを使用しようとしましたが、値がnullになりました。このプラグインはMojo用に設計されているからだろうか
Setting.xmlスニペット
<profiles>
<profile>
<id>APP_NAME</id>
<properties>
<test.email>USER_EMAIL</test.email>
<test.password>USER_PASSWORD</test.password>
</properties>
</profile>
</profiles>
クラスで
@Parameter(defaultValue = "test.email", readonly = true)
private String userEmail;
@Parameter(defaultValue = "test.password", readonly = true)
private String userPassword;