Skip to content

Commit d22724b

Browse files
authored
Merge pull request #201 from bmarwell/tycho-update
[#194] update tycho to v1.7.0
2 parents 7d0bb8e + 254cb9a commit d22724b

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

pom.xml

+14-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<maven.plugin.plugin.version>3.3</maven.plugin.plugin.version>
2323
<!-- actually a dependency here. -->
2424
<dependency.maven.bundle.plugin.version>4.2.1</dependency.maven.bundle.plugin.version>
25-
<tycho.version>1.0.0</tycho.version>
25+
<tycho.version>1.7.0</tycho.version>
2626

2727
<sonatype.aether.version>1.13.1</sonatype.aether.version>
2828
<eclipse.aether.version>1.1.0</eclipse.aether.version>
@@ -84,6 +84,12 @@
8484
<artifactId>biz.aQute.bndlib</artifactId>
8585
<version>5.2.0</version>
8686
</dependency>
87+
<!-- needed due to dependency conflict tycho-1.7.0 and its transitive dependencies -->
88+
<dependency>
89+
<groupId>org.eclipse.platform</groupId>
90+
<artifactId>org.eclipse.osgi</artifactId>
91+
<version>3.15.200</version>
92+
</dependency>
8793

8894
<!-- 3.0 used by tycho. Force the target maven version here. -->
8995
<dependency>
@@ -212,6 +218,13 @@
212218
</exclusions>
213219
</dependency>
214220

221+
<!-- osgi log to avoid Security Exceptions at runtime (due to different hash of org.eclipse.osgi's Logger) -->
222+
<dependency>
223+
<groupId>org.osgi</groupId>
224+
<artifactId>org.osgi.service.log</artifactId>
225+
<version>1.4.0</version>
226+
</dependency>
227+
215228
<dependency>
216229
<groupId>org.eclipse.tycho</groupId>
217230
<artifactId>tycho-core</artifactId>
@@ -249,9 +262,6 @@
249262
<groupId>org.apache.maven.plugins</groupId>
250263
<artifactId>maven-plugin-plugin</artifactId>
251264
<version>${maven.plugin.plugin.version}</version>
252-
<configuration>
253-
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
254-
</configuration>
255265
<executions>
256266
<execution>
257267
<id>default-descriptor</id>

src/main/java/org/reficio/p2/utils/Utils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class Utils {
2626
private static final String JAR_SNAPSHOT_POSTFIX = "-SNAPSHOT";
2727
private static final String OSGI_SNAPSHOT_POSTFIX = ".SNAPSHOT";
2828
private static final String ECLIPSE_QUALIFIER_POSTFIX = ".qualifier";
29-
public static final String TYCHO_VERSION = "1.0.0";
29+
public static final String TYCHO_VERSION = "1.7.0";
3030

3131
public static String getTimeStamp() {
3232
SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss");

src/test/integration/integration.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,14 @@
3737
<groupId>junit</groupId>
3838
<artifactId>junit</artifactId>
3939
<version>3.8.2</version>
40+
<scope>test</scope>
4041
</dependency>
4142

4243
<dependency>
4344
<groupId>org.codehaus.groovy</groupId>
4445
<artifactId>groovy-all-minimal</artifactId>
4546
<version>1.5.8</version>
47+
<scope>test</scope>
4648
</dependency>
4749
</dependencies>
4850
</dependencyManagement>
@@ -66,7 +68,7 @@
6668
<artifactId>maven-javadoc-plugin</artifactId>
6769
<version>3.2.0</version>
6870
<configuration>
69-
<source>1.7</source>
71+
<source>1.8</source>
7072
</configuration>
7173
</plugin>
7274
</plugins>

0 commit comments

Comments
 (0)