私が正しく理解していれば、@ khmarbaiseの解決策では十分ではないように構成を渡す必要があります。私はproguardマッピングが作成された直後に添付されたリリースプロファイルでmaven-scmプラグインを使用することをお勧めします。 http://maven.apache.org/scm/maven-scm-plugin/add-mojo.html
、その後、おそらく http://maven.apache.org/scm/maven-scm-plugin/checkin-mojo.html
でのようなもの、それを確認します:
<profiles>
<profile>
<id>release</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-scm-plugin</artifactId>
...
<configuration>
... add your scm setup here ...
</configuration>
<executions>
<execution>
<id>addMap</id>
<phase>install</phase>
<goals>
<goal>add</goal>
</goals>
</execution>
<execution>
<id>commitMap</id>
<phase>install</phase>
<goals>
<goal>checkin</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
...
</profile>
</profiles>
をあなたはマッピングファイルを追加することになるでしょう