|
14 | 14 |
|
15 | 15 | <dependencies> |
16 | 16 | <dependency> |
17 | | - <groupId>org.slf4j</groupId> |
18 | | - <artifactId>slf4j-api</artifactId> |
| 17 | + <groupId>io.serverlessworkflow</groupId> |
| 18 | + <artifactId>serverlessworkflow-types</artifactId> |
| 19 | + <version>${project.version}</version> |
19 | 20 | </dependency> |
20 | 21 | <dependency> |
21 | | - <groupId>com.fasterxml.jackson.core</groupId> |
22 | | - <artifactId>jackson-core</artifactId> |
| 22 | + <groupId>org.slf4j</groupId> |
| 23 | + <artifactId>slf4j-api</artifactId> |
23 | 24 | </dependency> |
24 | 25 | <dependency> |
25 | 26 | <groupId>com.networknt</groupId> |
26 | 27 | <artifactId>json-schema-validator</artifactId> |
27 | 28 | </dependency> |
28 | | - <dependency> |
29 | | - <groupId>com.fasterxml.jackson.core</groupId> |
30 | | - <artifactId>jackson-databind</artifactId> |
31 | | - </dependency> |
32 | 29 | <dependency> |
33 | 30 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
34 | 31 | <artifactId>jackson-dataformat-yaml</artifactId> |
35 | 32 | </dependency> |
36 | | - <dependency> |
37 | | - <groupId>jakarta.validation</groupId> |
38 | | - <artifactId>jakarta.validation-api</artifactId> |
39 | | - </dependency> |
| 33 | + |
40 | 34 | <dependency> |
41 | 35 | <groupId>org.hibernate.validator</groupId> |
42 | 36 | <artifactId>hibernate-validator</artifactId> |
|
79 | 73 | <scope>test</scope> |
80 | 74 | </dependency> |
81 | 75 | </dependencies> |
82 | | - |
83 | | - |
84 | | - <build> |
85 | | - <plugins> |
86 | | - <plugin> |
87 | | - <groupId>org.jsonschema2pojo</groupId> |
88 | | - <artifactId>jsonschema2pojo-maven-plugin</artifactId> |
89 | | - <configuration> |
90 | | - <sourceDirectory>${basedir}/src/main/resources/schema</sourceDirectory> |
91 | | - <!--The comment below is left intentionally in case jsonschema2pojo one day accepts https urls. That day we can remove the file from schema dir and use directly the real schema--> |
92 | | - <!-- <sourcePaths> |
93 | | - <sourcePath>https://raw.githubusercontent.com/serverlessworkflow/specification/main/schema/workflow.yaml</sourcePath> |
94 | | - </sourcePaths> --> |
95 | | - <sourceType>yamlschema</sourceType> |
96 | | - <targetPackage>io.serverlessworkflow.api.types</targetPackage> |
97 | | - <outputDirectory>${project.build.directory}/generated-sources/src/main/java</outputDirectory> |
98 | | - <includeJsr303Annotations>true</includeJsr303Annotations> |
99 | | - <generateBuilders>true</generateBuilders> |
100 | | - <initializeCollections>true</initializeCollections> |
101 | | - <includeAdditionalProperties>true</includeAdditionalProperties> |
102 | | - <includeToString>false</includeToString> |
103 | | - <includeHashcodeAndEquals>false</includeHashcodeAndEquals> |
104 | | - <includeConstructors>true</includeConstructors> |
105 | | - <constructorsRequiredPropertiesOnly>true</constructorsRequiredPropertiesOnly> |
106 | | - <useTitleAsClassname>true</useTitleAsClassname> |
107 | | - <serializable>true</serializable> |
108 | | - <targetVersion>${java.version}</targetVersion> |
109 | | - <usePrimitives>true</usePrimitives> |
110 | | - <useJakartaValidation>true</useJakartaValidation> |
111 | | - <customRuleFactory>io.serverlessworkflow.generator.UnreferencedFactory</customRuleFactory> |
112 | | - <customAnnotator>io.serverlessworkflow.generator.ConstAnnotator</customAnnotator> |
113 | | - </configuration> |
114 | | - <dependencies> |
115 | | - <dependency> |
116 | | - <groupId>io.serverlessworkflow</groupId> |
117 | | - <artifactId>serverless-workflow-custom-generator</artifactId> |
118 | | - <version>${project.version}</version> |
119 | | - </dependency> |
120 | | - </dependencies> |
121 | | - <executions> |
122 | | - <execution> |
123 | | - <goals> |
124 | | - <goal>generate</goal> |
125 | | - </goals> |
126 | | - <phase>generate-sources</phase> |
127 | | - </execution> |
128 | | - </executions> |
129 | | - </plugin> |
130 | | - </plugins> |
131 | | - </build> |
132 | | -</project> |
| 76 | + </project> |
0 commit comments