Skip to content

Commit

Permalink
Workaround for plexus-utils ignoring .gitignore. (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
manedev79 committed Jun 29, 2024
1 parent 70d924b commit 8eff02b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@
<artifactId>versions-maven-plugin</artifactId>
<version>${versions.maven.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
</plugin>

<!-- FOR RENOVATE -->
<plugin>
Expand Down Expand Up @@ -179,6 +184,26 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>process-test-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<copy file="${project.basedir}/src/test/resources/projects/it-java11/reference/.gitignore" tofile="${project.build.testOutputDirectory}/projects/it-java11/reference/.gitignore"/>
<copy file="${project.basedir}/src/test/resources/projects/it-java17/reference/.gitignore" tofile="${project.build.testOutputDirectory}/projects/it-java17/reference/.gitignore"/>
<copy file="${project.basedir}/src/test/resources/projects/it-java21/reference/.gitignore" tofile="${project.build.testOutputDirectory}/projects/it-java21/reference/.gitignore"/>
</target>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
Expand Down

0 comments on commit 8eff02b

Please sign in to comment.