kafka-connect-style-parent

Parent pom for Kafka Connect projects.

License

License

GroupId

GroupId

com.github.jcustenborder.kafka.connect
ArtifactId

ArtifactId

kafka-connect-style-parent
Last Version

Last Version

1.1.0.0.4
Release Date

Release Date

Type

Type

pom
Description

Description

kafka-connect-style-parent
Parent pom for Kafka Connect projects.
Project URL

Project URL

https://github.com/jcustenborder/kafka-connect-style
Source Code Management

Source Code Management

https://github.com/jcustenborder/kafka-connect-style

Download kafka-connect-style-parent

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.jcustenborder.kafka.connect/kafka-connect-style-parent/ -->
<dependency>
    <groupId>com.github.jcustenborder.kafka.connect</groupId>
    <artifactId>kafka-connect-style-parent</artifactId>
    <version>1.1.0.0.4</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.jcustenborder.kafka.connect/kafka-connect-style-parent/
implementation 'com.github.jcustenborder.kafka.connect:kafka-connect-style-parent:1.1.0.0.4'
// https://jarcasting.com/artifacts/com.github.jcustenborder.kafka.connect/kafka-connect-style-parent/
implementation ("com.github.jcustenborder.kafka.connect:kafka-connect-style-parent:1.1.0.0.4")
'com.github.jcustenborder.kafka.connect:kafka-connect-style-parent:pom:1.1.0.0.4'
<dependency org="com.github.jcustenborder.kafka.connect" name="kafka-connect-style-parent" rev="1.1.0.0.4">
  <artifact name="kafka-connect-style-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.github.jcustenborder.kafka.connect', module='kafka-connect-style-parent', version='1.1.0.0.4')
)
libraryDependencies += "com.github.jcustenborder.kafka.connect" % "kafka-connect-style-parent" % "1.1.0.0.4"
[com.github.jcustenborder.kafka.connect/kafka-connect-style-parent "1.1.0.0.4"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • checkstyle
  • assemblies
  • licensing

Introduction

This project contains common resources to help consolidate configuration for kafka connect projects.

<properties>
    <kafka-connect-style.version>[1.0.0.0,1.0.0.1000)</kafka-connect-style.version>
</properties>

Assemblies

<plugin>
    <artifactId>maven-assembly-plugin</artifactId>
    <version>2.6</version>
    <executions>
        <execution>
            <id>assembly-single-package</id>
            <phase>package</phase>
            <goals>
                <goal>single</goal>
            </goals>
            <configuration>
                <appendAssemblyId>false</appendAssemblyId>
                <descriptorRefs>
                    <descriptorRef>package</descriptorRef>
                </descriptorRefs>
                <formats>
                    <format>tar.gz</format>
                </formats>
                <tarLongFileMode>posix</tarLongFileMode>
            </configuration>
        </execution>
        <execution>
            <id>assembly-single-dir</id>
            <phase>package</phase>
            <goals>
                <goal>single</goal>
            </goals>
            <configuration>
                <attach>false</attach>
                <finalName>kafka-connect-target</finalName>
                <appendAssemblyId>false</appendAssemblyId>
                <descriptorRefs>
                    <descriptorRef>package</descriptorRef>
                </descriptorRefs>
                <formats>
                    <format>dir</format>
                </formats>
            </configuration>
        </execution>
    </executions>
    <dependencies>
        <dependency>
            <groupId>com.github.jcustenborder.kafka.connect</groupId>
            <artifactId>kafka-connect-style-assemblies</artifactId>
            <version>${kafka-connect-style.version}</version>
        </dependency>
    </dependencies>
</plugin>

Checkstyle

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-checkstyle-plugin</artifactId>
    <version>2.17</version>
    <executions>
        <execution>
            <id>validate</id>
            <phase>validate</phase>
            <configuration>
                <configLocation>checkstyle.xml</configLocation>
                <encoding>UTF-8</encoding>
                <consoleOutput>true</consoleOutput>
                <failsOnError>true</failsOnError>
                <includeResources>false</includeResources>
                <includeTestResources>false</includeTestResources>
                <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
            </configuration>
            <goals>
                <goal>check</goal>
            </goals>
        </execution>
    </executions>
    <dependencies>
        <dependency>
            <groupId>com.github.jcustenborder.kafka.connect</groupId>
            <artifactId>kafka-connect-style-checkstyle</artifactId>
            <version>${kafka-connect-style.version}</version>
        </dependency>
    </dependencies>
</plugin>

Licensing

<plugin>
    <groupId>com.mycila</groupId>
    <artifactId>license-maven-plugin</artifactId>
    <version>3.0</version>
    <configuration>
        <header>APACHE-2.txt</header>
        <properties>
            <owner>Jeremy Custenborder</owner>
            <email>[email protected]</email>
        </properties>
        <excludes>
            <exclude>**/README</exclude>
            <exclude>src/test/resources/**</exclude>
            <exclude>src/main/resources/**</exclude>
            <exclude>src/assembly/**</exclude>
        </excludes>
    </configuration>
    <dependencies>
        <dependency>
            <groupId>com.github.jcustenborder.kafka.connect</groupId>
            <artifactId>kafka-connect-style-licensing</artifactId>
            <version>${kafka-connect-style.version}</version>
        </dependency>
    </dependencies>
</plugin>

Versions

Version
1.1.0.0.4
1.0.0.0.2