Skip to content

Commit

Permalink
Centralize where versions are control for the build and update them
Browse files Browse the repository at this point in the history
  • Loading branch information
merks committed Mar 28, 2024
1 parent 88b9efb commit 52743e7
Show file tree
Hide file tree
Showing 17 changed files with 43 additions and 56 deletions.
2 changes: 1 addition & 1 deletion build/birt-packages/birt-charts/ChartRuntime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>1.0-beta-6</version>
<version>${wagon.ssh.version}</version>
</extension>
</extensions>
<plugins>
Expand Down
2 changes: 1 addition & 1 deletion build/birt-packages/birt-charts/ChartSDK/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>1.0-beta-6</version>
<version>${wagon.ssh.version}</version>
</extension>
</extensions>
<plugins>
Expand Down
2 changes: 1 addition & 1 deletion build/birt-packages/birt-charts/DeploymentRuntime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>1.0-beta-6</version>
<version>${wagon.ssh.version}</version>
</extension>
</extensions>
<plugins>
Expand Down
2 changes: 1 addition & 1 deletion build/birt-packages/birt-nl/birt-charts/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.3</version>
<version>${build.helper.maven.plugin.version}</version>
<executions>
<execution>
<id>add-runtime-sdk</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.3</version>
<version>${build.helper.maven.plugin.version}</version>
<executions>
<execution>
<id>add-runtime-sdk</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.3</version>
<version>${build.helper.maven.plugin.version}</version>
<executions>
<execution>
<id>add-runtime-sdk</id>
Expand Down
2 changes: 1 addition & 1 deletion build/birt-packages/birt-nl/birt-report-framework/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.3</version>
<version>${build.helper.maven.plugin.version}</version>
<executions>
<execution>
<id>add-runtime-sdk</id>
Expand Down
2 changes: 1 addition & 1 deletion build/birt-packages/birt-nl/birt-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.3</version>
<version>${build.helper.maven.plugin.version}</version>
<executions>
<execution>
<id>add-runtime-sdk</id>
Expand Down
2 changes: 1 addition & 1 deletion build/birt-packages/birt-runtime-osgi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<version>${antrun.version}</version>
<executions>
<execution>
<id>clean</id>
Expand Down
2 changes: 1 addition & 1 deletion build/birt-packages/birt-runtime-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<version>${maven.dependency.plugin.version}</version>
<executions>
<execution>
<id>copy</id>
Expand Down
2 changes: 1 addition & 1 deletion build/birt-packages/birt-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<version>${antrun.version}</version>
<executions>
<execution>
<id>clean</id>
Expand Down
2 changes: 1 addition & 1 deletion build/org.eclipse.birt.build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<version>${maven.dependency.plugin.version}</version>
<executions>
<execution>
<id>download-jars</id>
Expand Down
2 changes: 1 addition & 1 deletion build/org.eclipse.birt.p2updatesite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>1.0-beta-6</version>
<version>${wagon.ssh.version}</version>
</extension>
</extensions>
<plugins>
Expand Down
4 changes: 2 additions & 2 deletions build/org.eclipse.birt.sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4.1</version>
<version>${maven-assembly-plugin-version}</version>
<configuration>
<!-- <filters> <filter>src/assembly/filter.properties</filter> </filters> -->
<descriptors>
Expand All @@ -109,7 +109,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<version>${maven.dependency.plugin.version}</version>
<executions>
<execution>
<id>unpack</id>
Expand Down
2 changes: 1 addition & 1 deletion chart/org.eclipse.birt.chart.device.pdf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<version>${maven.dependency.plugin.version}</version>
<executions>
<execution>
<id>Copy jars</id>
Expand Down
45 changes: 26 additions & 19 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
<!--
*******************************************************************************
* Copyright (c) 2021 Contributors to the Eclipse Foundation
*
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* https://www.eclipse.org/legal/epl-2.0/.
*
*
* SPDX-License-Identifier: EPL-2.0
*
*
* Contributors:
* See git history
*******************************************************************************
-->
<!-- Copyright (c) 2015, 2021 Eclipse BIRT contributors and others This program
and the accompanying materials are made available under the terms of the
Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0/.
<!-- Copyright (c) 2015, 2021 Eclipse BIRT contributors and others This program
and the accompanying materials are made available under the terms of the
Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0/.
SPDX-License-Identifier: EPL-2.0 -->
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
Expand All @@ -26,21 +26,28 @@

<properties>
<birt.version>4.16.0</birt.version>
<antrun.version>3.0.0</antrun.version>
<tycho.scmUrl>scm:git:https://github.com/eclipse-birt/birt.git</tycho.scmUrl>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<skipTests>false</skipTests>

<Replace_By_Date>v${maven.build.timestamp}</Replace_By_Date>
<!--<build>v${maven.build.timestamp}</build> -->
<maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
<tycho.scmUrl>scm:git:https://github.com/eclipse-birt/birt.git</tycho.scmUrl>

<antrun.version>3.1.0</antrun.version>
<build.helper.maven.plugin.version>3.5.0</build.helper.maven.plugin.version>
<cbi-version>1.4.3</cbi-version>
<jacoco.maven.plugin.version>0.8.9</jacoco.maven.plugin.version>
<jetty-jspc-maven-plugin-version>10.0.20</jetty-jspc-maven-plugin-version>
<junit-version>4.13.2</junit-version>
<maven-compiler-plugin-version>3.9.0</maven-compiler-plugin-version>
<maven.dependency.plugin.version>3.6.1</maven.dependency.plugin.version>
<maven-jar-plugin-version>3.3.0</maven-jar-plugin-version>
<maven-surefire-plugin-version>3.2.5</maven-surefire-plugin-version>
<maven-assembly-plugin-version>3.7.1</maven-assembly-plugin-version>
<tycho.version>4.0.7</tycho.version>
<jetty.version>10.0.15</jetty.version>
<cbi-version>1.4.3</cbi-version>
<skipTests>false</skipTests>
<wagon.ssh.version>3.5.3</wagon.ssh.version>

<build.type>nightly</build.type>
<build.type>nightly</build.type>
<justj.tools.repo>https://download.eclipse.org/justj/tools/updates/nightly/latest</justj.tools.repo>
<justj.eclipse.repo>https://download.eclipse.org/releases/2023-03</justj.eclipse.repo>
<org.eclipse.storage.user>genie.birt</org.eclipse.storage.user>
Expand Down Expand Up @@ -292,7 +299,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>${maven-compiler-plugin-version}</version>
<configuration>
<release>11</release>
</configuration>
Expand Down Expand Up @@ -348,19 +355,19 @@
<configuration>
<skipTests>true</skipTests>
</configuration>
<!-- Exclude integration tests that may hang or cause other occasional
delays in integration test. Uncomment the following config block to disable
<!-- Exclude integration tests that may hang or cause other occasional
delays in integration test. Uncomment the following config block to disable
these tests temporarely. -->
<!-- <configuration> <testRuntime>default</testRuntime> <excludes> <exclude>**/FolderArchiveTest.*</exclude>
<exclude>**/org/eclipse/birt/data/engine/**/*Test.*</exclude> </excludes>
<!-- <configuration> <testRuntime>default</testRuntime> <excludes> <exclude>**/FolderArchiveTest.*</exclude>
<exclude>**/org/eclipse/birt/data/engine/**/*Test.*</exclude> </excludes>
</configuration> -->
</plugin>

<!-- generate code coverage report -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.9</version>
<version>${jacoco.maven.plugin.version}</version>
<executions>
<execution>
<id>jacoco-prepare-agent</id>
Expand Down
22 changes: 1 addition & 21 deletions viewer/org.eclipse.birt.report.viewer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-jspc-maven-plugin</artifactId>
<version>${jetty.version}</version>
<version>${jetty-jspc-maven-plugin-version}</version>
<executions>
<execution>
<id>pre-compile-jsp</id>
Expand Down Expand Up @@ -70,26 +70,6 @@
</execution>
</executions>
</plugin>
<!--
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<phase>clean</phase>
<failOnError>false</failOnError>
<filesets>
<fileset>
<directory>birt/WEB-INF/lib</directory>
<includes>
<include>jsp.jar</include>
<include>viewservlets.jar</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>
-->
</plugins>
</build>
</project>

0 comments on commit 52743e7

Please sign in to comment.