streamsets-datacollector-api
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.streamsets</groupId> <artifactId>streamsets-datacollector-api</artifactId> <version>6.0.0-4719</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright contributors to the StreamSets project ~ StreamSets Inc., an IBM Company 2024 ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <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> <groupId>com.streamsets</groupId> <artifactId>streamsets-datacollector-api</artifactId> <version>6.0.0-4719</version> <description>StreamSets Data Collector API</description> <name>StreamSets Data Collector API</name> <packaging>jar</packaging> <url>http://www.streamsets.com</url> <scm> <url>https://github.com/streamsets/datacollector-api</url> </scm> <organization> <name>StreamSets</name> <url>http://www.streamsets.com</url> </organization> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <developers> <!-- TODO add rest of team--> <developer> <id>brock</id> <name>Brock Noland</name> <email>brock@streamsets.com</email> <timezone>America/Chicago</timezone> </developer> </developers> <properties> <!-- required JDK version --> <javaVersion>1.8</javaVersion> <!-- Testcases output redirection --> <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile> <!-- Platform encoding override --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <!-- Dependency Versions All dependency versions should be defined here to avoid version mismatches with multiple artifacts of the same logical dependency. --> <guava.version>18.0</guava.version> <jacoco.version>0.8.4</jacoco.version> <jetbrains.annotations.version>19.0.0</jetbrains.annotations.version> <junit.version>4.11</junit.version> <log4j.version>1.2.17</log4j.version> <metrics.version>3.1.2</metrics.version> <mockito.version>1.10.7</mockito.version> <slf4j.version>1.7.7</slf4j.version> </properties> <!--<distributionManagement>--> <!--<repository>--> <!--<id>apache.staging.https</id>--> <!--<name>Apache Release Distribution Repository</name>--> <!--<url>https://repository.apache.org/service/local/staging/deploy/maven2</url>--> <!--</repository>--> <!--<snapshotRepository>--> <!--<id>apache.snapshots.https</id>--> <!--<name>Apache Development Snapshot Repository</name>--> <!--<url>https://repository.apache.org/content/repositories/snapshots</url>--> <!--</snapshotRepository>--> <!--</distributionManagement>--> <dependencies> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> <scope>compile</scope> </dependency> <dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-core</artifactId> <version>${metrics.version}</version> <scope>compile</scope> </dependency> <!-- This dependency is needed only at compile time, not at runtime Maven does not have the equivalent of Gradle's compileOnly. We can mark it provided and simply not provide it at runtime to avoid leaking it. --> <!-- Keeping it as scope compile till all dependents are fixed --> <dependency> <groupId>org.jetbrains</groupId> <artifactId>annotations</artifactId> <version>${jetbrains.annotations.version}</version> <scope>compile</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${guava.version}</version> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>sign</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>javadoc-java8</id> <activation> <activeByDefault>false</activeByDefault> <jdk>1.8</jdk> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <!-- Thank you Java 8 --> <additionalparam>-Xdoclint:none</additionalparam> </configuration> </plugin> </plugins> </build> </profile> </profiles> <build> <resources> <resource> <directory>${basedir}/src/main/resources</directory> <excludes> <exclude>pipeline-api-build-info.properties</exclude> </excludes> <filtering>false</filtering> </resource> <resource> <directory>${basedir}/src/main/resources</directory> <includes> <include>pipeline-api-build-info.properties</include> </includes> <filtering>true</filtering> </resource> </resources> <pluginManagement> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco.version}</version> <executions> <!-- Prepares the property pointing to the JaCoCo runtime agent which is passed as VM argument when Maven the Surefire plugin is executed. --> <execution> <id>pre-unit-test</id> <goals> <goal>prepare-agent</goal> </goals> <configuration> <!-- Sets the path to the file which contains the execution data. --> <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile> <append>true</append> </configuration> </execution> <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. --> <execution> <id>post-unit-test</id> <phase>test</phase> <goals> <goal>report</goal> </goals> <configuration> <!-- Sets the path to the file which contains the execution data. --> <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile> <!-- Sets the output directory for the code coverage report. --> <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> </configuration> </execution> <!-- The Executions required by unit tests are omitted. --> <!-- Prepares the property pointing to the JaCoCo runtime agent which is passed as VM argument when Maven the Failsafe plugin is executed. --> <execution> <id>pre-integration-test</id> <phase>pre-integration-test</phase> <goals> <goal>prepare-agent</goal> </goals> <configuration> <!-- Sets the path to the file which contains the execution data. --> <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile> <append>true</append> </configuration> </execution> <!-- Ensures that the code coverage report for integration tests after integration tests have been run. --> <execution> <id>post-integration-test</id> <phase>post-integration-test</phase> <goals> <goal>report</goal> </goals> <configuration> <!-- Sets the path to the file which contains the execution data. --> <dataFile>${project.build.directory}/coverage-reports/jacoco-it.exec</dataFile> <!-- Sets the output directory for the code coverage report. --> <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> </configuration> </execution> </executions> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>1.3.1</version> <configuration> <rules> <requireMavenVersion> <version>[3.2.1,)</version> </requireMavenVersion> <requireJavaVersion> <version>${javaVersion}</version> </requireJavaVersion> </rules> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>${javaVersion}</source> <target>${javaVersion}</target> </configuration> <executions> <execution> <id>default-compile</id> <phase>compile</phase> <goals> <goal>compile</goal> </goals> <configuration> <!-- Disable annotation processing during main compile time only. We need it for testcases. --> <compilerArgument>-proc:none</compilerArgument> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.2</version> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-maven-plugins</artifactId> <version>2.6.0</version> <executions> <execution> <id>version-info</id> <phase>generate-resources</phase> <goals> <goal>version-info</goal> </goals> <configuration> <source> <directory>${basedir}/src/main</directory> <includes> <include>java/**/*.java</include> </includes> </source> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <version>0.12</version> <configuration> <excludes> <exclude>CHANGES.txt</exclude> <exclude>.idea/**</exclude> <exclude>.m2/**</exclude> <exclude>**/*.iml</exclude> <exclude>.git/**</exclude> <exclude>.gitignore</exclude> <exclude>.gitreview</exclude> <!-- Jenkins --> <exclude>**/buildInfo*.properties</exclude> <exclude>**/ok</exclude> <exclude>**/classworlds*conf</exclude> <exclude>**/target/**</exclude> <exclude>**/*.json</exclude> <exclude>src/main/resources/META-INF/services/**</exclude> </excludes> </configuration> <executions> <execution> <id>rat-check</id> <phase>package</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.4</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.2.0</version> <executions> <execution> <id>javadoc</id> <phase>prepare-package</phase> <goals> <goal>javadoc</goal> <goal>jar</goal> </goals> <configuration> <doctitle>StreamSets Data Collector API ${project.version}</doctitle> <detectJavaApiLink>false</detectJavaApiLink> <doclint>none</doclint> <linksource>true</linksource> <quiet>true</quiet> <verbose>false</verbose> <charset>UTF-8</charset> <excludePackageNames>com.streamsets.pipeline.api.impl:com.streamsets.pipeline.api.ext</excludePackageNames> <groups> <group> <title>Data Collector API</title> <packages>com.streamsets.pipeline.api:com.streamsets.pipeline.api.*</packages> </group> </groups> <includeDependencySources>false</includeDependencySources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>2.8</version> <configuration> <dependencyLocationsEnabled>false</dependencyLocationsEnabled> <dependencyDetailsEnabled>false</dependencyDetailsEnabled> </configuration> <reportSets> <reportSet> <reports> <report>dependencies</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> <distributionManagement> <snapshotRepository> <id>artifactory-server</id> <name>Snapshots</name> <url>https://repo.streamsets.net/artifactory/libs-snapshot-local</url> </snapshotRepository> <repository> <id>artifactory-server</id> <name>Releases</name> <url>https://repo.streamsets.net/artifactory/libs-release-local</url> </repository> </distributionManagement> </project>