Skip to content
Permalink
Browse files
Move examples to 0.11.5: File
  • Loading branch information
oscerd committed Mar 11, 2022
1 parent 6c970ac commit 050b39c3c8a04a0fcfb252e5814b22586a1a222c
Showing 3 changed files with 17 additions and 17 deletions.
@@ -28,8 +28,8 @@ In this example we'll use `/home/oscerd/connectors/`

```
> cd /home/oscerd/connectors/
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-file-kafka-connector/0.11.0/camel-file-kafka-connector-0.11.0-package.tar.gz
> untar.gz camel-file-kafka-connector-0.11.0-package.tar.gz
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-file-kafka-connector/0.11.5/camel-file-kafka-connector-0.11.5-package.tar.gz
> untar.gz camel-file-kafka-connector-0.11.5-package.tar.gz
```

Now it's time to setup the connectors
@@ -27,7 +27,7 @@ and set the `plugin.path` property to your choosen location
You'll need to build your connector starting from an archetype:

```
> mvn archetype:generate -DarchetypeGroupId=org.apache.camel.kafkaconnector.archetypes -DarchetypeArtifactId=camel-kafka-connector-extensible-archetype -DarchetypeVersion=0.11.0
> mvn archetype:generate -DarchetypeGroupId=org.apache.camel.kafkaconnector.archetypes -DarchetypeArtifactId=camel-kafka-connector-extensible-archetype -DarchetypeVersion=0.11.5
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
@@ -41,41 +41,41 @@ You'll need to build your connector starting from an archetype:
[INFO]
[INFO] --- maven-archetype-plugin:3.1.2:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[INFO] Archetype repository not defined. Using the one from [org.apache.camel.kafkaconnector.archetypes:camel-kafka-connector-extensible-archetype:0.11.0] found in catalog remote
[INFO] Archetype repository not defined. Using the one from [org.apache.camel.kafkaconnector.archetypes:camel-kafka-connector-extensible-archetype:0.11.5] found in catalog remote
Define value for property 'groupId': org.apache.camel.kafkaconnector
Define value for property 'artifactId': file-extended
Define value for property 'version' 1.0-SNAPSHOT: : 0.11.0
Define value for property 'version' 1.0-SNAPSHOT: : 0.11.5
Define value for property 'package' org.apache.camel.kafkaconnector: :
Define value for property 'camel-kafka-connector-name': camel-file-kafka-connector
[INFO] Using property: camel-kafka-connector-version = 0.11.0
[INFO] Using property: camel-kafka-connector-version = 0.11.5
Confirm properties configuration:
groupId: org.apache.camel.kafkaconnector
artifactId: file-extended
version: 0.11.0
version: 0.11.5
package: com.github.oscerd
camel-kafka-connector-name: camel-file-kafka-connector
camel-kafka-connector-version: 0.11.0
camel-kafka-connector-version: 0.11.5
Y: : Y
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: camel-kafka-connector-extensible-archetype:0.11.0
[INFO] Using following parameters for creating project from Archetype: camel-kafka-connector-extensible-archetype:0.11.5
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: org.apache.camel.kafkaconnector
[INFO] Parameter: artifactId, Value: file-extended
[INFO] Parameter: version, Value: 0.11.0
[INFO] Parameter: version, Value: 0.11.5
[INFO] Parameter: package, Value: org.apache.camel.kafkaconnector
[INFO] Parameter: packageInPathFormat, Value: org/apache/camel/kafkaconnector
[INFO] Parameter: package, Value: org.apache.camel.kafkaconnector
[INFO] Parameter: version, Value: 0.11.0
[INFO] Parameter: version, Value: 0.11.5
[INFO] Parameter: groupId, Value: org.apache.camel.kafkaconnector
[INFO] Parameter: camel-kafka-connector-name, Value: camel-file-kafka-connector
[INFO] Parameter: camel-kafka-connector-version, Value: 0.11.0
[INFO] Parameter: camel-kafka-connector-version, Value: 0.11.5
[INFO] Parameter: artifactId, Value: ftps-extended
[INFO] Project created from Archetype in dir: /home/workspace/miscellanea/file-extended
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.590 s
[INFO] Finished at: 2020-11-05T07:45:43+01:00
[INFO] Finished at: 2020.11.55T07:45:43+01:00
[INFO] ------------------------------------------------------------------------
> cd /home/workspace/miscellanea/file-extended
```
@@ -154,8 +154,8 @@ In this example we'll use `/home/oscerd/connectors/` as plugin.path, but we'll n

```
> cd /home/oscerd/connectors/
> cp /home/workspace/miscellanea/file-extended/target/file-extended-0.11.0-package.tar.gz .
> untar.gz file-extended-0.11.0-package.tar.gz
> cp /home/workspace/miscellanea/file-extended/target/file-extended-0.11.5-package.tar.gz .
> untar.gz file-extended-0.11.5-package.tar.gz
```

Now it's time to setup the connectors
@@ -28,8 +28,8 @@ In this example we'll use `/home/oscerd/connectors/`

```
> cd /home/oscerd/connectors/
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-file-kafka-connector/0.11.0/camel-file-kafka-connector-0.11.0-package.tar.gz
> untar.gz camel-file-kafka-connector-0.11.0-package.tar.gz
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-file-kafka-connector/0.11.5/camel-file-kafka-connector-0.11.5-package.tar.gz
> untar.gz camel-file-kafka-connector-0.11.5-package.tar.gz
```

Now it's time to setup the connectors

0 comments on commit 050b39c

Please sign in to comment.