|
23 | 23 |
|
24 | 24 | <!-- Silence a Maven warning -->
|
25 | 25 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
26 |
| - |
27 |
| - <!-- Upstream p2 repository, used as a source for pre-compiled build artifacts --> |
28 |
| - <eclipse.simultaneous.release.repository>http://download.eclipse.org/staging/neon/</eclipse.simultaneous.release.repository> |
29 | 26 |
|
30 |
| - <gnumcueclipse.version>4.1.1</gnumcueclipse.version> |
| 27 | + <!-- The usual Eclipse timestamp, down to minutes. --> |
| 28 | + <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format> |
31 | 29 | </properties>
|
32 | 30 |
|
33 | 31 | <licenses>
|
|
57 | 55 | <build>
|
58 | 56 | <plugins>
|
59 | 57 | <plugin>
|
60 |
| - <!-- Used by eclipse-plugin & eclipse-feature packagings. --> |
| 58 | + <!-- Enable Tycho. --> |
61 | 59 | <groupId>org.eclipse.tycho</groupId>
|
62 | 60 | <artifactId>tycho-maven-plugin</artifactId>
|
63 | 61 | <version>${tycho.version}</version>
|
64 |
| - <extensions>true</extensions> |
| 62 | + <!-- Mandatory, without it eclipse-* POMs are not accepted. --> |
| 63 | + <extensions>true</extensions> |
65 | 64 | </plugin>
|
66 |
| - |
| 65 | + |
| 66 | + <!-- |
| 67 | + <plugin> |
| 68 | + <groupId>org.codehaus.mojo</groupId> |
| 69 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 70 | + <version>3.0.0</version> |
| 71 | + <executions> |
| 72 | + <execution> |
| 73 | + <id>gme-parse-version</id> |
| 74 | + <goals> |
| 75 | + <goal>parse-version</goal> |
| 76 | + </goals> |
| 77 | + </execution> |
| 78 | + </executions> |
| 79 | + </plugin> |
| 80 | + --> |
| 81 | + |
67 | 82 | <plugin>
|
68 | 83 | <!-- Used by eclipse-repository packagings. -->
|
69 | 84 | <groupId>org.eclipse.tycho</groupId>
|
|
72 | 87 | <configuration>
|
73 | 88 | <resolver>p2</resolver>
|
74 | 89 | <pomDependencies>consider</pomDependencies>
|
| 90 | + |
| 91 | + <!-- Mandatory, without it Build is platform dependent. --> |
75 | 92 | <environments>
|
76 | 93 | <environment>
|
77 | 94 | <os>linux</os>
|
|
83 | 100 | <ws>gtk</ws>
|
84 | 101 | <arch>x86_64</arch>
|
85 | 102 | </environment>
|
86 |
| - <environment> |
87 |
| - <os>linux</os> |
88 |
| - <ws>gtk</ws> |
89 |
| - <arch>ppc64</arch> |
90 |
| - </environment> |
91 | 103 | <environment>
|
92 | 104 | <os>win32</os>
|
93 | 105 | <ws>win32</ws>
|
|
103 | 115 | <ws>cocoa</ws>
|
104 | 116 | <arch>x86_64</arch>
|
105 | 117 | </environment>
|
106 |
| - <environment> |
107 |
| - <os>aix</os> |
108 |
| - <ws>gtk</ws> |
109 |
| - <arch>ppc</arch> |
110 |
| - </environment> |
111 | 118 | </environments>
|
112 | 119 | </configuration>
|
113 | 120 | </plugin>
|
| 121 | + |
114 | 122 | </plugins>
|
115 | 123 |
|
116 | 124 | <pluginManagement>
|
117 |
| - <!-- Default plugin information. --> |
| 125 | + <!-- Defaults, applied when plug-ins are actually used. --> |
118 | 126 | <plugins>
|
| 127 | + |
119 | 128 | <plugin>
|
120 | 129 | <groupId>org.eclipse.tycho</groupId>
|
121 | 130 | <artifactId>tycho-compiler-plugin</artifactId>
|
122 | 131 | <version>${tycho.version}</version>
|
123 | 132 | <configuration>
|
124 | 133 | <encoding>UTF-8</encoding>
|
125 |
| - <useProjectSettings>true</useProjectSettings> |
| 134 | + <!-- <useProjectSettings>true</useProjectSettings> --> |
| 135 | + <!-- <showDeprecation>true</showDeprecation> --> |
126 | 136 | </configuration>
|
127 | 137 | </plugin>
|
128 | 138 |
|
129 | 139 | <plugin>
|
130 | 140 | <groupId>org.eclipse.tycho</groupId>
|
131 |
| - <artifactId>tycho-source-plugin</artifactId> |
132 |
| - <version>${tycho-version}</version> |
133 |
| - <executions> |
134 |
| - <execution> |
135 |
| - <id>plugin-source</id> |
136 |
| - <goals> |
137 |
| - <goal>plugin-source</goal> |
138 |
| - </goals> |
139 |
| - </execution> |
140 |
| - </executions> |
| 141 | + <artifactId>tycho-p2-repository-plugin</artifactId> |
| 142 | + <version>${tycho.version}</version> |
| 143 | + <configuration> |
| 144 | + <compress>true</compress> |
| 145 | + <!-- Nope, it brings all 3rd party plug-ins. |
| 146 | + <includeAllDependencies>true</includeAllDependencies> |
| 147 | + --> |
| 148 | + </configuration> |
141 | 149 | </plugin>
|
142 | 150 |
|
143 | 151 | </plugins>
|
|
0 commit comments