Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jcustenborder committed Sep 7, 2016
1 parent 6203797 commit ece3771
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 28 deletions.
23 changes: 12 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@
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/maven-v4_0_0.xsd">
<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/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>

<prerequisites>
<maven>3.3.0</maven>
</prerequisites>

<groupId>io.confluent</groupId>
<artifactId>kafka-connect-solr</artifactId>
<packaging>jar</packaging>
Expand Down Expand Up @@ -52,12 +54,12 @@
</scm>

<properties>
<confluent.version>2.0.1</confluent.version>
<kafka.version>0.9.0.0</kafka.version>
<confluent.version>3.0.0</confluent.version>
<kafka.version>0.10.0.0-cp1</kafka.version>
<junit.version>4.12</junit.version>
<easymock.version>3.0</easymock.version>
<powermock.version>1.6.2</powermock.version>
<solr.version>5.3.1</solr.version>
<solr.version>6.2.0</solr.version>
<commons-io.version>2.4</commons-io.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<confluent.maven.repo>http://packages.confluent.io/maven/</confluent.maven.repo>
Expand Down Expand Up @@ -127,7 +129,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<version>3.5.1</version>
<inherited>true</inherited>
<configuration>
<source>1.7</source>
Expand All @@ -136,10 +138,9 @@
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.5.3</version>
<version>2.6</version>
<configuration>
<descriptors>
<descriptor>src/assembly/development.xml</descriptor>
<descriptor>src/assembly/package.xml</descriptor>
</descriptors>
</configuration>
Expand All @@ -156,15 +157,15 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<version>2.19.1</version>
<configuration>
<argLine>-Djava.awt.headless=true</argLine>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.11</version>
<version>3.0</version>
<configuration>
<header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</header>
<properties>
Expand Down
17 changes: 0 additions & 17 deletions src/assembly/development.xml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
package io.confluent.connect.solr.sink;

import org.apache.kafka.common.config.ConfigDef;
import org.apache.kafka.connect.connector.Task;

public class CloudSolrSinkConnector extends SolrSinkConnector {
@Override
public Class<? extends Task> taskClass() {
return CloudSolrSinkTask.class;
}

@Override
public ConfigDef config() {

ConfigDef def = new ConfigDef();

// def.




return null;
}
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
package io.confluent.connect.solr.sink;

import org.apache.kafka.common.config.ConfigDef;
import org.apache.kafka.connect.connector.Task;

public class HttpSolrSinkConnector extends SolrSinkConnector {
@Override
public Class<? extends Task> taskClass() {
return HttpSolrSinkTask.class;
}

@Override
public ConfigDef config() {
return null;
}
}

0 comments on commit ece3771

Please sign in to comment.