Skip to content

Commit b14d9f5

Browse files
sebthomvrubezhny
authored andcommitted
Allow local Maven builds with dirty Git working tree
We use the same config in LSP4E and TM4E
1 parent 7cbd049 commit b14d9f5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,18 @@
208208
</build>
209209

210210
<profiles>
211+
<profile>
212+
<!-- This profile prevents local maven builds from failing if uncommitted changes are present -->
213+
<id>local-dev</id>
214+
<activation>
215+
<property>
216+
<name>!env.CI</name>
217+
</property>
218+
</activation>
219+
<properties>
220+
<jgit.dirtyWorkingTree>warning</jgit.dirtyWorkingTree>
221+
</properties>
222+
</profile>
211223
<!-- Automatic profile for Mac-specific settings -->
212224
<profile>
213225
<id>macos</id>

0 commit comments

Comments
 (0)