Skip to content

Commit cd55084

Browse files
committed
publish 0.2.1
previous jar had mix of the classes from old package
1 parent c600be2 commit cd55084

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
}
88

99
group = "org.javastro.ivoa.dm"
10-
version = "0.2"
10+
version = "0.2.1"
1111

1212
vodml {
1313
outputSiteDir.set(layout.projectDirectory.dir("doc/site/generated")) // N.B the last part of this path must be "generated"
@@ -98,7 +98,7 @@ nexusPublishing {
9898
repositories {
9999
//TODO this is a rather unsatisfactory kludge, but still seems better than the suggested JReleaser which is not really gradle friendly
100100
// see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
101-
// note need gradle publishToSonatype closeSonatypeStagingRepository to upload
101+
// note need gradle publish closeSonatypeStagingRepository to upload
102102
sonatype {
103103
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
104104
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))

src/main/java/org/ivoa/dm/tapschema/ColNameKeys.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,17 @@
55
* Created on 16/06/2025 by Paul Harrison (paul.harrison@manchester.ac.uk).
66
*/
77

8-
8+
/**
9+
* Utilities concerned with model column name normalization.
10+
*/
911
public class ColNameKeys {
1012

13+
/**
14+
* Normalize the model keys.
15+
* Make sure that the correct keys are generated for a model that as been read from an XML instance.
16+
* This need to be done to make the model ready for saving to a database.
17+
* @param model the model instance to be normalized.
18+
*/
1119
public static void normalize(TapschemaModel model) {
1220

1321
for (Schema sc: model.getContent(Schema.class)){

0 commit comments

Comments
 (0)