|
136 | 136 | <type>test-jar</type>
|
137 | 137 | <scope>test</scope>
|
138 | 138 | </dependency>
|
| 139 | + |
| 140 | + <dependency> |
| 141 | + <groupId>io.debezium</groupId> |
| 142 | + <artifactId>debezium-storage-file</artifactId> |
| 143 | + <version>${version.debezium}</version> |
| 144 | + <type>test-jar</type> |
| 145 | + <scope>test</scope> |
| 146 | + </dependency> |
| 147 | + |
139 | 148 | <dependency>
|
140 | 149 | <groupId>io.debezium</groupId>
|
141 | 150 | <artifactId>debezium-embedded</artifactId>
|
142 | 151 | <version>${version.debezium}</version>
|
143 | 152 | <type>test-jar</type>
|
144 | 153 | <scope>test</scope>
|
145 | 154 | </dependency>
|
| 155 | + |
| 156 | + <dependency> |
| 157 | + <groupId>io.debezium</groupId> |
| 158 | + <artifactId>debezium-connector-mysql</artifactId> |
| 159 | + <version>${version.debezium}</version> |
| 160 | + <type>test-jar</type> |
| 161 | + <scope>test</scope> |
| 162 | + </dependency> |
146 | 163 | </dependencies>
|
147 | 164 | </dependencyManagement>
|
148 | 165 |
|
149 | 166 | <dependencies>
|
| 167 | + <!-- SQL Parser --> |
| 168 | + <dependency> |
| 169 | + <groupId>com.github.jsqlparser</groupId> |
| 170 | + <artifactId>jsqlparser</artifactId> |
| 171 | + <version>4.7</version> |
| 172 | + </dependency> |
| 173 | + |
| 174 | + <dependency> |
| 175 | + <groupId>io.debezium</groupId> |
| 176 | + <artifactId>debezium-storage-file</artifactId> |
| 177 | + <version>${version.debezium}</version> |
| 178 | + </dependency> |
| 179 | + |
| 180 | + <dependency> |
| 181 | + <groupId>io.debezium</groupId> |
| 182 | + <artifactId>debezium-storage-kafka</artifactId> |
| 183 | + <version>${version.debezium}</version> |
| 184 | + </dependency> |
| 185 | + |
| 186 | + <dependency> |
| 187 | + <groupId>io.debezium</groupId> |
| 188 | + <artifactId>debezium-connector-mysql</artifactId> |
| 189 | + <version>${version.debezium}</version> |
| 190 | + </dependency> |
| 191 | + |
150 | 192 | <!-- Kafka-->
|
151 | 193 | <dependency>
|
152 | 194 | <groupId>org.apache.kafka</groupId>
|
|
395 | 437 | <includeTestSourceDirectory>true</includeTestSourceDirectory>
|
396 | 438 | </configuration>
|
397 | 439 | </plugin>
|
| 440 | + |
| 441 | + <plugin> |
| 442 | + <groupId>io.confluent</groupId> |
| 443 | + <version>0.12.0</version> |
| 444 | + <artifactId>kafka-connect-maven-plugin</artifactId> |
| 445 | + <executions> |
| 446 | + <execution> |
| 447 | + <goals> |
| 448 | + <goal>kafka-connect</goal> |
| 449 | + </goals> |
| 450 | + <configuration> |
| 451 | + <ownerUsername>planetscale</ownerUsername> |
| 452 | + <componentTypes> |
| 453 | + <componentType>source</componentType> |
| 454 | + </componentTypes> |
| 455 | + </configuration> |
| 456 | + </execution> |
| 457 | + </executions> |
| 458 | + <dependencies> |
| 459 | + <dependency> |
| 460 | + <groupId>org.codehaus.plexus</groupId> |
| 461 | + <artifactId>plexus-archiver</artifactId> |
| 462 | + <version>3.4</version> |
| 463 | + </dependency> |
| 464 | + </dependencies> |
| 465 | + </plugin> |
398 | 466 | </plugins>
|
399 | 467 |
|
400 | 468 | <resources>
|
|
450 | 518 | </goals>
|
451 | 519 | <configuration>
|
452 | 520 | <finalName>${project.artifactId}-${project.version}</finalName>
|
| 521 | + <appendAssemblyId>false</appendAssemblyId> |
453 | 522 | <attach>true</attach> <!-- we want attach & deploy these to Maven -->
|
454 | 523 | <descriptorRefs>
|
455 | 524 | <descriptorRef>connector-distribution</descriptorRef>
|
456 | 525 | </descriptorRefs>
|
457 | 526 | <tarLongFileMode>posix</tarLongFileMode>
|
458 | 527 | </configuration>
|
459 | 528 | </execution>
|
| 529 | + <execution> |
| 530 | + <id>jar-with-dependencies</id> |
| 531 | + <phase>package</phase> |
| 532 | + <goals> |
| 533 | + <goal>single</goal> |
| 534 | + </goals> |
| 535 | + <configuration> |
| 536 | + <finalName>${project.artifactId}-${project.version}</finalName> |
| 537 | + <appendAssemblyId>true</appendAssemblyId> |
| 538 | + <attach>true</attach> <!-- we want attach & deploy these to Maven --> |
| 539 | + <descriptorRefs> |
| 540 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 541 | + </descriptorRefs> |
| 542 | + <tarLongFileMode>posix</tarLongFileMode> |
| 543 | + </configuration> |
| 544 | + </execution> |
460 | 545 | </executions>
|
461 | 546 | </plugin>
|
462 | 547 | </plugins>
|
|
0 commit comments