Skip to content

Commit

Permalink
Re-enabled rewrite-maven-plugin in both development and jenkins builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ao-apps committed May 13, 2022
1 parent d143d26 commit d26af34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ along with ao-oss-parent. If not, see <https://www.gnu.org/licenses/>.
shortTitle="Changelog"
tocLevels="1"
datePublished="2016-10-29T20:54:46-05:00"
dateModified="2022-05-02T01:08:37-05:00"
dateModified="2022-05-12T21:05:20-05:00"
>
<c:if test="${fn:endsWith('@{project.version}', '-SNAPSHOT') and !fn:endsWith('@{project.version}', '-POST-SNAPSHOT')}">
<changelog:release
Expand All @@ -59,9 +59,6 @@ along with ao-oss-parent. If not, see <https://www.gnu.org/licenses/>.
The previous mitigation was applied too broadly and broke the search URLs for projects with modules.
</li>
<li>Reduced size of Javadoc top section and fixed scroll position in Java 11.</li>
<!--
TODO: The formatting applied by rewrite-maven-plugin is inconsistent with the rules enforced by
maven-checkstyle-plugin. Find a compatible configuration then re-enable rewrite-maven-plugin.
<li>
<p>
Enabled <ao:a href="https://docs.openrewrite.org/">OpenRewrite</ao:a> on all builds using
Expand All @@ -77,7 +74,6 @@ along with ao-oss-parent. If not, see <https://www.gnu.org/licenses/>.
<code><![CDATA[&lt;failOnDryRunResults&gt;false&lt;/failOnDryRunResults&gt;]]></code>.
</p>
</li>
-->
<li>
<p>
Enabled <ao:a href="https://checkstyle.org/">Checkstyle</ao:a> on all builds using
Expand Down
10 changes: 3 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,7 @@ along with ao-oss-parent. If not, see <https://www.gnu.org/licenses/>.
<!-- Set to "-POST-SNAPSHOT" by activating the "POST-SNAPSHOT" profile to use post-release dependencies -->
<POST-SNAPSHOT><!-- -POST-SNAPSHOT --></POST-SNAPSHOT>
<!-- rewrite-maven-plugin -->
<!--
TODO: The formatting applied by rewrite-maven-plugin is inconsistent with the rules enforced by
maven-checkstyle-plugin. Find a compatible configuration then re-enable rewrite-maven-plugin.
-->
<rewrite.phase>none<!-- TODO: verify --></rewrite.phase>
<rewrite.phase>verify</rewrite.phase>
<rewrite.goal>dryRunNoFork</rewrite.goal>
<!-- com.aoapps is on new Sonatype Nexus Repository Manager -->
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
Expand Down Expand Up @@ -2284,7 +2280,7 @@ along with ao-oss-parent. If not, see <https://www.gnu.org/licenses/>.
<id>development</id><activation><file><exists>profile.d/development</exists></file></activation>
<properties>
<!-- rewrite-maven-plugin -->
<rewrite.phase>none<!-- TODO: process-sources --></rewrite.phase>
<rewrite.phase>process-sources</rewrite.phase>
<rewrite.goal>runNoFork</rewrite.goal>
<!-- Never stage development builds -->
<nexus.skipNexusStagingDeployMojo>true</nexus.skipNexusStagingDeployMojo>
Expand Down Expand Up @@ -2353,7 +2349,7 @@ along with ao-oss-parent. If not, see <https://www.gnu.org/licenses/>.
<id>jenkins</id>
<properties>
<!-- rewrite-maven-plugin -->
<rewrite.phase>none<!-- TODO: verify --></rewrite.phase>
<rewrite.phase>verify</rewrite.phase>
<rewrite.goal>dryRunNoFork</rewrite.goal>
</properties>
<build>
Expand Down

0 comments on commit d26af34

Please sign in to comment.