Skip to content

Commit

Permalink
Delete working copy of repository created by release plugin
Browse files Browse the repository at this point in the history
Use the maven-antrun-plugin to delete the target/checkout
directory, which is the default working copy directory
created by the Maven Release Plugin.

Closes #288
  • Loading branch information
sleberknight committed Feb 4, 2024
1 parent 36d7ff7 commit 83df273
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,11 @@
</goals>
<configuration>
<target>
<!-- Delete the delomboked sources directory -->
<delete dir="${project.build.directory}/generated-sources/delombok" />

<!-- Delete the checkout directory created during the release process -->
<delete dir="${project.build.directory}/checkout"/>
</target>
</configuration>
</execution>
Expand All @@ -465,7 +469,7 @@
</executions>
</plugin>

<plugin>
<!--<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus-staging-maven-plugin.version}</version>
Expand All @@ -475,7 +479,7 @@
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugin>-->
</plugins>
</build>
</profile>
Expand Down

0 comments on commit 83df273

Please sign in to comment.