提交 ee152276 编写于 作者: K kohsuke

mvn -P debug would disable retrotranslator for speed up


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@986 71c3de6d-444a-0410-be80-ed276b4c234a
上级 a76b09ce
......@@ -28,25 +28,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>retrotranslator-maven-plugin</artifactId>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>translate</goal>
</goals>
<configuration>
<includes>
<include>
<directory>target/classes</directory>
</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
......@@ -71,7 +52,43 @@
</plugin>
</plugins>
</build>
<profiles>
<!-- allow retrotranslator to be disabled with -->
<profile>
<id>debug</id>
</profile>
<profile>
<id>retrotranslator</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>retrotranslator-maven-plugin</artifactId>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>translate</goal>
</goals>
<configuration>
<includes>
<include>
<directory>target/classes</directory>
</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>net.sf.retrotranslator</groupId>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册