|
20 | 20 | <!-- caution - updating this will break compatibility with older protobuf-java versions --> |
21 | 21 | <protobuf-java.min.version>3.25.6</protobuf-java.min.version> |
22 | 22 | <com.vmlens.version>1.2.24</com.vmlens.version> |
| 23 | + <!-- Match any core version locally- at release, CI sets exact version: -Dflagd-core.version=$(cat tools/flagd-core/version.txt) --> |
| 24 | + <flagd-core.version>[0.0.1,)</flagd-core.version> |
23 | 25 | </properties> |
24 | 26 |
|
25 | 27 | <name>flagd</name> |
|
38 | 40 | <dependencies> |
39 | 41 | <!-- we inherent dev.openfeature.javasdk and the test dependencies from the parent pom --> |
40 | 42 |
|
| 43 | + <!-- flagd core evaluation logic --> |
| 44 | + <dependency> |
| 45 | + <groupId>dev.openfeature.contrib.tools</groupId> |
| 46 | + <artifactId>flagd-core</artifactId> |
| 47 | + <version>${flagd-core.version}</version> |
| 48 | + </dependency> |
| 49 | + |
41 | 50 | <dependency> |
42 | 51 | <groupId>com.google.protobuf</groupId> |
43 | 52 | <artifactId>protobuf-java</artifactId> |
|
63 | 72 |
|
64 | 73 | <!-- grpc-netty-shaded bundles netty with epoll support for unix sockets --> |
65 | 74 |
|
66 | | - <dependency> |
67 | | - <groupId>com.fasterxml.jackson.core</groupId> |
68 | | - <artifactId>jackson-databind</artifactId> |
69 | | - <version>2.20.1</version> |
70 | | - </dependency> |
71 | | - |
72 | | - <dependency> |
73 | | - <groupId>io.github.jamsesso</groupId> |
74 | | - <artifactId>json-logic-java</artifactId> |
75 | | - <version>1.1.0</version> |
76 | | - </dependency> |
77 | | - |
78 | | - <!-- Override gson usage of json-logic-java--> |
79 | | - <dependency> |
80 | | - <groupId>com.google.code.gson</groupId> |
81 | | - <artifactId>gson</artifactId> |
82 | | - <version>2.13.1</version> |
83 | | - </dependency> |
84 | | - |
85 | | - <dependency> |
86 | | - <groupId>com.networknt</groupId> |
87 | | - <artifactId>json-schema-validator</artifactId> |
88 | | - <version>1.5.9</version> |
89 | | - <exclusions> |
90 | | - <exclusion> |
91 | | - <groupId>org.apache.commons</groupId> |
92 | | - <artifactId>commons-lang3</artifactId> |
93 | | - </exclusion> |
94 | | - </exclusions> |
95 | | - </dependency> |
96 | | - |
97 | 75 | <dependency> |
98 | 76 | <!-- necessary for Java 9+ --> |
99 | 77 | <groupId>org.apache.tomcat</groupId> |
|
108 | 86 | <version>4.5.0</version> |
109 | 87 | </dependency> |
110 | 88 |
|
111 | | - <dependency> |
112 | | - <groupId>org.apache.commons</groupId> |
113 | | - <artifactId>commons-lang3</artifactId> |
114 | | - <version>3.20.0</version> |
115 | | - </dependency> |
116 | | - |
117 | 89 | <dependency> |
118 | 90 | <groupId>io.opentelemetry</groupId> |
119 | 91 | <artifactId>opentelemetry-api</artifactId> |
120 | 92 | <version>1.56.0</version> |
121 | 93 | </dependency> |
122 | 94 |
|
123 | | - <dependency> |
124 | | - <groupId>org.semver4j</groupId> |
125 | | - <artifactId>semver4j</artifactId> |
126 | | - <version>5.8.0</version> |
127 | | - </dependency> |
128 | | - |
129 | | - <dependency> |
130 | | - <groupId>commons-codec</groupId> |
131 | | - <artifactId>commons-codec</artifactId> |
132 | | - <version>1.20.0</version> |
133 | | - </dependency> |
134 | | - |
135 | 95 | <dependency> |
136 | 96 | <groupId>org.junit.jupiter</groupId> |
137 | 97 | <artifactId>junit-jupiter</artifactId> |
|
213 | 173 | <goal>exec</goal> |
214 | 174 | </goals> |
215 | 175 | <configuration> |
216 | | - <!-- run: git submodule update \-\-init schemas --> |
| 176 | + <!-- run: git submodule update \-\-init schemas for protos --> |
217 | 177 | <executable>git</executable> |
218 | 178 | <arguments> |
219 | 179 | <argument>submodule</argument> |
|
225 | 185 | </execution> |
226 | 186 | </executions> |
227 | 187 | </plugin> |
228 | | - <plugin> |
229 | | - <artifactId>maven-resources-plugin</artifactId> |
230 | | - <version>3.3.1</version> |
231 | | - <executions> |
232 | | - <execution> |
233 | | - <id>copy-json-schemas</id> |
234 | | - <phase>generate-resources</phase> |
235 | | - <goals> |
236 | | - <goal>copy-resources</goal> |
237 | | - </goals> |
238 | | - <configuration> |
239 | | - <outputDirectory>${basedir}/src/main/resources/flagd/schemas/</outputDirectory> |
240 | | - <resources> |
241 | | - <resource> |
242 | | - <directory>${basedir}/schemas/json/</directory> |
243 | | - <includes> |
244 | | - <include>flags.json</include> |
245 | | - <include>targeting.json</include> |
246 | | - </includes> |
247 | | - </resource> |
248 | | - </resources> |
249 | | - </configuration> |
250 | | - </execution> |
251 | | - </executions> |
252 | | - </plugin> |
253 | 188 |
|
254 | 189 | <plugin> |
255 | 190 | <groupId>org.xolstice.maven.plugins</groupId> |
|
0 commit comments