You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Work needs to be done to publish packages to the maven central repository: https://mvnrepository.com/. This includes both the annotations package (currently named com.microsoft.durabletask.azurefunctions) and the core SDK package (com.microsoft.durabletask)
Configure local system to use JDK 8. Verify using the below command before proceeding
- java -version
Build and install the durable task java client to local maven repository using IntelliJ or the below commands
- gradle client:build
- gradle client:publishToMavenLocal
Build and install the durable task java annotations to local maven repository using IntelliJ or the below commands
- gradle azurefunctions:build
- gradle azurefunctions:publishToMavenLocal
The updated jars can be located at the local maven repository in the below path.
- C:\Users\<user>\.m2\repository\com\microsoft\durabletask-client\<version>
- C:\Users\<user>\.m2\repository\com\microsoft\durabletask-azure-functions<version>
Upload the files from your local maven repository to the Azure drops container
- Create a new folder for your package (if a new package) and a version sub folder.
- Container locations /azure-functions/java/durabletask-azure-functions/<version> and /azure-functions/java/durabletask-client/<version>
- Upload the files from your local maven repository to the specific container. Generally, this included 4 files, a pom file, javadoc jar, sources jar and the actual package jar.
Run the Java Partner Release Pipeline to publish to sonatype and maven.
1. Click Run pipeline
2. Update the Container relative blob path to point to the respective package in the drops container. Example: azure-functions/java/durabletask-client/1.0.0-beta.1
3. Hit Run
4. Once the pipeline completes, the jars are published to maven. If the jar is a Snapshot jar, it is only published to sonatype.
Activity
shreyas-gopalakrishna commentedon Oct 5, 2022
Documenting the steps to follow to release the durabletask client and durabletask annotations packages.
Build the project and install to local maven repository
Update the package versions in the build.gradle files for both the packages
- durabletask-java client
- durabletask-java annotations
Configure local system to use JDK 8. Verify using the below command before proceeding
-
java -versionBuild and install the durable task java client to local maven repository using IntelliJ or the below commands
-
gradle client:build-
gradle client:publishToMavenLocalBuild and install the durable task java annotations to local maven repository using IntelliJ or the below commands
-
gradle azurefunctions:build-
gradle azurefunctions:publishToMavenLocalThe updated jars can be located at the local maven repository in the below path.
-
C:\Users\<user>\.m2\repository\com\microsoft\durabletask-client\<version>-
C:\Users\<user>\.m2\repository\com\microsoft\durabletask-azure-functions<version>Publish packages to maven
The Partner Release Pipeline will be used to publish packages into sonatype and maven.
Upload the files from your local maven repository to the Azure drops container
- Create a new folder for your package (if a new package) and a version sub folder.
- Container locations
/azure-functions/java/durabletask-azure-functions/<version>and/azure-functions/java/durabletask-client/<version>- Upload the files from your local maven repository to the specific container. Generally, this included 4 files, a pom file, javadoc jar, sources jar and the actual package jar.
Run the Java Partner Release Pipeline to publish to sonatype and maven.
1. Click Run pipeline
2. Update the Container relative blob path to point to the respective package in the drops container. Example:
azure-functions/java/durabletask-client/1.0.0-beta.13. Hit Run
4. Once the pipeline completes, the jars are published to maven. If the jar is a Snapshot jar, it is only published to sonatype.