This repository was archived by the owner on Sep 13, 2024. It is now read-only.
File tree 1 file changed +27
-2
lines changed
1 file changed +27
-2
lines changed Original file line number Diff line number Diff line change 21
21
</parent >
22
22
23
23
<artifactId >org.eclipse.sisu.plexus</artifactId >
24
- <packaging >eclipse-plugin </packaging >
24
+ <packaging >${sisu.packaging} </packaging >
25
25
26
26
<dependencies >
27
27
<!--
127
127
<plugin >
128
128
<groupId >org.eclipse.tycho</groupId >
129
129
<artifactId >tycho-maven-plugin</artifactId >
130
- <extensions >true </extensions >
130
+ <extensions >${tycho.extensions} </extensions >
131
131
</plugin >
132
132
<plugin >
133
133
<groupId >org.eclipse.tycho</groupId >
136
136
</plugins >
137
137
</build >
138
138
139
+ <!--
140
+ Disable Tycho extensions so artifact can be consumed by Java 8 builds.
141
+ -->
142
+ <properties >
143
+ <sisu .packaging>jar</sisu .packaging>
144
+ <tycho .extensions>false</tycho .extensions>
145
+ </properties >
146
+ <profiles >
147
+ <profile >
148
+ <!--
149
+ Enable Tycho extensions when building the project artifact.
150
+ -->
151
+ <id >sisu.packaging</id >
152
+ <activation >
153
+ <file >
154
+ <exists >src</exists >
155
+ </file >
156
+ </activation >
157
+ <properties >
158
+ <sisu .packaging>eclipse-plugin</sisu .packaging>
159
+ <tycho .extensions>true</tycho .extensions>
160
+ </properties >
161
+ </profile >
162
+ </profiles >
163
+
139
164
</project >
You can’t perform that action at this time.
0 commit comments