Skip to content

Commit 0792c6c

Browse files
authored
Merge branch 'protegeproject:master' into migrateLib
2 parents 76f602c + 82acd62 commit 0792c6c

File tree

8 files changed

+26
-20
lines changed

8 files changed

+26
-20
lines changed

pom.xml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<groupId>edu.stanford.protege</groupId>
55
<artifactId>protege-parent</artifactId>
6-
<version>5.6.6</version>
6+
<version>5.6.7</version>
77
<packaging>pom</packaging>
88

99
<name>protege-parent</name>
@@ -105,22 +105,22 @@
105105

106106
<repositories>
107107
<repository>
108-
<id>oss</id>
109-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
108+
<id>central-portal-snapshots</id>
109+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
110110
<releases><enabled>false</enabled></releases>
111111
<snapshots><enabled>true</enabled></snapshots>
112112
</repository>
113113
</repositories>
114114

115-
<!-- Protege libraries are hosted on Sonatype OSSRH (OSS Repository Hosting Service). -->
115+
<!-- Protege libraries are hosted on Sonatype Central Repository. -->
116116
<distributionManagement>
117117
<snapshotRepository>
118118
<id>ossrh</id>
119-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
119+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
120120
</snapshotRepository>
121121
<repository>
122122
<id>ossrh</id>
123-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
123+
<url>https://central.sonatype.com</url>
124124
</repository>
125125
</distributionManagement>
126126

@@ -425,9 +425,9 @@
425425
</plugin>
426426

427427
<plugin>
428-
<groupId>org.sonatype.plugins</groupId>
429-
<artifactId>nexus-staging-maven-plugin</artifactId>
430-
<version>1.6.13</version>
428+
<groupId>org.sonatype.central</groupId>
429+
<artifactId>central-publishing-maven-plugin</artifactId>
430+
<version>0.8.0</version>
431431
</plugin>
432432

433433
<plugin>
@@ -531,22 +531,22 @@
531531
</plugin>
532532

533533
<plugin>
534-
<groupId>org.sonatype.plugins</groupId>
535-
<artifactId>nexus-staging-maven-plugin</artifactId>
534+
<groupId>org.sonatype.central</groupId>
535+
<artifactId>central-publishing-maven-plugin</artifactId>
536536
<extensions>true</extensions>
537537
<executions>
538538
<execution>
539539
<id>default-deploy</id>
540540
<phase>deploy</phase>
541541
<goals>
542-
<goal>deploy</goal>
542+
<goal>publish</goal>
543543
</goals>
544544
</execution>
545545
</executions>
546546
<configuration>
547-
<serverId>ossrh</serverId>
548-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
549-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
547+
<publishingServerId>ossrh</publishingServerId>
548+
<autoPublish>true</autoPublish>
549+
<waitUntil>published</waitUntil>
550550
</configuration>
551551
</plugin>
552552

protege-common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>edu.stanford.protege</groupId>
77
<artifactId>protege-parent</artifactId>
8-
<version>5.6.6</version>
8+
<version>5.6.7</version>
99
<relativePath>../</relativePath>
1010
</parent>
1111

protege-desktop/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>edu.stanford.protege</groupId>
66
<artifactId>protege-parent</artifactId>
7-
<version>5.6.6</version>
7+
<version>5.6.7</version>
88
<relativePath>../</relativePath>
99
</parent>
1010

0 Bytes
Binary file not shown.

protege-editor-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>edu.stanford.protege</groupId>
77
<artifactId>protege-parent</artifactId>
8-
<version>5.6.6</version>
8+
<version>5.6.7</version>
99
<relativePath>../</relativePath>
1010
</parent>
1111

protege-editor-owl/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>edu.stanford.protege</groupId>
77
<artifactId>protege-parent</artifactId>
8-
<version>5.6.6</version>
8+
<version>5.6.7</version>
99
<relativePath>../</relativePath>
1010
</parent>
1111

protege-editor-owl/src/main/java/org/protege/editor/owl/model/bioregistry/Resource.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ public class Resource {
2323

2424
public Resource(@Nonnull @JsonProperty("pattern") String pattern,
2525
@Nonnull @JsonProperty("uri_format") String uriFormat) {
26+
if (pattern == null) {
27+
throw new IllegalArgumentException("Missing pattern");
28+
}
29+
if (uriFormat == null) {
30+
throw new IllegalArgumentException("Missing URI format");
31+
}
2632
idPattern = Pattern.compile(pattern);
2733
this.uriFormat = uriFormat;
2834
}

protege-launcher/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>edu.stanford.protege</groupId>
77
<artifactId>protege-parent</artifactId>
8-
<version>5.6.6</version>
8+
<version>5.6.7</version>
99
<relativePath>../</relativePath>
1010
</parent>
1111

0 commit comments

Comments
 (0)