Skip to content

Commit

Permalink
Prepare to release version 0.5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
pahjbo committed Oct 7, 2024
1 parent 721dc22 commit 96ffc24
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 10 deletions.
2 changes: 1 addition & 1 deletion models/ivoa/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("net.ivoa.vo-dml.vodmltools") version "0.5.6"
id("net.ivoa.vo-dml.vodmltools") version "0.5.7"
// id ("com.diffplug.spotless") version "5.17.1"
`maven-publish`
id("io.github.gradle-nexus.publish-plugin") version "1.3.0"
Expand Down
15 changes: 11 additions & 4 deletions runtime/java/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
signing
}
group = "org.javastro.ivoa.vo-dml"
version = "0.7.1"
version = "0.7.2"


dependencies {
Expand All @@ -15,7 +15,7 @@ dependencies {
implementation("jakarta.xml.bind:jakarta.xml.bind-api:4.0.0")
// implementation("org.glassfish.jaxb:jaxb-runtime:2.3.6")
implementation("jakarta.persistence:jakarta.persistence-api:3.1.0")
implementation("com.fasterxml.jackson.core:jackson-databind:2.15.1")
implementation("com.fasterxml.jackson.core:jackson-databind:2.17.0")
implementation("org.hibernate.orm:hibernate-core:6.2.7.Final")

implementation("org.slf4j:slf4j-api:1.7.36")
Expand All @@ -40,12 +40,16 @@ dependencies {
//}

java {
// modularity.inferModulePath.set(false) // still can only build on java 1.8
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
languageVersion = JavaLanguageVersion.of(17)
}
withJavadocJar()
withSourcesJar()

}

tasks.javadoc {
(options as StandardJavadocDocletOptions).tags("TODO","IMPL")
}

tasks.test {
Expand Down Expand Up @@ -110,6 +114,9 @@ publishing.publications.withType(MavenPublication::class.java).forEach { publica
}
}
println ("java property skipSigning= " + project.hasProperty("skipSigning"))
repositories {
mavenCentral()
}


signing {
Expand Down
5 changes: 4 additions & 1 deletion tools/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,7 @@
* 0.5.5
* allow binding to specify eager fetching for JPA
* 0.5.6
* correct some file URIs for windows
* correct some file URIs for windows
* 0.5.7
* Added support for validation against IVOA vocabularies
* Added support for rdb serialization of primitive attributes with unbounded multiplicity as colon separated string
4 changes: 4 additions & 0 deletions tools/gradletooling/TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ VODML Tooling TODO
* before and after serialization, the references need to be processed - it would be nice to do this automatically.... e.g. https://github.com/FasterXML/jackson-databind/issues/279 for jackson.
* references
* would be nice if the tooling warned when contained references are created bare.... - e.g. the filters in the original sample.
* Vocabularies
* would be good to add in off-line capability - store the desise at generation time and read that if the on-line not accessible
* only does run-time checking - perhaps compile-time would be good?
* JAXB
* ~~idrefs referred to objects are not being output - http://stackoverflow.com/questions/12914382/marshalling-unmarshalling-fields-to-tag-with-attributes-using-jaxb~~
* make the subsets create substitution group xml (i.e. have elements rather than xsi:type) http://blog.bdoughan.com/2010/11/jaxb-and-inheritance-using-substitution.html
Expand Down Expand Up @@ -116,6 +119,7 @@ VODML Tooling TODO
* JSON
* allow refs to be serialized/deserialized as ids always.... - for use in APIs.... https://stackoverflow.com/questions/51172496/how-to-dynamically-ignore-a-property-on-jackson-serialization
* perhaps have custom written ivoa base schema.... express some better rules... e.g. non neg integer...
* modern usage https://blogs.oracle.com/javamagazine/post/java-json-serialization-jackson


# Python production
Expand Down
5 changes: 3 additions & 2 deletions tools/gradletooling/gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ plugins {
}

group = "net.ivoa.vo-dml"
version = "0.5.6"
version = "0.5.7"

repositories {
mavenLocal() // FIXME remove this when releasing - just here to pick up local vodsl updates
Expand Down Expand Up @@ -73,10 +73,11 @@ gradlePlugin {

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))//NB needs to stay at 11 for gradle plugin ATM
languageVersion =JavaLanguageVersion.of(17)
}
}


sourceSets {
main {
// slightly complex way of adding the xslt and xsd directories to resources (they are at different levels)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class VodmlGradlePlugin: Plugin<Project> {


//add the dependencies for JAXB and JPA - using the hibernate implementation
listOf("org.javastro.ivoa.vo-dml:vodml-runtime:0.7.1",
listOf("org.javastro.ivoa.vo-dml:vodml-runtime:0.7.2",
"jakarta.xml.bind:jakarta.xml.bind-api:4.0.0",
"org.glassfish.jaxb:jaxb-runtime:4.0.2",
// "org.eclipse.persistence:org.eclipse.persistence.jpa:2.7.10", // supports JPA 2.2
Expand Down
2 changes: 1 addition & 1 deletion tools/gradletooling/sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import ru.vyarus.gradle.plugin.python.task.PythonTask
*
*/
plugins {
id("net.ivoa.vo-dml.vodmltools") version "0.5.6"
id("net.ivoa.vo-dml.vodmltools") version "0.5.7"
id("com.diffplug.spotless") version "6.25.0"
id("ru.vyarus.use-python") version "4.0.0"

Expand Down

0 comments on commit 96ffc24

Please sign in to comment.