用 在 兼容 老 项目 时 个 个 个 个 个 个 个 个 个 个 个 用 用100 解决
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<move file="${project.build.directory}/classes/config-${profileActive}.xml"
tofile="${project.build.directory}/classes/config.xml"/>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>