Build for JDK 1.8

This commit is contained in:
michael 2019-12-05 21:50:40 +01:00
parent 7c258c77d0
commit ea9cd68e52
3 changed files with 29 additions and 6 deletions

View File

@ -14,6 +14,7 @@ Require-Bundle: org.eclipse.swt,
org.eclipse.ui.workbench,
org.eclipse.core.resources,
org.eclipse.osgi,
org.eclipse.equinox.ds;visibility:=reexport,
org.eclipse.jface,
org.eclipse.e4.ui.services,
org.eclipse.e4.core.services,
@ -27,9 +28,8 @@ Require-Bundle: org.eclipse.swt,
org.eclipse.equinox.p2.repository;bundle-version="2.3.200",
org.eclipse.equinox.p2.metadata;bundle-version="2.3.100",
org.eclipse.ui.ide,
org.eclipse.ui.views,
org.eclipse.ui;bundle-version="3.114.0"
Bundle-RequiredExecutionEnvironment: JavaSE-11
org.eclipse.ui.views
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ActivationPolicy: lazy
Bundle-ClassPath: .,
lib/animal-sniffer-annotations.jar,

View File

@ -7,7 +7,7 @@
<properties>
<tycho.version>1.5.1</tycho.version>
<eclipse-repo.url>http://download.eclipse.org/eclipse/updates/4.11</eclipse-repo.url>
<eclipse-repo.url>http://download.eclipse.org/eclipse/updates/4.7</eclipse-repo.url>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
@ -218,7 +218,30 @@
</goals>
</execution>
</executions>
</plugin>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-publisher-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<profiles>JavaSE-1.8,JavaSE-9,JavaSE-10,JavaSE-11,JavaSE-12,JavaSE-13</profiles>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<verbose>true</verbose>
<fork>true</fork>
<executable>/home/michael/programs/jdk/jdk8u232-b09/bin/javac</executable>
<compilerVersion>1.8</compilerVersion>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -28,7 +28,7 @@
<unit id="org.hamcrest.library.source" version="1.3.0.v20180524-2246"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="http://download.eclipse.org/releases/latest"/>
<repository location="http://download.eclipse.org/eclipse/updates/4.7"/>
<unit id="org.eclipse.platform.sdk" version="0.0.0"/>
<unit id="org.eclipse.equinox.sdk.feature.group" version="0.0.0"/>
<unit id="org.eclipse.equinox.p2.sdk.feature.group" version="0.0.0"/>