-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
97 lines (84 loc) · 3.66 KB
/
Copy pathpom.xml
File metadata and controls
97 lines (84 loc) · 3.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.metaobjects</groupId>
<artifactId>metaobjects</artifactId>
<version>7.9.0</version>
</parent>
<artifactId>metaobjects-codegen-base</artifactId>
<packaging>jar</packaging>
<name>MetaObjects :: Code Generation :: Base</name>
<description>Base code generation framework for MetaObjects</description>
<dependencies>
<dependency>
<groupId>com.metaobjects</groupId>
<artifactId>metaobjects-metadata</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Render engine — reused (NOT reimplemented) by the shared, Maven-free
TemplateVerify helper: the {{field}}<->payload field-tree drift check
(com.metaobjects.render.Verify) + FilesystemProvider ref resolution.
render is a leaf module (no metaobjects dependency), so this adds no cycle. -->
<dependency>
<groupId>com.metaobjects</groupId>
<artifactId>metaobjects-render</artifactId>
<version>${project.version}</version>
</dependency>
<!-- JSON Dependencies for Code Generation -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.13.1</version>
</dependency>
<!-- Test Dependencies -->
<dependency>
<groupId>com.metaobjects</groupId>
<artifactId>metaobjects-metadata</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<!-- Schema Validation Dependencies for Testing -->
<dependency>
<groupId>com.networknt</groupId>
<artifactId>json-schema-validator</artifactId>
<version>1.5.1</version>
<scope>test</scope>
</dependency>
<!--
Test-only: the generated <Name>Extractor references the Phase-B runtime extract
(com.metaobjects.object.extract.MetaObjectExtractor in metaobjects-om, returning
com.metaobjects.render.extract.ExtractionResult). codegen-base MAIN keeps NO om
dependency (the generator emits that reference as an FQN string only); but the
flavor compile-run tests now emit + COMPILE that Extractor, so the test classpath
needs om (which transitively brings render + metadata). No cycle: om depends on
render + metadata, never on codegen-base.
-->
<dependency>
<groupId>com.metaobjects</groupId>
<artifactId>metaobjects-om</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<!-- Inherited from parent POM: SLF4J, JUnit, Logback -->
</dependencies>
<build>
<plugins>
<!-- Maven Jar Plugin for test-jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${jar.plugin.version}</version>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>