(streams) 01/01: fix: repackage pojos

2024-02-02 Thread sblackmon
This is an automated email from the ASF dual-hosted git repository.

sblackmon pushed a commit to branch 553-move-pojos-to-schema-modules
in repository https://gitbox.apache.org/repos/asf/streams.git

commit 47c340c10c6c800931f9342626c1e1c6a03e9525
Author: Steve Blackmon 
AuthorDate: Fri Feb 2 14:53:32 2024 -0600

fix: repackage pojos

fixes #553
---
 pom.xml| 11 +---
 streams-config/pom.xml | 25 +++-
 streams-plugins/streams-plugin-pojo/pom.xml|  8 ---
 .../plugins/StreamsPojoSourceGeneratorMojo.java| 14 ++---
 .../test/StreamsPojoSourceGeneratorCLITest.java|  2 +
 .../test/StreamsPojoSourceGeneratorTest.java   |  4 +-
 .../test/StreamsScalaSourceGeneratorCLITest.java   |  2 +
 .../test/StreamsScalaSourceGeneratorTest.java  |  2 +
 streams-pojo/pom.xml   | 59 +-
 streams-schemas/pom.xml| 72 ++
 .../streams-schema-activitystreams/pom.xml | 64 ---
 .../src/main/jsonschema/objectTypes/event.json |  2 +-
 .../src/main/jsonschema/objectTypes/person.json|  2 +-
 .../src/main/jsonschema/objectTypes/place.json |  2 +-
 .../activitystreams/test/SchemaValidationTest.java |  4 +-
 .../streams-schema-jsonschemaorg/pom.xml   | 32 +-
 16 files changed, 175 insertions(+), 130 deletions(-)

diff --git a/pom.xml b/pom.xml
index 14d57f4b26..13b75bffaa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -570,13 +570,6 @@
 org.apache.streams.plugins
 streams-plugin-pojo
 ${project.version}
-
-
-
${project.basedir}/src/main/jsonschema
-
-
${project.basedir}/target/generated-sources/pojo
-org.apache.streams.pojo
-
 
 
 generate-sources
@@ -802,7 +795,7 @@
 
 
 unpack-schemas
-generate-sources
+initialize
 
 unpack-dependencies
 
@@ -815,7 +808,7 @@
 
 
 unpack-test-resources
-process-test-resources
+initialize
 
 unpack-dependencies
 
diff --git a/streams-config/pom.xml b/streams-config/pom.xml
index dd0a69c958..912e4575f8 100644
--- a/streams-config/pom.xml
+++ b/streams-config/pom.xml
@@ -138,29 +138,18 @@
 ${project.version}
 
 
-${basedir}/src/main/jsonschema
+
${project.basedir}/src/main/jsonschema
 
-
${basedir}/target/generated-sources/pojo
+
${project.build.directory}/generated-sources/pojo
 org.apache.streams.config
 
 
 
-org.codehaus.mojo
-build-helper-maven-plugin
-
-
-add-source
-generate-sources
-
-add-source
-
-
-
-
${basedir}/target/generated-sources/pojo
-
-
-
-
+maven-compiler-plugin
+
+
${project.build.directory}/generated-sources/pojo
+
${project.build.directory}/generated-sources/pojo
+
 
 
 
diff --git a/streams-plugins/streams-plugin-pojo/pom.xml 
b/streams-plugins/streams-plugin-pojo/pom.xml
index dee6843f21..01d88b98c4 100644
--- a/streams-plugins/streams-plugin-pojo/pom.xml
+++ b/streams-plugins/streams-plugin-pojo/pom.xml
@@ -32,14 +32,6 @@
 
 
 
-
-org.apache.streams
-streams-schema-jsonschemaorg
-${project.version}
-zip
-schemas
-runtime
-
 
 org.jsonschema2pojo
 jsonschema2pojo-maven-plugin
diff --git 
a/streams-plugins/streams-plugin-pojo/src/main/java/org/apache/streams/plugins/StreamsPojoSourceGeneratorMojo.java
 
b/streams-plugins/streams-plugin-pojo/src/main/java/org/apache/streams/plugins/StreamsPojoSourceGeneratorMojo.java
index 3927c6d244..a763b3459f 100644
--- 

(streams) branch 553-move-pojos-to-schema-modules created (now 47c340c10c)

2024-02-02 Thread sblackmon
This is an automated email from the ASF dual-hosted git repository.

sblackmon pushed a change to branch 553-move-pojos-to-schema-modules
in repository https://gitbox.apache.org/repos/asf/streams.git


  at 47c340c10c fix: repackage pojos

This branch includes the following new commits:

 new 47c340c10c fix: repackage pojos

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.