Skip to content

Commit 5322b44

Browse files
committed
add publish info to pom.xml
1 parent 39ffce5 commit 5322b44

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

pom.xml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,28 @@
88
<artifactId>zarr-java</artifactId>
99
<version>0.0.1-SNAPSHOT</version>
1010

11+
<name>Zarr-Java</name>
12+
<description>
13+
Zarr-Java is a Java library providing an implementation of chunked,
14+
compressed, N-dimensional arrays implementing the ZarrV3 format.
15+
</description>
16+
<url>https://github.com/zarr-developers/zarr-java</url>
17+
18+
<licenses>
19+
<license>
20+
<name>MIT License</name>
21+
<url>https://opensource.org/license/mit/</url>
22+
<distribution>repo</distribution>
23+
</license>
24+
</licenses>
25+
26+
<scm>
27+
<url>https://github.com/zarr-developers/zarr-java</url>
28+
<connection>scm:git:git://github.com/zarr-developers/zarr-java.git</connection>
29+
<developerConnection>scm:git:[email protected]:zarr-developers/zarr-java.git</developerConnection>
30+
</scm>
31+
32+
1133
<properties>
1234
<maven.compiler.source>8</maven.compiler.source>
1335
<maven.compiler.target>8</maven.compiler.target>
@@ -85,6 +107,14 @@
85107
</dependency>
86108
</dependencies>
87109

110+
111+
<distributionManagement>
112+
<repository>
113+
<id>ossrh</id>
114+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
115+
</repository>
116+
</distributionManagement>
117+
<!-- Repositories are not recommended (see https://maven.apache.org/repository/guide-central-repository-upload.html#faq-and-common-mistakes)-->
88118
<repositories>
89119
<repository>
90120
<id>unidata-all</id>
@@ -103,6 +133,24 @@
103133
<useSystemClassLoader>false</useSystemClassLoader>
104134
</configuration>
105135
</plugin>
136+
<plugin>
137+
<groupId>org.apache.maven.plugins</groupId>
138+
<artifactId>maven-compiler-plugin</artifactId>
139+
<version>3.13.0</version>
140+
<configuration>
141+
<source>${maven.compiler.source}</source>
142+
<target>${maven.compiler.target}</target>
143+
</configuration>
144+
145+
<groupId>org.sonatype.plugins</groupId>
146+
<artifactId>nexus-staging-maven-plugin</artifactId>
147+
<version>1.6.6</version>
148+
<extensions>true</extensions>
149+
<configuration>
150+
<serverId>nexus</serverId>
151+
<nexusUrl>http://localhost:8081/nexus/</nexusUrl>
152+
</configuration>
153+
</plugin>
106154
</plugins>
107155
</build>
108156
</project>

0 commit comments

Comments
 (0)