Skip to content

Commit

Permalink
[Build] Leverage Tycho Pomless
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Jan 2, 2024
1 parent 3485d0f commit 9cdcee5
Show file tree
Hide file tree
Showing 18 changed files with 77 additions and 247 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src/
target/
tmpdir/
.polyglot.*
pom.tycho
9 changes: 9 additions & 0 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>

<extensions>
<extension>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-build</artifactId>
<version>4.0.4</version>
</extension>
</extensions>
1 change: 1 addition & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-Pbuild-individual-bundles
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,15 @@ spec:
sh '''
/opt/tools/apache-maven/latest/bin/mvn install \
--batch-mode --no-transfer-progress \
-Pbuild-individual-bundles -DforceContextQualifier=zzz -Dnative=gtk.linux.x86_64 \
-DforceContextQualifier=zzz -Dnative=gtk.linux.x86_64 \
-Dcompare-version-with-baselines.skip=true -Dmaven.compiler.failOnWarning=true
'''
}
dir ('eclipse.platform.swt') {
sh '''
/opt/tools/apache-maven/latest/bin/mvn clean verify \
--batch-mode --no-transfer-progress \
-Pbuild-individual-bundles -DcheckAllWS=true -DforkCount=0 \
-DcheckAllWS=true -DforkCount=0 \
-Dcompare-version-with-baselines.skip=false -Dmaven.compiler.failOnWarning=true \
-Dmaven.test.failure.ignore=true -Dmaven.test.error.ignore=true
'''
Expand Down
10 changes: 9 additions & 1 deletion bundles/org.eclipse.swt.cocoa.macosx.aarch64/build.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
###############################################################################
# Copyright (c) 2000, 2012 IBM Corporation and others.
# Copyright (c) 2000, 2024 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
Expand All @@ -8,9 +8,17 @@
# Contributors:
# IBM Corporation - initial API and implementation
# Krzysztof Daniel, Red Hat, Inc. - tycho enablement
# Hannes Wellmann - Leverage Tycho pomless
###############################################################################
custom = true
bin.includes = .,*.jnilib,about_files/,about.html,fragment.properties
bin.excludes = library/
source.. = src/
src.includes = about.html,about_files/

tycho.pomless.parent=../binaries-parent
pom.model.groupId=org.eclipse.swt
pom.model.property.os=macosx
pom.model.property.ws=cocoa
pom.model.property.arch=aarch64
pom.model.property.targets=
34 changes: 0 additions & 34 deletions bundles/org.eclipse.swt.cocoa.macosx.aarch64/pom.xml

This file was deleted.

10 changes: 9 additions & 1 deletion bundles/org.eclipse.swt.cocoa.macosx.x86_64/build.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
###############################################################################
# Copyright (c) 2000, 2012 IBM Corporation and others.
# Copyright (c) 2000, 2024 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
Expand All @@ -8,9 +8,17 @@
# Contributors:
# IBM Corporation - initial API and implementation
# Krzysztof Daniel, Red Hat, Inc. - tycho enablement
# Hannes Wellmann - Leverage Tycho pomless
###############################################################################
custom = true
bin.includes = .,*.jnilib,about_files/,about.html,fragment.properties
bin.excludes = library/
source.. = src/
src.includes = about.html,about_files/

tycho.pomless.parent=../binaries-parent
pom.model.groupId=org.eclipse.swt
pom.model.property.os=macosx
pom.model.property.ws=cocoa
pom.model.property.arch=x86_64
pom.model.property.targets=
34 changes: 0 additions & 34 deletions bundles/org.eclipse.swt.cocoa.macosx.x86_64/pom.xml

This file was deleted.

10 changes: 9 additions & 1 deletion bundles/org.eclipse.swt.gtk.linux.aarch64/build.properties
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
###############################################################################
# Copyright (c) 2015 Red Hat Inc. and others.
# Copyright (c) 2015, 2024 Red Hat Inc. and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# Alexander Kurtakov, Red Hat, Inc.- initial API and implementation
# Hannes Wellmann - Leverage Tycho pomless
###############################################################################
custom = true
bin.includes = .,*.so,about_files/,about.html,fragment.properties
bin.excludes = library/
source.. = src/
src.includes = about.html,about_files/

tycho.pomless.parent=../binaries-parent
pom.model.groupId=org.eclipse.swt
pom.model.property.os=linux
pom.model.property.ws=gtk
pom.model.property.arch=aarch64
pom.model.property.targets=install
34 changes: 0 additions & 34 deletions bundles/org.eclipse.swt.gtk.linux.aarch64/pom.xml

This file was deleted.

10 changes: 9 additions & 1 deletion bundles/org.eclipse.swt.gtk.linux.loongarch64/build.properties
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
###############################################################################
# Copyright (c) 2022 Loongson Co.Ltd. and others.
# Copyright (c) 2022, 2024 Loongson Co.Ltd. and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# Loongson Co.Ltd.- initial API and implementation
# Hannes Wellmann - Leverage Tycho pomless
###############################################################################
custom = true
bin.includes = .,*.so,about_files/,about.html,fragment.properties
bin.excludes = library/
source.. = src/
src.includes = about.html,about_files/

tycho.pomless.parent=../binaries-parent
pom.model.groupId=org.eclipse.swt
pom.model.property.os=linux
pom.model.property.ws=gtk
pom.model.property.arch=loongarch64
pom.model.property.targets=install
34 changes: 0 additions & 34 deletions bundles/org.eclipse.swt.gtk.linux.loongarch64/pom.xml

This file was deleted.

10 changes: 9 additions & 1 deletion bundles/org.eclipse.swt.gtk.linux.ppc64le/build.properties
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
###############################################################################
# Copyright (c) 2000, 2005 IBM Corporation and others.
# Copyright (c) 2000, 2024 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# IBM Corporation - initial API and implementation
# Hannes Wellmann - Leverage Tycho pomless
###############################################################################
custom = true
bin.includes = .,*.so,about_files/,about.html,fragment.properties
bin.excludes = library/
source.. = src/
src.includes = about.html,about_files/

tycho.pomless.parent=../binaries-parent
pom.model.groupId=org.eclipse.swt
pom.model.property.os=linux
pom.model.property.ws=gtk
pom.model.property.arch=ppc64le
pom.model.property.targets=install
34 changes: 0 additions & 34 deletions bundles/org.eclipse.swt.gtk.linux.ppc64le/pom.xml

This file was deleted.

10 changes: 9 additions & 1 deletion bundles/org.eclipse.swt.gtk.linux.x86_64/build.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
###############################################################################
# Copyright (c) 2000, 2005 IBM Corporation and others.
# Copyright (c) 2000, 2024 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
Expand All @@ -8,9 +8,17 @@
# Contributors:
# IBM Corporation - initial API and implementation
# Krzysztof Daniel, Red Hat, Inc. - tycho enablement
# Hannes Wellmann - Leverage Tycho pomless
###############################################################################
custom = true
bin.includes = .,*.so,about_files/,about.html,fragment.properties
bin.excludes = library/
source.. = src/
src.includes = about.html,about_files/

tycho.pomless.parent=../binaries-parent
pom.model.groupId=org.eclipse.swt
pom.model.property.os=linux
pom.model.property.ws=gtk
pom.model.property.arch=x86_64
pom.model.property.targets=install
34 changes: 0 additions & 34 deletions bundles/org.eclipse.swt.gtk.linux.x86_64/pom.xml

This file was deleted.

Loading

0 comments on commit 9cdcee5

Please sign in to comment.