Skip to content

Commit 2c33ca2

Browse files
committed
use build info from jzarr
1 parent 5322b44 commit 2c33ca2

File tree

1 file changed

+72
-9
lines changed

1 file changed

+72
-9
lines changed

pom.xml

Lines changed: 72 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
<developerConnection>scm:git:[email protected]:zarr-developers/zarr-java.git</developerConnection>
3030
</scm>
3131

32-
3332
<properties>
3433
<maven.compiler.source>8</maven.compiler.source>
3534
<maven.compiler.target>8</maven.compiler.target>
@@ -107,13 +106,13 @@
107106
</dependency>
108107
</dependencies>
109108

110-
111109
<distributionManagement>
112110
<repository>
113111
<id>ossrh</id>
114112
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
115113
</repository>
116114
</distributionManagement>
115+
117116
<!-- Repositories are not recommended (see https://maven.apache.org/repository/guide-central-repository-upload.html#faq-and-common-mistakes)-->
118117
<repositories>
119118
<repository>
@@ -140,17 +139,81 @@
140139
<configuration>
141140
<source>${maven.compiler.source}</source>
142141
<target>${maven.compiler.target}</target>
142+
<encoding>UTF-8</encoding>
143+
<excludes>
144+
<exclude>.gitignore</exclude>
145+
<exclude>temp/**</exclude>
146+
</excludes>
143147
</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>
148+
</plugin>
149+
<plugin>
150+
<groupId>org.apache.maven.plugins</groupId>
151+
<artifactId>maven-source-plugin</artifactId>
152+
<version>3.1.0</version>
153+
<executions>
154+
<execution>
155+
<phase>verify</phase>
156+
<goals>
157+
<goal>jar</goal>
158+
</goals>
159+
<configuration>
160+
<excludes>
161+
<exclude>temp.**</exclude>
162+
</excludes>
163+
</configuration>
164+
</execution>
165+
</executions>
166+
<configuration>
167+
<excludeResources>true</excludeResources>
168+
</configuration>
169+
</plugin>
170+
<plugin>
171+
<groupId>org.apache.maven.plugins</groupId>
172+
<artifactId>maven-javadoc-plugin</artifactId>
173+
<version>3.5.0</version>
174+
<executions>
175+
<execution>
176+
<id>attach-javadoc</id>
177+
<goals>
178+
<goal>jar</goal>
179+
</goals>
180+
</execution>
181+
</executions>
182+
<configuration>
183+
<source>8</source>
184+
</configuration>
185+
</plugin>
186+
<plugin>
187+
<groupId>org.apache.maven.plugins</groupId>
188+
<artifactId>maven-resources-plugin</artifactId>
189+
<version>3.1.0</version>
149190
<configuration>
150-
<serverId>nexus</serverId>
151-
<nexusUrl>http://localhost:8081/nexus/</nexusUrl>
191+
<encoding>UTF-8</encoding>
152192
</configuration>
153193
</plugin>
194+
<plugin>
195+
<groupId>org.codehaus.mojo</groupId>
196+
<artifactId>build-helper-maven-plugin</artifactId>
197+
<version>1.10</version>
198+
</plugin>
199+
<plugin>
200+
<groupId>org.apache.maven.plugins</groupId>
201+
<artifactId>maven-gpg-plugin</artifactId>
202+
<version>1.6</version>
203+
<executions>
204+
<execution>
205+
<id>sign-artifacts</id>
206+
<phase>verify</phase>
207+
<goals>
208+
<goal>sign</goal>
209+
</goals>
210+
<configuration>
211+
<!-- TODO: Add GPG key name here -->
212+
<keyname>TODO</keyname>
213+
</configuration>
214+
</execution>
215+
</executions>
216+
</plugin>
154217
</plugins>
155218
</build>
156219
</project>

0 commit comments

Comments
 (0)