diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..c081a2a9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +**/target/* +.idea/* \ No newline at end of file diff --git a/agreement/pom.xml b/agreement/pom.xml index 7fbdd0e0..dac88082 100644 --- a/agreement/pom.xml +++ b/agreement/pom.xml @@ -229,6 +229,35 @@ + + smart-data-schema + generate-sources + + generate + + + ${tmforum.api.url} + org.fiware.agreement.modelngsi + smart-data + + ${project.build.directory} + false + + true + false + true + true + true + false + false + false + false + + + java.util.Date=java.time.Instant + + + @@ -236,8 +265,34 @@ micronaut-openapi-codegen ${version.io.kokuwa.micronaut.codegen} + + io.github.pulledtim + json-openapi-codegen + ${version.io.github.pulledtim.json-openapi-codegen} + + + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + package + + jar + + + ./target/schema/ + schema + + *.json + + + + + org.codehaus.mojo diff --git a/customer-bill-management/pom.xml b/customer-bill-management/pom.xml index 841b9816..93208e35 100644 --- a/customer-bill-management/pom.xml +++ b/customer-bill-management/pom.xml @@ -223,6 +223,35 @@ + + smart-data-schema + generate-sources + + generate + + + ${tmforum.api.url} + org.fiware.customerbillmanagement.modelngsi + smart-data + + ${project.build.directory} + false + + true + false + true + true + true + false + false + false + false + + + java.util.Date=java.time.Instant + + + @@ -230,8 +259,34 @@ micronaut-openapi-codegen ${version.io.kokuwa.micronaut.codegen} + + io.github.pulledtim + json-openapi-codegen + ${version.io.github.pulledtim.json-openapi-codegen} + + + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + package + + jar + + + ./target/schema/ + schema + + *.json + + + + + org.codehaus.mojo diff --git a/customer-management/pom.xml b/customer-management/pom.xml index 4d285a1c..9bfc345b 100644 --- a/customer-management/pom.xml +++ b/customer-management/pom.xml @@ -210,6 +210,35 @@ + + smart-data-schema + generate-sources + + generate + + + ${tmforum.api.url} + org.fiware.customermanagement.modelngsi + smart-data + + ${project.build.directory} + false + + true + false + true + true + true + false + false + false + false + + + java.util.Date=java.time.Instant + + + @@ -217,8 +246,34 @@ micronaut-openapi-codegen ${version.io.kokuwa.micronaut.codegen} + + io.github.pulledtim + json-openapi-codegen + ${version.io.github.pulledtim.json-openapi-codegen} + + + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + package + + jar + + + ./target/schema/ + schema + + *.json + + + + + org.codehaus.mojo diff --git a/party-catalog/pom.xml b/party-catalog/pom.xml index b1fd24de..adce6736 100644 --- a/party-catalog/pom.xml +++ b/party-catalog/pom.xml @@ -207,6 +207,35 @@ + + smart-data-schema + generate-sources + + generate + + + ${tmforum.api.url} + org.fiware.party.modelngsi + smart-data + + ${project.build.directory} + false + + true + false + true + true + true + false + false + false + false + + + java.util.Date=java.time.Instant + + + @@ -214,8 +243,34 @@ micronaut-openapi-codegen ${version.io.kokuwa.micronaut.codegen} + + io.github.pulledtim + json-openapi-codegen + ${version.io.github.pulledtim.json-openapi-codegen} + + + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + package + + jar + + + ./target/schema/ + schema + + *.json + + + + + org.codehaus.mojo diff --git a/pom.xml b/pom.xml index e13264d3..f6faad32 100644 --- a/pom.xml +++ b/pom.xml @@ -85,9 +85,9 @@ - 6.1.0 - 3.1.0 - + 6.6.0 + 3.4.1 + 1.1.0 0.2.1 @@ -312,6 +312,7 @@ **/TMForumMapperImpl* **/NGSIMapperImpl* + **/modelngsi/* diff --git a/product-catalog/pom.xml b/product-catalog/pom.xml index 217b38c9..7f374733 100644 --- a/product-catalog/pom.xml +++ b/product-catalog/pom.xml @@ -227,6 +227,35 @@ + + smart-data-schema + generate-sources + + generate + + + ${tmforum.api.url} + org.fiware.productcatalog.modelngsi + smart-data + + ${project.build.directory} + false + + true + false + true + true + true + false + false + false + false + + + java.util.Date=java.time.Instant + + + @@ -234,8 +263,34 @@ micronaut-openapi-codegen ${version.io.kokuwa.micronaut.codegen} + + io.github.pulledtim + json-openapi-codegen + ${version.io.github.pulledtim.json-openapi-codegen} + + + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + package + + jar + + + ./target/schema/ + schema + + *.json + + + + + org.codehaus.mojo diff --git a/product-inventory/pom.xml b/product-inventory/pom.xml index 024545c6..cc41fc38 100644 --- a/product-inventory/pom.xml +++ b/product-inventory/pom.xml @@ -229,6 +229,35 @@ + + smart-data-schema + generate-sources + + generate + + + ${tmforum.api.url} + org.fiware.productinventory.modelngsi + smart-data + + ${project.build.directory} + false + + true + false + true + true + true + false + false + false + false + + + java.util.Date=java.time.Instant + + + @@ -236,8 +265,34 @@ micronaut-openapi-codegen ${version.io.kokuwa.micronaut.codegen} + + io.github.pulledtim + json-openapi-codegen + ${version.io.github.pulledtim.json-openapi-codegen} + + + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + package + + jar + + + ./target/schema/ + schema + + *.json + + + + + org.codehaus.mojo diff --git a/product-ordering-management/pom.xml b/product-ordering-management/pom.xml index 08c31854..ad6e1793 100644 --- a/product-ordering-management/pom.xml +++ b/product-ordering-management/pom.xml @@ -235,6 +235,35 @@ + + smart-data-schema + generate-sources + + generate + + + ${tmforum.api.url} + org.fiware.productordering.modelngsi + smart-data + + ${project.build.directory} + false + + true + false + true + true + true + false + false + false + false + + + java.util.Date=java.time.Instant + + + @@ -242,8 +271,34 @@ micronaut-openapi-codegen ${version.io.kokuwa.micronaut.codegen} + + io.github.pulledtim + json-openapi-codegen + ${version.io.github.pulledtim.json-openapi-codegen} + + + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + package + + jar + + + ./target/schema/ + schema + + *.json + + + + + org.codehaus.mojo diff --git a/resource-catalog/pom.xml b/resource-catalog/pom.xml index d5a7c15f..9a75cce0 100644 --- a/resource-catalog/pom.xml +++ b/resource-catalog/pom.xml @@ -210,6 +210,35 @@ + + smart-data-schema + generate-sources + + generate + + + ${tmforum.api.url} + org.fiware.resourcecatalog.modelngsi + smart-data + + ${project.build.directory} + false + + true + false + true + true + true + false + false + false + false + + + java.util.Date=java.time.Instant + + + @@ -217,8 +246,34 @@ micronaut-openapi-codegen ${version.io.kokuwa.micronaut.codegen} + + io.github.pulledtim + json-openapi-codegen + ${version.io.github.pulledtim.json-openapi-codegen} + + + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + package + + jar + + + ./target/schema/ + schema + + *.json + + + + + org.codehaus.mojo diff --git a/resource-function-activation/pom.xml b/resource-function-activation/pom.xml index 75cb8e0e..44207ea2 100644 --- a/resource-function-activation/pom.xml +++ b/resource-function-activation/pom.xml @@ -210,6 +210,35 @@ + + smart-data-schema + generate-sources + + generate + + + ${tmforum.api.url} + org.fiware.resourcefunction.modelngsi + smart-data + + ${project.build.directory} + false + + true + false + true + true + true + false + false + false + false + + + java.util.Date=java.time.Instant + + + @@ -217,8 +246,34 @@ micronaut-openapi-codegen ${version.io.kokuwa.micronaut.codegen} + + io.github.pulledtim + json-openapi-codegen + ${version.io.github.pulledtim.json-openapi-codegen} + + + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + package + + jar + + + ./target/schema/ + schema + + *.json + + + + + org.codehaus.mojo diff --git a/resource-inventory/pom.xml b/resource-inventory/pom.xml index 89ee03b0..0b4f64b6 100644 --- a/resource-inventory/pom.xml +++ b/resource-inventory/pom.xml @@ -210,6 +210,35 @@ + + smart-data-schema + generate-sources + + generate + + + ${tmforum.api.url} + org.fiware.resourceinventory.modelngsi + smart-data + + ${project.build.directory} + false + + true + false + true + true + true + false + false + false + false + + + java.util.Date=java.time.Instant + + + @@ -217,8 +246,34 @@ micronaut-openapi-codegen ${version.io.kokuwa.micronaut.codegen} + + io.github.pulledtim + json-openapi-codegen + ${version.io.github.pulledtim.json-openapi-codegen} + + + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + package + + jar + + + ./target/schema/ + schema + + *.json + + + + + org.codehaus.mojo diff --git a/service-catalog/pom.xml b/service-catalog/pom.xml index 48699e45..5c3be16c 100644 --- a/service-catalog/pom.xml +++ b/service-catalog/pom.xml @@ -216,6 +216,35 @@ + + smart-data-schema + generate-sources + + generate + + + ${tmforum.api.url} + org.fiware.servicecatalog.modelngsi + smart-data + + ${project.build.directory} + false + + true + false + true + true + true + false + false + false + false + + + java.util.Date=java.time.Instant + + + @@ -223,8 +252,34 @@ micronaut-openapi-codegen ${version.io.kokuwa.micronaut.codegen} + + io.github.pulledtim + json-openapi-codegen + ${version.io.github.pulledtim.json-openapi-codegen} + + + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + package + + jar + + + ./target/schema/ + schema + + *.json + + + + + org.codehaus.mojo