This module publishes platform-specific Apache Thrift compiler archives used by IoTDB builds. The archives contain the thrift executable only.
Install the following software before building this module:
apache.releases.https in Maven settings.xmlLinux profiles build the thrift executable with -static, so the build host needs the static runtime libraries required by its C/C++ toolchain.
Use mvnw.cmd instead of ./mvnw on Windows.
Run the following command from this directory:
./mvnw clean package -DskipTests
The archive is generated under target/. Check that it contains bin/thrift and that the binary reports the expected Apache Thrift version.
Run the first deploy on one platform without stagingRepositoryId:
./mvnw clean deploy -P apache-release
This creates a new staging repository in Nexus. After the deploy completes, open https://repository.apache.org/#stagingRepositories and copy the generated staging repository id, for example orgapacheiotdb-1234.
Run the deploy on each remaining platform with that exact staging repository id:
./mvnw clean deploy -P apache-release -DstagingRepositoryId=orgapacheiotdb-1234
The stagingRepositoryId value must be an existing Nexus staging repository id created by the first deploy. Do not use a made-up id.
Supported classifiers are selected by the active OS profile:
linux-x86_64linux-aarch64mac-x86_64mac-aarch64windows-x86_64windows-aarch64After all platform archives have been deployed, verify the staging repository in Nexus, close it, and continue with the Apache release vote and release process.