Skip to content

Publish onnxruntime-extensions Builds for Java to Maven Central #597

@HichemMaiza

Description

@HichemMaiza

Hello Guys, Can we publish onnxruntime-extensions to maven central ? This addition would significantly benefit the Java community, allowing users to easily integrate it into their projects through Maven or Gradle dependencies. Currently, adding onnxruntime to a Java project is straightforward with the following Maven dependency:

<!-- https://mvnrepository.com/artifact/com.microsoft.onnxruntime/onnxruntime -->
<dependency>
    <groupId>com.microsoft.onnxruntime</groupId>
    <artifactId>onnxruntime</artifactId>
    <version>1.16.1</version>
</dependency>

To further enhance the experience, we may add the following dependency

<!-- https://mvnrepository.com/artifact/com.microsoft.onnxruntime/onnxruntime -->
<dependency>
    <groupId>com.microsoft.onnxruntime</groupId>
    <artifactId>onnxruntime-extensions</artifactId>
    <version>0.9.0</version>
</dependency>

I have personally built version 0.9.0 and tested it with OnnxRuntime version 1.16.0 across multiple models in the Microsoft/Olive repository. You can find my builds on GitHub https://github.com/HichemMaiza/onnxruntime-extensions-java.

This addition to Maven Central would greatly simplify the integration of onnxruntime-extensions into Java projects and open up new possibilities for the Java community.

Thank you for considering this proposal. Please let me know if you need any further information.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions