<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.3.5.RELEASE</version> <relativePath></relativePath> </parent> <groupId>org.springframework.cloud.stream.app</groupId> <artifactId>mongodb-source-kafka</artifactId> <version>1.0.4.RELEASE</version> <name>mongodb-source-kafka</name> <description>Spring Cloud Stream Mongodb Source Kafka Binder Application</description> <properties> <skipTests>true</skipTests> <java.version>1.7</java.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud.stream.app</groupId> <artifactId>spring-cloud-stream-app-dependencies</artifactId> <version>1.0.4.RELEASE</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-config</artifactId> </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-stream-kafka</artifactId> </dependency> <dependency> <groupId>org.springframework.cloud.stream.app</groupId> <artifactId>spring-cloud-starter-stream-source-mongodb</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> </dependencies> <repositories> <repository> <snapshots> <enabled>true</enabled> </snapshots> <id>spring-snapshots</id> <name>Spring Snapshots</name> <url>https://repo.spring.io/snapshot</url> </repository> <repository> <snapshots> <enabled>false</enabled> </snapshots> <id>spring-milestones</id> <name>Spring Milestones</name> <url>https://repo.spring.io/milestone</url> </repository> </repositories> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> <plugin> <groupId>io.fabric8</groupId> <artifactId>docker-maven-plugin</artifactId> <version>0.14.2</version> <configuration> <images> <image> <name>springcloudstream/${project.artifactId}:1.0.4.RELEASE</name> <build> <from>anapsix/alpine-java:8</from> <volumes> <volume>/tmp</volume> </volumes> <entryPoint> <exec> <arg>java</arg> <arg>-jar</arg> <arg>/maven/mongodb-source-kafka.jar</arg> </exec> </entryPoint> <assembly> <descriptor>assembly.xml</descriptor> </assembly> </build> </image> </images> </configuration> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.19.1</version> <configuration> <skipTests>${skipTests}</skipTests> </configuration> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>javadoc</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <quiet>true</quiet> </configuration> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>
<dependency> <groupId>org.springframework.cloud.stream.app</groupId> <artifactId>mongodb-source-kafka</artifactId> <version>1.0.4.RELEASE</version> </dependency>
org.springframework.cloud.stream.app:mongodb-source-kafka:1.0.4.RELEASE