Sort plugins by executionId
See original GitHub issueSo that the gpg plugin can be sorted after javadoc and source plugin
Sorted plugins should keep this order ’ <sortPlugins>executionId,groupId,artifactId</sortPlugins>’
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<minmemory>128m</minmemory>
<maxmemory>512</maxmemory>
<breakiterator>true</breakiterator>
<quiet>true</quiet>
<source>${compileSource}</source>
<verbose>false</verbose>
<linksource>true</linksource>
<links>
<!-- JSE -->
<link>http://docs.oracle.com/javase/8/docs/api/</link>
</links>
</configuration>
<executions>
<execution>
<id>1_attach-javadoc</id>
<goals>
<goal>jar</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>2_attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>3_sign-artifacts</id>
<goals>
<goal>sign</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Maven plugin execution ID - Stack Overflow
<id></id> exists only for you to be able to distinguish between other executions. This tag will be displayed when you do the actual...
Read more >Maven RPM Plugin - Usage Scenarios - MojoHaus
Listed below are the various scenarios where the RPM plugin can be used ... The project itself may be configured to produce any...
Read more >Execution Id cannot be found - Camunda Forum
Hello, I am using camunda 7.9 with postgres DB I am using the following approach -
Read more >org.camunda.bpm.engine.history.HistoricActivityInstanceQuery ...
Best Java code snippets using org.camunda.bpm.engine.history.HistoricActivityInstanceQuery.executionId (Showing top 20 results out of 315).
Read more >Using wf-build-plugin - Escenic Widget Framework Developer ...
sort -groups-alphabetically.xsl. Gathers together all ui:group elements and sorts them alphabetically by their ui:label element. filter-content-type ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
YMMV, but I usually sort after the
phase
and my ids don’t have numbers (I have actually never seens executionIds starting with numbers). Just my 2 cents.The problem with phases is that the plugin does not analyze the content of the POM. It is basically an xml sorter with custom xml ordering. So the plugin does not know about a default phase of a plugin unless you explicitly state each phase in the pom file. I agree that sorting by phase would be excellent, but that is a job for another plugin.