Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Release Fury Java Snapshot #1264

Merged
merged 7 commits into from
Dec 27, 2023
Merged
Show file tree
Hide file tree
Changes from 3 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
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,31 @@
# specific language governing permissions and limitations
# under the License.

name: Publish Fury Java 📦
name: 📦Publish Fury Java Snapshot

on:
push:
branches:
- main
- release-java-snapshot

jobs:
publish-java:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish java packages
architecture: x64
cache: maven
server-id: apache.snapshots.https
server-username: NEXUS_USERNAME
server-password: NEXUS_PASSWORD
- name: Publish Fury Java Snapshot
run: cd java && mvn --batch-mode -q deploy -Dgpg.skip -DskipTests -Prelease
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_ID }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_KEY }}
NEXUS_USERNAME: ${{ secrets.NEXUS_USER }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PW }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

name: Publish Fury 📦
name: 📦Publish Fury

on:
push:
Expand Down
14 changes: 0 additions & 14 deletions java/fury-benchmark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,6 @@
<fury.java.rootdir>${basedir}/..</fury.java.rootdir>
</properties>

<repositories>
<repository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
Expand Down Expand Up @@ -265,5 +252,4 @@
</plugin>
</plugins>
</build>

</project>
17 changes: 0 additions & 17 deletions java/fury-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,6 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>fury-core</artifactId>
<packaging>jar</packaging>

<scm>
<url>https://github.com/apache/incubator-fury</url>
<connection>[email protected]:apache/incubator-fury.git</connection>
<developerConnection>scm:git:ssh://github.com:apache/incubator-fury.git</developerConnection>
</scm>
<developers>
<developer>
<organizationUrl>https://fury.apache.org</organizationUrl>
</developer>
<developer>
<name>chaokunyang</name>
<email>[email protected]</email>
<url>https://github.com/chaokunyang</url>
</developer>
</developers>

<properties>
<maven.compiler.source>8</maven.compiler.source>
Expand Down
17 changes: 0 additions & 17 deletions java/fury-format/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,6 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>fury-format</artifactId>
<packaging>jar</packaging>

<scm>
<url>https://github.com/apache/incubator-fury</url>
<connection>[email protected]:apache/incubator-fury.git</connection>
<developerConnection>scm:git:ssh://github.com:apache/incubator-fury.git</developerConnection>
</scm>
<developers>
<developer>
<organizationUrl>https://fury.apache.org</organizationUrl>
</developer>
<developer>
<name>chaokunyang</name>
<email>[email protected]</email>
<url>https://github.com/chaokunyang</url>
</developer>
</developers>

<properties>
<maven.compiler.source>8</maven.compiler.source>
Expand Down
1 change: 0 additions & 1 deletion java/fury-test-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>fury-test-core</artifactId>
<packaging>jar</packaging>

<properties>
<maven.compiler.source>8</maven.compiler.source>
Expand Down
23 changes: 8 additions & 15 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,27 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>29</version>
</parent>

<groupId>org.apache.fury</groupId>
<artifactId>fury-parent</artifactId>
<packaging>pom</packaging>
<version>0.5.0-SNAPSHOT</version>
<name>Fury Project Parent POM</name>
<description>A blazing fast multi-language serialization framework powered by jit and zero-copy.</description>
<url>https://github.com/apache/incubator-fury</url>

<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>

<scm>
<url>https://github.com/apache/incubator-fury</url>
<connection>[email protected]:apache/incubator-fury.git</connection>
Expand All @@ -46,22 +54,7 @@
<developer>
<organizationUrl>https://fury.apache.org</organizationUrl>
</developer>
<developer>
<name>chaokunyang</name>
<email>[email protected]</email>
<url>https://github.com/chaokunyang</url>
</developer>
</developers>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<modules>
<module>fury-format</module>
Expand Down
Loading