diff --git a/cli/pom.xml b/cli/pom.xml index 134d8f62..4cd7b931 100644 --- a/cli/pom.xml +++ b/cli/pom.xml @@ -5,7 +5,7 @@ yangtools com.mrv.yangtools - 1.1.15-SNAPSHOT + 1.2 4.0.0 diff --git a/common/pom.xml b/common/pom.xml index abd85440..88f5fd50 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -16,7 +16,7 @@ yangtools com.mrv.yangtools - 1.1.15-SNAPSHOT + 1.2 4.0.0 diff --git a/examples/build-standalone/pom.xml b/examples/build-standalone/pom.xml index f54b527c..5802d3b1 100644 --- a/examples/build-standalone/pom.xml +++ b/examples/build-standalone/pom.xml @@ -16,7 +16,7 @@ examples com.mrv.yangtools - 1.1.15-SNAPSHOT + 1.2 4.0.0 diff --git a/examples/maven-plugin-example/pom.xml b/examples/maven-plugin-example/pom.xml deleted file mode 100644 index d756155e..00000000 --- a/examples/maven-plugin-example/pom.xml +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - examples - com.mrv.yangtools - 1.1.15-SNAPSHOT - - 4.0.0 - - - io.swagger - swagger-annotations - 1.5.21 - - - com.fasterxml.jackson.core - jackson-annotations - 2.8.0 - - - - - ${project.basedir}/target/generated-sources/swagger - 1.5.21 - - - maven-plugin-example - - - - org.opendaylight.yangtools - yang-maven-plugin - ${yangtools.version} - - - ${project.groupId} - swagger-maven-plugin - ${project.version} - jar - - - - - - generate-sources - - - - - com.mrv.yangtools.maven.gen.swagger.MavenSwaggerGenerator - ${swaggerGeneratorPath} - - - true - - - - - - - io.swagger - swagger-codegen-maven-plugin - ${swagger.codegen.version} - - - ${project.groupId} - swagger-codegen-jaxrs - ${project.version} - - - - - - - generate - - - - ${swaggerGeneratorPath}/yang.swagger - - - jaxrs-mrv - - - - java8 - - - false - target/generated-sources/jaxRS - - - - - - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - io.swagger - - swagger-codegen-maven-plugin - - - [2.2.1,) - - - generate - - - - - - - - - - org.opendaylight.yangtools - - - yang-maven-plugin - - - [1.0.0-Boron,) - - - - generate-sources - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/examples/maven-plugin-example/src/main/yang/example.yang b/examples/maven-plugin-example/src/main/yang/example.yang deleted file mode 100644 index 6fbdddd3..00000000 --- a/examples/maven-plugin-example/src/main/yang/example.yang +++ /dev/null @@ -1,93 +0,0 @@ -module example-module { - namespace "http://amartus/ns/yang/example-module"; - prefix s; - organization "test-yang"; - description "example-module to demo maven integration"; - - revision 2016-06-22 { - description "Final"; - } - - typedef myint1 { - type int32 { - range 1..4096; - } - } - - grouping resource { - container state { - leaf id { - type int32; - } - leaf status { - type string; - } - } - leaf name { - type string; - } - } - - rpc addResource { - input { - leaf zip-code { - type string; - } - uses resource; - } - output { - container response { - leaf configrmation { - type string; - } - uses resource; - } - } - } - - container some-root { - leaf id { type string; } - - list children1 { - leaf id { - type myint1; - } - - leaf str { - type string; - } - - list children2 { - leaf id { - type int32; - } - leaf parent-id { - type leafref { - path "../../id"; - } - } - key "id parent-id"; - } - - list children3 { - config false; - leaf id { - type int32; - } - leaf parent-id { - type leafref { - path "../../id"; - } - } - container desc { - leaf owner { type string; } - leaf description { type string; } - } - key "id parent-id"; - } - - key "id"; - } - } - -} \ No newline at end of file diff --git a/examples/maven-plugin-example/src/main/yang/second.yang b/examples/maven-plugin-example/src/main/yang/second.yang deleted file mode 100644 index db0267e3..00000000 --- a/examples/maven-plugin-example/src/main/yang/second.yang +++ /dev/null @@ -1,36 +0,0 @@ -module pingpong-module { - namespace "http://amartus/ns/yang/pingpong-module"; - prefix s; - organization "test-yang"; - description "example-module to demo maven integration"; - - revision 2016-08-08 { - description "Final"; - } - - container configuration { - leaf customize { - type boolean; - } - container test { - leaf test { - type string; - } - } - } - - rpc ping { - input { - leaf ping { - type string; - } - } - output { - container response { - leaf pong { - type string; - } - } - } - } -} \ No newline at end of file diff --git a/examples/pom.xml b/examples/pom.xml index 5680f935..a8d8748a 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -16,12 +16,11 @@ yangtools com.mrv.yangtools - 1.1.15-SNAPSHOT + 1.2 4.0.0 pom - maven-plugin-example build-standalone diff --git a/pom.xml b/pom.xml index 4388440f..131a1df5 100644 --- a/pom.xml +++ b/pom.xml @@ -17,7 +17,7 @@ com.mrv.yangtools yangtools - 1.1.15-SNAPSHOT + 1.2 swagger-generator common diff --git a/swagger-codegen-jaxrs/pom.xml b/swagger-codegen-jaxrs/pom.xml index c537afad..8e9eed6b 100644 --- a/swagger-codegen-jaxrs/pom.xml +++ b/swagger-codegen-jaxrs/pom.xml @@ -16,7 +16,7 @@ yangtools com.mrv.yangtools - 1.1.15-SNAPSHOT + 1.2 4.0.0 diff --git a/swagger-generator/pom.xml b/swagger-generator/pom.xml index ad8e7485..57a1409b 100644 --- a/swagger-generator/pom.xml +++ b/swagger-generator/pom.xml @@ -16,7 +16,7 @@ yangtools com.mrv.yangtools - 1.1.15-SNAPSHOT + 1.2 4.0.0 diff --git a/swagger-maven-plugin/pom.xml b/swagger-maven-plugin/pom.xml index 4b94254e..208b4686 100644 --- a/swagger-maven-plugin/pom.xml +++ b/swagger-maven-plugin/pom.xml @@ -16,7 +16,7 @@ yangtools com.mrv.yangtools - 1.1.15-SNAPSHOT + 1.2 4.0.0