|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <!-- |
3 | | - SPDX-FileCopyrightText: © Dart4E authors |
| 3 | + SPDX-FileCopyrightText: © The Dart4E authors |
4 | 4 | SPDX-FileContributor: Sebastian Thomschke |
5 | 5 | SPDX-License-Identifier: EPL-2.0 |
6 | 6 | SPDX-ArtifactOfProjectHomePage: https://github.com/dart4e/dart4e-studio |
|
13 | 13 | <parent> |
14 | 14 | <groupId>com.vegardit.maven</groupId> |
15 | 15 | <artifactId>vegardit-maven-parent</artifactId> |
16 | | - <version>6.1.8</version> |
| 16 | + <version>6.1.9</version> |
17 | 17 | </parent> |
18 | 18 |
|
19 | 19 | <groupId>org.dart4e.studio</groupId> |
|
22 | 22 | <packaging>pom</packaging> |
23 | 23 |
|
24 | 24 | <name>dart4e-studio-parent</name> |
| 25 | + <url>https://github.com/dart4e/dart4e-studio</url> |
25 | 26 | <inceptionYear>2022</inceptionYear> |
26 | 27 | <organization> |
27 | 28 | <name>The Dart4E Project</name> |
|
67 | 68 | <properties> |
68 | 69 | <java.version>21</java.version> |
69 | 70 | <tycho.version>4.0.12</tycho.version> |
| 71 | + <jgit.dirtyWorkingTree>error</jgit.dirtyWorkingTree> |
70 | 72 |
|
71 | 73 | <!-- to prevent: |
72 | 74 | [ERROR] Failed to execute goal com.hubspot.maven.plugins:dependency-scope-maven-plugin:0.10:check (check@validate) on project org.dart4e: |
|
149 | 151 | <version>${tycho.version}</version> |
150 | 152 | <configuration> |
151 | 153 | <format>yyyyMMdd-HHmm</format> |
| 154 | + <timestampProvider>jgit</timestampProvider> |
| 155 | + <jgit.dirtyWorkingTree>${jgit.dirtyWorkingTree}</jgit.dirtyWorkingTree> |
| 156 | + <jgit.ignore>pom.xml</jgit.ignore> |
| 157 | + |
152 | 158 | <!-- replace SNAPSHOT version in the final product configuration --> |
153 | 159 | <finalName>${project.artifactId}_${unqualifiedVersion}.${buildQualifier}</finalName> |
154 | 160 | </configuration> |
| 161 | + <dependencies> |
| 162 | + <dependency> |
| 163 | + <groupId>org.eclipse.tycho</groupId> |
| 164 | + <artifactId>tycho-buildtimestamp-jgit</artifactId> |
| 165 | + <version>${tycho.version}</version> |
| 166 | + </dependency> |
| 167 | + </dependencies> |
155 | 168 | </plugin> |
156 | 169 | <plugin> |
157 | 170 | <!-- https://tycho.eclipseprojects.io/doc/latest/tycho-p2-plugin/plugin-info.html --> |
|
328 | 341 | </build> |
329 | 342 |
|
330 | 343 | <profiles> |
| 344 | + <profile> |
| 345 | + <!-- This profile prevents local maven builds from failing if uncommitted changes are present --> |
| 346 | + <id>local-dev</id> |
| 347 | + <activation> |
| 348 | + <property> |
| 349 | + <name>!env.CI</name> |
| 350 | + </property> |
| 351 | + </activation> |
| 352 | + <properties> |
| 353 | + <jgit.dirtyWorkingTree>warning</jgit.dirtyWorkingTree> |
| 354 | + </properties> |
| 355 | + </profile> |
331 | 356 | <profile> |
332 | 357 | <id>disable-tycho-packaging-plugin-if-executed-in-eclipse</id> |
333 | 358 | <activation> |
|
0 commit comments