-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maven MQ SInk connector blowing up #67
Comments
I am using git, Maven and Java 8. The source connector MQ compiled clean though |
Thank you for reporting the issue. Could you please provide more details to help us investigate further? Specifically:
This information will help us pinpoint the issue more effectively. |
*Hi Joel/all:*
* I have git, Maven and jdk 1.8 in my system, The source jar built
fine. I run the git, cd to the sink directory*
*and then run maven test. This is the output:*
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for com.ibm.eventstreams.connect:kafka-connect-mq-sink:jar:2.2.0
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but
found duplicate declaration of plugin
org.apache.maven.plugins:maven-surefire-plugin @ line 324, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, futur
e Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ---------< com.ibm.eventstreams.connect:kafka-connect-mq-sink
---------
[INFO] Building kafka-connect-mq-sink 2.2.0
[INFO] from pom.xml
[INFO] --------------------------------[ jar
]---------------------------------
[WARNING] Parameter 'encoding' is unknown for plugin
'maven-checkstyle-plugin:3.2.0:check (validate)'
[INFO]
[INFO] --- checkstyle:3.2.0:check (validate) @ kafka-connect-mq-sink ---
[INFO] Starting audit...
[ERROR]
C:\kafka-connect-mq-sink\src\main\java\com\ibm\eventstreams\connect\mqsink\builders\BaseMessageBuilder.java:1:
Expected line ending for file is LF(\n), but CRLF(\r\n) is detected.
[NewlineAtEndOfFile]
[ERROR]
C:\kafka-connect-mq-sink\src\main\java\com\ibm\eventstreams\connect\mqsink\builders\ConverterMessageBuilder.java:1:
Expected line ending for file is LF(\n), but CRLF(\r\n) is detected.
[NewlineAtEndOfFile]
[ERROR]
C:\kafka-connect-mq-sink\src\main\java\com\ibm\eventstreams\connect\mqsink\builders\DefaultMessageBuilder.java:1:
Expected line ending for file is LF(\n), but CRLF(\r\n) is detected.
[NewlineAtEndOfFile]
[ERROR]
C:\kafka-connect-mq-sink\src\main\java\com\ibm\eventstreams\connect\mqsink\builders\JsonMessageBuilder.java:1:
Expected line ending for file is LF(\n), but CRLF(\r\n) is detected.
[NewlineAtEndOfFile]
[ERROR]
C:\kafka-connect-mq-sink\src\main\java\com\ibm\eventstreams\connect\mqsink\builders\MessageBuilder.java:1:
Expected line ending for file is LF(\n), but CRLF(\r\n) is detected.
[NewlineAtEndOfFile]
[ERROR]
C:\kafka-connect-mq-sink\src\main\java\com\ibm\eventstreams\connect\mqsink\builders\MessageBuilderException.java:1:
Expected line ending for file is LF(\n), but CRLF(\r\n) is detected.
[NewlineAtEndOfFile]
[ERROR]
C:\kafka-connect-mq-sink\src\main\java\com\ibm\eventstreams\connect\mqsink\builders\MessageBuilderFactory.java:1:
Expected line ending for file is LF(\n), but CRLF(\r\n) is detected.
[NewlineAtEndOfFile]
[ERROR]
C:\kafka-connect-mq-sink\src\main\java\com\ibm\eventstreams\connect\mqsink\ExceptionProcessor.java:1:
Expected line ending for file is LF(\n), but CRLF(\r\n) is detected.
[NewlineAtEndOfFile]
[ERROR]
C:\kafka-connect-mq-sink\src\main\java\com\ibm\eventstreams\connect\mqsink\JMSWorker.java:1:
Expected line ending for file is LF(\n), but CRLF(\r\n) is detected.
[NewlineAtEndOfFile]
[ERROR]
C:\kafka-connect-mq-sink\src\main\java\com\ibm\eventstreams\connect\mqsink\JMSWorkerConnectionException.java:1:
Expected line ending for file is LF(\n), but CRLF(\r\n) is detected.
[NewlineAtEndOfFile]
[ERROR]
C:\kafka-connect-mq-sink\src\main\java\com\ibm\eventstreams\connect\mqsink\MQConnectionHelper.java:1:
Expected line ending for file is LF(\n), but CRLF(\r\n) is detected.
[NewlineAtEndOfFile]
[ERROR]
C:\kafka-connect-mq-sink\src\main\java\com\ibm\eventstreams\connect\mqsink\MQSinkConfig.java:1:
Expected line ending for file is LF(\n), but CRLF(\r\n) is detected.
[NewlineAtEndOfFile]
[ERROR]
C:\kafka-connect-mq-sink\src\main\java\com\ibm\eventstreams\connect\mqsink\MQSinkConnector.java:1:
Expected line ending for file is LF(\n), but CRLF(\r\n) is detected.
[NewlineAtEndOfFile]
[ERROR]
C:\kafka-connect-mq-sink\src\main\java\com\ibm\eventstreams\connect\mqsink\MQSinkTask.java:1:
Expected line ending for file is LF(\n), but CRLF(\r\n) is detected.
[NewlineAtEndOfFile]
[ERROR]
C:\kafka-connect-mq-sink\src\main\java\com\ibm\eventstreams\connect\mqsink\SSLContextBuilder.java:1:
Expected line ending for file is LF(\n), but CRLF(\r\n) is detected.
[NewlineAtEndOfFile]
[ERROR] c:\kafka-connect-mq-sink\src\test\resources\log4j.properties:1:
Expected line ending for file is LF(\n), but CRLF(\r\n) is detected.
[NewlineAtEndOfFile]
Audit done.
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2.639 s
[INFO] Finished at: 2024-08-23T01:20:00-04:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-checkstyle-plugin:3.2.0:check (validate) on
project kafka-connect-mq-sink: Failed during checkstyle execution: There
are 16 errors reported by Checkstyle 9.3 with
c:\kafka-connect-mq-sink/.checkstyle/checkstyle.xml ruleset. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
*I hope this helps; please advise. I dont have Docker on my system so I
did not run the mvn integration test.*
* I did try to run the mvn clean package, but that blew up very badly.*
* Your input will help !!!!*
* Thanks, in advance.*
* Mason Yu Jr.*
著名的孫子
…On Fri, Aug 23, 2024 at 12:33 AM Joel Hanson ***@***.***> wrote:
Thank you for reporting the issue. Could you please provide more details
to help us investigate further? Specifically:
1. What is the exact error message or stack trace you're encountering
during the build process?
2. Could you clarify the steps you followed before the build failed,
including any dependencies or commands you executed?
3. Is it you first time building the project? Have you included any
recent changes to the codebase or environment that might have impacted the
build process?
This information will help us pinpoint the issue more effectively.
—
Reply to this email directly, view it on GitHub
<#67 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWT53IELKJTNTLEF7MVPTDZS23QFAVCNFSM6AAAAABM6SNEJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBWGI2TKMRTHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@masonyujr It looks like you're encountering a Checkstyle error related to line endings in your Java files. Have you tried building the project with checkstyle disabled. If you need to build the project without addressing the line ending issue immediately, you can disable the Checkstyle plugin temporarily by running:
|
Hi Joel:
I reran the command with the prescribed switches.
This is result, build failure. error..txt Do advise. Thanks.
Mason Yu Jr.
著名的孫子
On Tue, Aug 27, 2024 at 8:45 AM Joel Hanson ***@***.***> wrote:
@masonyujr <https://github.com/masonyujr> It looks like you're
encountering a Checkstyle error related to line endings in your Java files.
Have you tried building the project with checkstyle disabled. If you need
to build the project without addressing the line ending issue immediately,
you can disable the Checkstyle plugin temporarily by running:
mvn clean package -Dcheckstyle.skip=true
—
Reply to this email directly, view it on GitHub
<#67 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWT53NVN4SFYHCWOG5YTCLZTRYGTAVCNFSM6AAAAABM6SNEJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJSGQ3DINZRGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.ibm.eventstreams.connect:kafka-connect-mq-sink:jar:2.2.0
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-surefire-plugin @ line 324, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ---------< com.ibm.eventstreams.connect:kafka-connect-mq-sink >---------
[INFO] Building kafka-connect-mq-sink 2.2.0
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.173 s
[INFO] Finished at: 2024-08-27T09:01:43-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase ".skip=true". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: pre-clean, clean, post-clean, validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-site, site, post-site, site-deploy. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException
|
Maven build is failing on the IBM MQ Sink connector.
The text was updated successfully, but these errors were encountered: