|
16 | 16 | <packaging>pom</packaging>
|
17 | 17 |
|
18 | 18 | <properties>
|
19 |
| - <tycho.version>2.7.5</tycho.version> |
20 |
| - <cbi-plugins.version>1.3.4</cbi-plugins.version> |
| 19 | + <tycho.version>4.0.6</tycho.version> |
| 20 | + <cbi-plugins.version>1.4.3</cbi-plugins.version> |
21 | 21 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
| 22 | + <tycho.scmUrl>scm:git:https://github.com/eclipse-cdt/cdt-lsp</tycho.scmUrl> |
22 | 23 | </properties>
|
23 | 24 |
|
24 | 25 | <pluginRepositories>
|
|
53 | 54 | <product>org.eclipse.platform.ide</product>
|
54 | 55 | </configuration>
|
55 | 56 | </plugin>
|
| 57 | + <plugin> |
| 58 | + <groupId>org.eclipse.tycho</groupId> |
| 59 | + <artifactId>tycho-packaging-plugin</artifactId> |
| 60 | + <version>${tycho.version}</version> |
| 61 | + <configuration> |
| 62 | + <deriveHeaderFromProject>false</deriveHeaderFromProject> |
| 63 | + <deriveHeaderFromSource>false</deriveHeaderFromSource> |
| 64 | + <!-- Uncomment this to make jgit timestamps work (you may want to pull out jgit.dirtyWorkingTree as a variable) |
| 65 | + This can't be done until bundles get version bumped because otherwise the version numbers go backwards |
| 66 | + <format>${qualifier.format}</format> |
| 67 | + <timestampProvider>jgit</timestampProvider> |
| 68 | + <jgit.ignore> |
| 69 | + pom.xml |
| 70 | + .polyglot.* |
| 71 | + </jgit.ignore> |
| 72 | + <jgit.dirtyWorkingTree>error</jgit.dirtyWorkingTree> --> |
| 73 | + <sourceReferences> |
| 74 | + <generate>true</generate> |
| 75 | + </sourceReferences> |
| 76 | + </configuration> |
| 77 | + <dependencies> |
| 78 | + <!-- Uncomment this to make jgit timestamps work |
| 79 | + <dependency> |
| 80 | + <groupId>org.eclipse.tycho</groupId> |
| 81 | + <artifactId>tycho-buildtimestamp-jgit</artifactId> |
| 82 | + <version>${tycho.version}</version> |
| 83 | + </dependency> --> |
| 84 | + <dependency> |
| 85 | + <groupId>org.eclipse.tycho.extras</groupId> |
| 86 | + <artifactId>tycho-sourceref-jgit</artifactId> |
| 87 | + <version>${tycho.version}</version> |
| 88 | + </dependency> |
| 89 | + </dependencies> |
| 90 | + <executions> |
| 91 | + <execution> |
| 92 | + <!-- disable default consumer pom. not needed here, and it shows a warning for each module --> |
| 93 | + <id>default-update-consumer-pom</id> |
| 94 | + <phase>none</phase> |
| 95 | + </execution> |
| 96 | + </executions> |
| 97 | + </plugin> |
56 | 98 | </plugins>
|
57 | 99 | </pluginManagement>
|
58 | 100 | <plugins>
|
|
0 commit comments