[10/32] incubator-streams git commit: STREAMS-398 - pojo generation
STREAMS-398 - pojo generation code and plugin for generating POJOs now resides in streams-project unit testing for generating POJOs without maven unit testing for generating POJOs with maven Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/bf31cbe0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/bf31cbe0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/bf31cbe0 Branch: refs/heads/STREAMS-389 Commit: bf31cbe000b950cb07298d7dbc735726d4b91e3d Parents: 02b5add Author: Steve Blackmon @steveblackmon Authored: Thu Apr 21 11:42:44 2016 -0500 Committer: Steve Blackmon @steveblackmon Committed: Thu Apr 21 11:42:44 2016 -0500 -- pom.xml | 1 + streams-plugins/streams-plugin-pojo/pom.xml | 28 ++- .../plugins/StreamsPojoGenerationConfig.java| 230 --- .../plugins/StreamsPojoSourceGenerator.java | 98 .../plugins/StreamsPojoSourceGeneratorMojo.java | 80 +++ .../StreamsPojoSourceGeneratorMojoTest.java | 96 .../test/StreamsPojoSourceGeneratorTest.java| 43 +++- .../test/resources/streams-plugin-pojo/pom.xml | 90 +++- streams-pojo/pom.xml| 6 + 9 files changed, 421 insertions(+), 251 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/bf31cbe0/pom.xml -- diff --git a/pom.xml b/pom.xml index b284ae2..30ec5e7 100644 --- a/pom.xml +++ b/pom.xml @@ -177,6 +177,7 @@ streams-pojo-extensions streams-plugins streams-runtimes +streams-schemas streams-testing streams-util streams-verbs http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/bf31cbe0/streams-plugins/streams-plugin-pojo/pom.xml -- diff --git a/streams-plugins/streams-plugin-pojo/pom.xml b/streams-plugins/streams-plugin-pojo/pom.xml index 399a371..d7210c8 100644 --- a/streams-plugins/streams-plugin-pojo/pom.xml +++ b/streams-plugins/streams-plugin-pojo/pom.xml @@ -43,8 +43,14 @@ ${project.version} +org.apache.streams +streams-schemas +${project.version} + + org.jsonschema2pojo jsonschema2pojo-core +0.4.10 commons-logging @@ -55,6 +61,7 @@ org.jsonschema2pojo jsonschema2pojo-maven-plugin +0.4.10 org.apache.streams @@ -86,6 +93,12 @@ test +org.apache.maven.shared +maven-verifier +1.6 +test + + org.apache.maven maven-core 3.3.3 @@ -216,19 +229,20 @@ org.apache.maven.plugins maven-dependency-plugin -2.4 + +**/*.json + ${project.build.directory}/test-classes/streams-schemas +org.apache.streams +streams-schemas +jar,test-jar + -resource-dependencies +test-resource-dependencies process-test-resources unpack-dependencies - - streams-pojo -**/*.json - ${project.build.directory}/test-classes - http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/bf31cbe0/streams-plugins/streams-plugin-pojo/src/main/java/org/apache/streams/plugins/StreamsPojoGenerationConfig.java -- diff --git a/streams-plugins/streams-plugin-pojo/src/main/java/org/apache/streams/plugins/StreamsPojoGenerationConfig.java b/streams-plugins/streams-plugin-pojo/src/main/java/org/apache/streams/plugins/StreamsPojoGenerationConfig.java index b42ccf9..4c1f850 100644 --- a/streams-plugins/streams-plugin-pojo/src/main/java/org/apache/streams/plugins/StreamsPojoGenerationConfig.java +++ b/streams-plugins/streams-plugin-pojo/src/main/java/org/apache/streams/plugins/StreamsPojoGenerationConfig.java @@ -2,197 +2,67 @@ package org.apache.streams.plugins; import org.jsonschema2pojo.AnnotationStyle; import org.jsonschema2pojo.Annotator; +import org.j
[10/32] incubator-streams git commit: STREAMS-398 - pojo generation
STREAMS-398 - pojo generation code and plugin for generating POJOs now resides in streams-project unit testing for generating POJOs without maven unit testing for generating POJOs with maven Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/bf31cbe0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/bf31cbe0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/bf31cbe0 Branch: refs/feature/STREAMS-389,398 Commit: bf31cbe000b950cb07298d7dbc735726d4b91e3d Parents: 02b5add Author: Steve Blackmon @steveblackmon Authored: Thu Apr 21 11:42:44 2016 -0500 Committer: Steve Blackmon @steveblackmon Committed: Thu Apr 21 11:42:44 2016 -0500 -- pom.xml | 1 + streams-plugins/streams-plugin-pojo/pom.xml | 28 ++- .../plugins/StreamsPojoGenerationConfig.java| 230 --- .../plugins/StreamsPojoSourceGenerator.java | 98 .../plugins/StreamsPojoSourceGeneratorMojo.java | 80 +++ .../StreamsPojoSourceGeneratorMojoTest.java | 96 .../test/StreamsPojoSourceGeneratorTest.java| 43 +++- .../test/resources/streams-plugin-pojo/pom.xml | 90 +++- streams-pojo/pom.xml| 6 + 9 files changed, 421 insertions(+), 251 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/bf31cbe0/pom.xml -- diff --git a/pom.xml b/pom.xml index b284ae2..30ec5e7 100644 --- a/pom.xml +++ b/pom.xml @@ -177,6 +177,7 @@ streams-pojo-extensions streams-plugins streams-runtimes +streams-schemas streams-testing streams-util streams-verbs http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/bf31cbe0/streams-plugins/streams-plugin-pojo/pom.xml -- diff --git a/streams-plugins/streams-plugin-pojo/pom.xml b/streams-plugins/streams-plugin-pojo/pom.xml index 399a371..d7210c8 100644 --- a/streams-plugins/streams-plugin-pojo/pom.xml +++ b/streams-plugins/streams-plugin-pojo/pom.xml @@ -43,8 +43,14 @@ ${project.version} +org.apache.streams +streams-schemas +${project.version} + + org.jsonschema2pojo jsonschema2pojo-core +0.4.10 commons-logging @@ -55,6 +61,7 @@ org.jsonschema2pojo jsonschema2pojo-maven-plugin +0.4.10 org.apache.streams @@ -86,6 +93,12 @@ test +org.apache.maven.shared +maven-verifier +1.6 +test + + org.apache.maven maven-core 3.3.3 @@ -216,19 +229,20 @@ org.apache.maven.plugins maven-dependency-plugin -2.4 + +**/*.json + ${project.build.directory}/test-classes/streams-schemas +org.apache.streams +streams-schemas +jar,test-jar + -resource-dependencies +test-resource-dependencies process-test-resources unpack-dependencies - - streams-pojo -**/*.json - ${project.build.directory}/test-classes - http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/bf31cbe0/streams-plugins/streams-plugin-pojo/src/main/java/org/apache/streams/plugins/StreamsPojoGenerationConfig.java -- diff --git a/streams-plugins/streams-plugin-pojo/src/main/java/org/apache/streams/plugins/StreamsPojoGenerationConfig.java b/streams-plugins/streams-plugin-pojo/src/main/java/org/apache/streams/plugins/StreamsPojoGenerationConfig.java index b42ccf9..4c1f850 100644 --- a/streams-plugins/streams-plugin-pojo/src/main/java/org/apache/streams/plugins/StreamsPojoGenerationConfig.java +++ b/streams-plugins/streams-plugin-pojo/src/main/java/org/apache/streams/plugins/StreamsPojoGenerationConfig.java @@ -2,197 +2,67 @@ package org.apache.streams.plugins; import org.jsonschema2pojo.AnnotationStyle; import org.jsonschema2pojo.Annotator; +import