Maven Configuration

Add version property

<casquatch.version>X.Y-RELEASE</casquatch.version>

Add dependency for Driver

  <dependency>
    <groupId>com.tmobile.opensource.casquatch</groupId>
    <artifactId>casquatch-driver</artifactId>
    <version>${casquatch.version}</version>
  </dependency>

Optional: Add test dependency for Driver

  <dependency>
    <groupId>com.tmobile.opensource.casquatch</groupId>
    <artifactId>casquatch-driver-tests</artifactId>
    <version>${casquatch.version}</version>
    <scope>test</scope>
  </dependency>

Add annotation processing

See Annotations for more information

<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
                <source>${java.version}</source>
                <target>${java.version}</target>
                <annotationProcessorPaths>
                    <path>
                        <groupId>com.tmobile.opensource.casquatch</groupId>
                        <artifactId>casquatch-driver-processor</artifactId>
                        <version>${casquatch.version}</version>
                    </path>
                </annotationProcessorPaths>
            </configuration>
        </plugin>
    </plugins>
</build>

Copyright 2018 T-Mobile US, Inc.
Code For Demonstration Purposes Only