Skip to content

build(bindings/java): support multiple platform java bindings #2324

Merged
Xuanwo merged 8 commits intoapache:mainfrom
tisonkun:sys-java-bidnings
May 25, 2023
Merged

build(bindings/java): support multiple platform java bindings #2324
Xuanwo merged 8 commits intoapache:mainfrom
tisonkun:sys-java-bidnings

Conversation

@tisonkun
Copy link
Copy Markdown
Member

@tisonkun tisonkun commented May 25, 2023

This refers to #2313.

The release workflow still needs to improve. But we can now release the bindings with multiple classifier:

image

I test it in a client project:

    <repositories>
        <repository>
            <id>apache.snapshots</id>
            <name>Apache Snapshot Repository</name>
            <url>https://repository.apache.org/snapshots</url>
            <releases>
                <enabled>true</enabled>
            </releases>
        </repository>
    </repositories>


<dependencies>
        <dependency>
            <groupId>org.apache.opendal</groupId>
            <artifactId>opendal-java</artifactId>
            <version>0.1.0-SNAPSHOT</version>
            <classifier>${os.detected.classifier}</classifier>
        </dependency>
    </dependencies>

    <build>
        <extensions>
            <extension>
                <groupId>kr.motd.maven</groupId>
                <artifactId>os-maven-plugin</artifactId>
                <version>1.7.0</version>
            </extension>
        </extensions>
    </build>

tisonkun added 8 commits May 25, 2023 18:00
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
@tisonkun tisonkun marked this pull request as ready for review May 25, 2023 11:42
@tisonkun tisonkun changed the title Sys java bidnings build(bindings/java): support multiple platform java bindings May 25, 2023
Copy link
Copy Markdown
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@Xuanwo Xuanwo merged commit 994804a into apache:main May 25, 2023
@tisonkun tisonkun deleted the sys-java-bidnings branch May 25, 2023 13:38
@Xuanwo Xuanwo mentioned this pull request May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants