You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "qxo (Jira)" <ji...@apache.org> on 2020/05/25 00:47:00 UTC

[jira] [Commented] (MCOMPILER-416) make build faster: when "Nothing to compile" then skip the follow-up plugin

    [ https://issues.apache.org/jira/browse/MCOMPILER-416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17115608#comment-17115608 ] 

qxo commented on MCOMPILER-416:
-------------------------------

Is there any other way we can do something ?
 # our process-classes  is slow, we want “increment build ” – if nothing-to-Compile, then skip these process-classes goals

> make build faster: when "Nothing to compile" then skip the follow-up plugin
> ---------------------------------------------------------------------------
>
>                 Key: MCOMPILER-416
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-416
>             Project: Maven Compiler Plugin
>          Issue Type: Improvement
>            Reporter: qxo
>            Assignee: Robert Scholte
>            Priority: Minor
>
> PR: [https://github.com/apache/maven-compiler-plugin/pull/33]
> make the build faster
> ie:
> {code:xml}
>  <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-compiler-plugin</artifactId>
>  <executions>
>  <execution>
>  <id>default-compile</id>
>  <phase>compile</phase>
>  <goals>
>  <goal>compile</goal>
>  </goals>
>  <configuration>
>  <skippedKey>nothingToCompileOn</skippedKey>
>  </configuration>
>  </execution>
>  </executions>
>  </plugin>
>  <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-antrun-plugin</artifactId>
>  <version>3.0.0</version>
>  <executions>
>  <execution>
>  <id>test1</id>
>  <phase>process-classes</phase>
>  <configuration>
>  <target>
>  <echoproperties>
>  <propertyset><propertyref prefix="nothing"/></propertyset>
>  </echoproperties>
>  </target>
>  <skip>${nothingToCompileOn}</skip>
>  </configuration>
>  <goals>
>  <goal>run</goal>
>  </goals>
>  </execution>
>  </executions>
>  </plugin>
>  {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)