Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tycho 4 #2955

Merged
merged 8 commits into from Mar 7, 2024
Merged

Tycho 4 #2955

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .mvn/wrapper/maven-wrapper.properties
Expand Up @@ -14,5 +14,5 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.2/apache-maven-3.9.2-bin.zip
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
2 changes: 1 addition & 1 deletion org.eclipse.xtend.lib.tests/.classpath
Expand Up @@ -12,5 +12,5 @@
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
<classpathentry kind="output" path="target/test-classes"/>
</classpath>
15 changes: 15 additions & 0 deletions org.eclipse.xtend.lib.tests/pom.xml
Expand Up @@ -28,6 +28,21 @@
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<failIfNoTests>true</failIfNoTests>
</configuration>
<dependencies>
<!-- force to run with JUnit4 -->
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit47</artifactId>
<version>${maven-surefire-version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
Expand Up @@ -15,7 +15,6 @@
<!-- The @...@ will be replaced during resource filtering with
the current version of our project -->
<xtext-version>@project.version@</xtext-version>
<tycho-version>2.7.5</tycho-version>
<eclipse-text-version>3.12.300</eclipse-text-version>
<core-resources-version>3.18.200</core-resources-version>
<core-runtime-version>3.26.100</core-runtime-version>
Expand Down
Expand Up @@ -13,7 +13,7 @@
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<!-- Tycho settings -->
<tycho-version>3.0.5</tycho-version>
<tycho-version>4.0.6</tycho-version>
<!-- Define overridable properties for tycho-surefire-plugin -->
<platformSystemProperties></platformSystemProperties>
<moduleProperties></moduleProperties>
Expand Down
Expand Up @@ -13,7 +13,7 @@
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<!-- Tycho settings -->
<tycho-version>3.0.5</tycho-version>
<tycho-version>4.0.6</tycho-version>
<!-- Define overridable properties for tycho-surefire-plugin -->
<platformSystemProperties></platformSystemProperties>
<moduleProperties></moduleProperties>
Expand Down
Expand Up @@ -24,7 +24,7 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<!-- Tycho settings -->
<tycho-version>4.0.4</tycho-version>
<tycho-version>4.0.6</tycho-version>
<targetplatform.groupId>${project.groupId}</targetplatform.groupId>
<targetplatform.artifactId>${project.groupId}.tp</targetplatform.artifactId>
<targetplatform.version>${project.version}</targetplatform.version>
Expand Down
Expand Up @@ -70,7 +70,7 @@ class ParentProjectDescriptor extends ProjectDescriptor {
}

def String getTychoVersion() {
'3.0.5'
'4.0.6'
}

def String getTychoVersionJ11() {
Expand Down
Expand Up @@ -106,7 +106,7 @@ public String getJavaVersion() {
}

public String getTychoVersion() {
return "3.0.5";
return "4.0.6";
}

public String getTychoVersionJ11() {
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Expand Up @@ -126,7 +126,7 @@

<properties>
<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
<tycho-version>3.0.5</tycho-version>
<tycho-version>4.0.6</tycho-version>

<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
Expand Down Expand Up @@ -464,7 +464,7 @@
<configuration>
<rules>
<requireMavenVersion>
<version>3.9.2</version>
<version>3.9.6</version>
</requireMavenVersion>
</rules>
</configuration>
Expand Down Expand Up @@ -521,8 +521,9 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-version}</version>
<!--
This is not needed now, but will be needed when switching to Tycho 4.0.0
This is needed due to changes in Tycho 4.0.0
see https://github.com/eclipse-tycho/tycho/blob/master/RELEASE_NOTES.md#using-integrationplugin-tests-with-eclipse-plugin-packaging
-->
<executions>
<execution>
<id>execute-unit-tests</id>
Expand All @@ -531,7 +532,6 @@
</goals>
</execution>
</executions>
-->
<configuration>
<!--
The Surefire Plugin excludes nested classes by default: http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#excludes
Expand Down