Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/codeql-java-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,10 @@ jobs:
with:
distribution: 'temurin'
java-version: |
8
11
17
21

- name: 'Setup Maven 3.9.11'
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.11

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
# - name: Autobuild
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,6 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-

- name: 'Setup Maven'
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.9

- name: Setup Temurin JDK
uses: actions/setup-java@v5
with:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/java-publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,10 @@ jobs:
with:
distribution: 'temurin'
java-version: |
8
11
17
21

- name: 'Setup Maven'
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.8

- name: 'Deploy Maven snapshots'
env:
ASF_USERNAME: ${{ secrets.NEXUS_USER }}
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/maven4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
MAVEN4_VERSION: '4.0.0-rc-5'

jobs:
maven4:
runs-on: ubuntu-latest
Expand All @@ -50,20 +53,20 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-build-cache

- name: 'Setup Temurin JDK 8, 11, 17 & 21'
- name: 'Setup Temurin JDK 11, 17 & 21'
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: |
8
11
17
21

- name: Setup Maven 4
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 4.0.0-alpha-10
run: |
wget -q https://archive.apache.org/dist/maven/maven-4/${{ env.MAVEN4_VERSION }}/binaries/apache-maven-${{ env.MAVEN4_VERSION }}-bin.tar.gz
tar xzf apache-maven-${{ env.MAVEN4_VERSION }}-bin.tar.gz -C /opt
echo "/opt/apache-maven-${{ env.MAVEN4_VERSION }}/bin" >> $GITHUB_PATH

- name: Test
run: mvn clean verify
6 changes: 0 additions & 6 deletions .github/workflows/rat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,9 @@ jobs:
with:
distribution: 'temurin'
java-version: |
8
11
17
21

- name: 'Setup Maven 3.9.11'
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.11

- name: Run Rat
run: mvn test -Dmaven.main.skip=true -Dmaven.test.skip=true -DskipTests=true -Dinvoker.skip=true -P rat -pl :avro-toplevel
6 changes: 0 additions & 6 deletions .github/workflows/spotless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,9 @@ jobs:
with:
distribution: 'temurin'
java-version: |
8
11
17
21

- name: 'Setup Maven 3.9.11'
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.11

- name: Run Spotless Check
run: mvn spotless:check
12 changes: 0 additions & 12 deletions .github/workflows/test-lang-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,10 @@ jobs:
with:
distribution: 'temurin'
java-version: |
8
11
17
21

- name: 'Setup Maven 3.9.11'
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.11

- name: Install Java Avro for Interop Test
working-directory: .
run: mvn -B install -PskipQuality
Expand Down Expand Up @@ -133,16 +127,10 @@ jobs:
with:
distribution: 'temurin'
java-version: |
8
11
17
21

- name: 'Setup Maven 3.9.11'
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.11

- name: Install Java Avro for Interop Test
working-directory: .
run: mvn -B install -PskipQuality
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/test-lang-csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,10 @@ jobs:
with:
distribution: 'temurin'
java-version: |
8
11
17
21

- name: 'Setup Maven 3.9.11'
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.11

- name: Install Java Avro for Interop Test
working-directory: .
run: mvn -B install -PskipQuality
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/test-lang-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ jobs:
17
21

- name: "Setup Maven 3.9.11"
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.11

- name: "Install Java Avro Toplevel"
working-directory: ./
run: mvn -B install -PskipQuality -DskipTests
Expand Down Expand Up @@ -115,11 +110,6 @@ jobs:
17
21

- name: "Setup Maven 3.9.11"
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.11

- name: "Setup Python for Generating Input Data"
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/test-lang-perl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,10 @@ jobs:
with:
distribution: 'temurin'
java-version: |
8
11
17
21

- name: 'Setup Maven 3.9.11'
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.11

- name: Install Java Avro for Interop Test
working-directory: .
run: mvn -B install -PskipQuality
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/test-lang-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,10 @@ jobs:
with:
distribution: 'temurin'
java-version: |
8
11
17
21

- name: 'Setup Maven 3.9.11'
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.11

- name: Install Java Avro for Interop Test
working-directory: .
run: mvn -B install -PskipQuality
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/test-lang-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,10 @@ jobs:
with:
distribution: "temurin"
java-version: |
8
11
17
21

- name: "Setup Maven 3.9.11"
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.11

- name: Install Java Avro for Interop Test
working-directory: .
run: mvn -B install -PskipQuality
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/test-lang-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,10 @@ jobs:
with:
distribution: 'temurin'
java-version: |
8
11
17
21

- name: 'Setup Maven 3.9.11'
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.11

- name: Install Java Avro for Interop Test
working-directory: .
run: mvn -B install -PskipQuality
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ test-output
vendor
composer.lock
.phpunit.result.cache
.mvn/jvm.config # Maven JVM settings
.mvn/jvm.config # Maven JVM settings
.mvn/maven.config # Local Maven settings
**/*.run.xml # Intellij IDEA Run configurations
75 changes: 75 additions & 0 deletions .mvn/build-cache-config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<cache xmlns="http://maven.apache.org/BUILD-CACHE-CONFIG/1.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/BUILD-CACHE-CONFIG/1.2.0 https://maven.apache.org/xsd/build-cache-config-1.2.0.xsd">
<configuration>
<enabled>true</enabled>
<hashAlgorithm>SHA-256</hashAlgorithm>
<validateXml>true</validateXml>
<local>
<maxBuildsCached>3</maxBuildsCached>
</local>
<projectVersioning adjustMetaInf="true"/>
</configuration>
<input>
<global>
<glob>
{*.java,*.groovy,*.yaml,*.svcd,*.proto,*assembly.xml,assembly*.xml,*logback.xml,*.vm,*.ini,*.jks,*.properties,*.sh,*.bat}
</glob>
<includes>
<include>src/</include>
</includes>
<excludes>
<exclude>pom.xml</exclude>
</excludes>
</global>
</input>
<executionControl>
<runAlways>
<goalsLists>
<goalsList artifactId="maven-install-plugin">
<goals>
<goal>install</goal>
</goals>
</goalsList>
<goalsList artifactId="maven-deploy-plugin">
<goals>
<goal>deploy</goal>
</goals>
</goalsList>
</goalsLists>
</runAlways>
<reconcile logAllProperties="true">
<plugins>
<plugin artifactId="maven-compiler-plugin" goal="compile">
<reconciles>
<reconcile propertyName="source"/>
<reconcile propertyName="target"/>
<reconcile propertyName="debug"/>
<reconcile propertyName="debuglevel"/>
</reconciles>
</plugin>
<plugin artifactId="maven-enforcer-plugin" goal="enforce">
<reconciles>
<reconcile propertyName="skip" skipValue="true"/>
</reconciles>
</plugin>
</plugins>
</reconcile>
</executionControl>
</cache>
2 changes: 1 addition & 1 deletion .mvn/extensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
<extension>
<groupId>org.apache.maven.extensions</groupId>
<artifactId>maven-build-cache-extension</artifactId>
<version>1.0.1</version>
<version>1.2.2</version>
</extension>
</extensions>
2 changes: 1 addition & 1 deletion BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

The following packages must be installed before Avro can be built:

- Java: 11, 17 and 21 with the appropriate toolchain config, Maven 3.9.6 or better, protobuf-compile
- Java: 11, 17 and 21 with the appropriate toolchain config, Maven 3.9.12 or better, protobuf-compile
- PHP: php8, phpunit, php8-gmp
- Python 3: 3.10 or greater, tox (tox will install other dependencies as needed)
- C: gcc, cmake, asciidoc, source-highlight, Jansson, pkg-config
Expand Down
3 changes: 0 additions & 3 deletions lang/java/avro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<parallel>none</parallel>
</configuration>
<executions>
<execution>
<id>test-with-custom-coders</id>
Expand Down
4 changes: 0 additions & 4 deletions lang/java/compiler/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- some tests hang if not run in a separate JVM -->
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<parallel>none</parallel>
<systemPropertyVariables>
<test.idl.dir>${project.basedir}/src/test/idl</test.idl.dir>
</systemPropertyVariables>
Expand Down
2 changes: 0 additions & 2 deletions lang/java/ipc-jetty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- some tests hang if not run in a separate JVM -->
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<parallel>none</parallel>
</configuration>
</plugin>
<plugin>
Expand Down
Loading
Loading