Skip to content

Commit 4b40b74

Browse files
committed
Merge main for #3 synchronization
2 parents 0121e69 + d5f6af5 commit 4b40b74

File tree

2 files changed

+73
-41
lines changed

2 files changed

+73
-41
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@ jobs:
99

1010
- uses: actions/checkout@v3
1111

12-
- name: Set up JDK
12+
- name: Set up Java 11
1313
uses: actions/setup-java@v3
1414
with:
1515
java-version: '11'
16-
distribution: 'temurin'
16+
distribution: 'adopt'
1717
server-id: ossrh
18-
server-username: ${{secrets.OSSRH_USERNAME}}
19-
server-password: ${{secrets.OSSRH_TOKEN}}
18+
server-username: MAVEN_USERNAME
19+
server-password: MAVEN_PASSWORD
20+
21+
- name: Install Blosc native library
22+
run: sudo apt-get install -y libblosc1
2023

2124
- id: install-secret-key
2225
name: Install gpg secret key
@@ -27,8 +30,7 @@ jobs:
2730
gpg --list-secret-keys --keyid-format LONG
2831
2932
- name: Publish package
30-
# when working, add --no-transfer-progress
31-
run: mvn --batch-mode -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} deploy
33+
run: mvn --batch-mode deploy
3234
env:
3335
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
34-
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
36+
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

pom.xml

Lines changed: 64 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,42 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7-
<groupId>dev.zarr.zarrjava</groupId>
7+
<groupId>dev.zarr</groupId>
88
<artifactId>zarr-java</artifactId>
9-
<version>0.0.1-SNAPSHOT</version>
9+
<version>0.0.1</version>
10+
11+
<name>zarr-java</name>
12+
13+
<description>
14+
zarr-java is a Java library providing an implementation of chunked,
15+
compressed, N-dimensional arrays close to the zarr-python package.
16+
</description>
17+
18+
<url>https://github.com/zarr-developers/zarr-java</url>
19+
20+
<licenses>
21+
<license>
22+
<name>MIT License</name>
23+
<url>https://opensource.org/license/mit/</url>
24+
<distribution>repo</distribution>
25+
</license>
26+
</licenses>
27+
28+
<scm>
29+
<url>https://github.com/zarr-developers/zarr-java</url>
30+
<connection>scm:git:git://github.com/zarr-developers/zarr-java.git</connection>
31+
<developerConnection>scm:git:[email protected]:zarr-developers/zarr-java.git</developerConnection>
32+
</scm>
33+
34+
<developers>
35+
<developer>
36+
<id>normanrz</id>
37+
<name>Norman Rzepka</name>
38+
<roles>
39+
<role>maintainer</role>
40+
</roles>
41+
</developer>
42+
</developers>
1043

1144
<name>Zarr-Java</name>
1245
<description>
@@ -106,9 +139,13 @@
106139
</dependencies>
107140

108141
<distributionManagement>
142+
<snapshotRepository>
143+
<id>ossrh</id>
144+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
145+
</snapshotRepository>
109146
<repository>
110147
<id>ossrh</id>
111-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
148+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
112149
</repository>
113150
</distributionManagement>
114151

@@ -164,22 +201,6 @@
164201
<excludeResources>true</excludeResources>
165202
</configuration>
166203
</plugin>
167-
<plugin>
168-
<groupId>org.apache.maven.plugins</groupId>
169-
<artifactId>maven-javadoc-plugin</artifactId>
170-
<version>3.5.0</version>
171-
<executions>
172-
<execution>
173-
<id>attach-javadoc</id>
174-
<goals>
175-
<goal>jar</goal>
176-
</goals>
177-
</execution>
178-
</executions>
179-
<configuration>
180-
<source>8</source>
181-
</configuration>
182-
</plugin>
183204
<plugin>
184205
<groupId>org.apache.maven.plugins</groupId>
185206
<artifactId>maven-resources-plugin</artifactId>
@@ -195,25 +216,34 @@
195216
</plugin>
196217
<plugin>
197218
<groupId>org.apache.maven.plugins</groupId>
198-
<artifactId>maven-gpg-plugin</artifactId>
199-
<version>1.6</version>
219+
<artifactId>maven-javadoc-plugin</artifactId>
220+
<version>3.5.0</version>
221+
<executions>
222+
<execution>
223+
<id>attach-javadoc</id>
224+
<goals>
225+
<goal>jar</goal>
226+
</goals>
227+
</execution>
228+
</executions>
200229
<configuration>
201-
<gpgArguments>
202-
<arg>--pinentry-mode</arg>
203-
<arg>loopback</arg>
204-
</gpgArguments>
230+
<source>8</source>
205231
</configuration>
232+
</plugin>
233+
<plugin>
234+
<groupId>org.apache.maven.plugins</groupId>
235+
<artifactId>maven-gpg-plugin</artifactId>
236+
<version>1.6</version>
206237
<executions>
207238
<execution>
208-
<id>sign-artifacts</id>
209-
<phase>verify</phase>
210-
<goals>
211-
<goal>sign</goal>
212-
</goals>
213-
<configuration>
214-
<!-- TODO: Add GPG key name here -->
215-
<keyname>TODO</keyname>
216-
</configuration>
239+
<id>sign-artifacts</id>
240+
<phase>verify</phase>
241+
<goals>
242+
<goal>sign</goal>
243+
</goals>
244+
<configuration>
245+
<keyname>9F88D86AD9A0D91E</keyname>
246+
</configuration>
217247
</execution>
218248
</executions>
219249
</plugin>

0 commit comments

Comments
 (0)