Skip to content

Commit

Permalink
jgit.dirtyWorkingTree ignore when deploying to Central
Browse files Browse the repository at this point in the history
since we change MANIFEST and POMs when releasing to Maven Central we
must disable the error because the Git working tree will be dirty
  • Loading branch information
LorenzoBettini committed May 29, 2024
1 parent 9744ffd commit 31637e4
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions releng/org.eclipse.emf.parsley.parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,6 @@
<module>../../dsl/org.eclipse.emf.parsley.dsl.standalone.lib</module>
<module>../../dsl/org.eclipse.emf.parsley.dsl.standalone</module>
</modules>

</profile>

<profile>
Expand Down Expand Up @@ -530,6 +529,20 @@
</activation>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<!-- since we change MANIFEST and POMs when releasing to Maven Central
we must disable the error because the Git working tree will be dirty -->
<jgit.dirtyWorkingTree>ignore</jgit.dirtyWorkingTree>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
Expand All @@ -542,7 +555,6 @@
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down

0 comments on commit 31637e4

Please sign in to comment.