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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Konrad Windszus (Jira)

     [ https://issues.apache.org/jira/browse/MCOMPILER-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MCOMPILER-416.
------------------------------------
      Assignee: Robert Scholte
    Resolution: Won't Fix

In general I won't accept any skip related requests, especially specialized skip properties. It is a sign that there's something else wrong. Skip is a plaster, whereas the root cause should be fixed.

> 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)