exclude classes with new kafka consumer from other profiles
<!-- Matches kafka-0.10.2.0 , just this one includes gpg signing, javadoc etc -->
<build>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <excludes>
+ <exclude>com/pinterest/secor/common/SecorKafkaClient.java</exclude>
+ <exclude>com/pinterest/secor/reader/KafkaClientMessageIterator.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<configuration>
<excludes>
<exclude>com/pinterest/secor/timestamp/Kafka10MessageTimestamp.java</exclude>
+ <exclude>com/pinterest/secor/common/SecorKafkaClient.java</exclude>
+ <exclude>com/pinterest/secor/reader/KafkaClientMessageIterator.java</exclude>
</excludes>
</configuration>
</plugin>
</profile>
<profile>
<id>kafka-1.0.0</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <excludes>
+ <exclude>com/pinterest/secor/common/SecorKafkaClient.java</exclude>
+ <exclude>com/pinterest/secor/reader/KafkaClientMessageIterator.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
<dependencyManagement>
<dependencies>
<dependency>
</profile>
<profile>
<id>kafka-0.10.2.0</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <excludes>
+ <exclude>com/pinterest/secor/common/SecorKafkaClient.java</exclude>
+ <exclude>com/pinterest/secor/reader/KafkaClientMessageIterator.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>kafka-0.10.0.1</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <excludes>
+ <exclude>com/pinterest/secor/common/SecorKafkaClient.java</exclude>
+ <exclude>com/pinterest/secor/reader/KafkaClientMessageIterator.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
<dependencyManagement>
<dependencies>
<dependency>
