Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion basex-core/src/main/java/org/basex/query/value/Value.java
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public final Value subsequence(final long pos, final long length, final Job job)
/**
* Returns a subsequence with the given start and length.
* @param pos position of first item (>= 0)
* @param length number of items (1 < length < size())
* @param length number of items (1 &lt; length &lt; size())
* @param job interruptible job
* @return new subsequence
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public final XQArray subArray(final long pos, final long length, final Job job)
/**
* Returns a subsequence with the given start and length.
* @param pos position of first member (>= 0)
* @param length number of members (1 < length < size())
* @param length number of members (1 &lt; length &lt; size())
* @param job interruptible job
* @return new subarray
*/
Expand Down
37 changes: 17 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -222,16 +222,12 @@

<profiles>
<profile>
<id>ossrh</id>
<id>central</id>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<id>basex-publish</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
Expand Down Expand Up @@ -268,6 +264,7 @@
<goal>sign</goal>
</goals>
<configuration>
<keyname>cg@basex.org</keyname>
<!-- This is necessary for gpg to not try to use the pinentry programs -->
<gpgArguments>
<arg>--pinentry-mode</arg>
Expand All @@ -294,6 +291,18 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.10.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>basex-publish</publishingServerId>
<autoPublish>true</autoPublish>
<waitUntil>published</waitUntil>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expand Down Expand Up @@ -397,7 +406,7 @@
<version>3.3.1</version>
<configuration>
<tagNameFormat>@{project.version}</tagNameFormat>
<releaseProfiles>ossrh</releaseProfiles>
<releaseProfiles>central</releaseProfiles>
<scmCommentPrefix>Release: </scmCommentPrefix>
</configuration>
</plugin>
Expand Down Expand Up @@ -466,18 +475,6 @@
</configuration>
</plugin>

<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.7.0</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>

</plugins>
</pluginManagement>

Expand Down
Loading