Skip to content
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

fix java_test_functions build failed #11829

Conversation

hangc0276
Copy link
Contributor

Motivation

When build java-test-functions, it throw the following exception

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project java-test-functions: Compilation failure: Compilation failure:
[ERROR] /Users/hangc/Workspace/release/pulsar-2.8.1/v2/pulsar/tests/docker-images/java-test-functions/src/main/java/org/apache/pulsar/tests/integration/io/TestGenericObjectSink.java:[21,38] package com.fasterxml.jackson.databind does not exist
[ERROR] /Users/hangc/Workspace/release/pulsar-2.8.1/v2/pulsar/tests/docker-images/java-test-functions/src/main/java/org/apache/pulsar/tests/integration/io/TestGenericObjectSink.java:[23,31] package org.apache.avro.generic does not exist
[ERROR] -> [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/MojoFailureException

Modification

  1. add maven dependency for java-test-functions module

@hangc0276 hangc0276 self-assigned this Aug 29, 2021
@hangc0276 hangc0276 added this to the 2.9.0 milestone Aug 29, 2021
@hangc0276 hangc0276 merged commit 42054e0 into apache:master Aug 29, 2021
hangc0276 added a commit that referenced this pull request Aug 29, 2021
### Motivation
When build java-test-functions, it throw the following exception

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project java-test-functions: Compilation failure: Compilation failure:
[ERROR] /Users/hangc/Workspace/release/pulsar-2.8.1/v2/pulsar/tests/docker-images/java-test-functions/src/main/java/org/apache/pulsar/tests/integration/io/TestGenericObjectSink.java:[21,38] package com.fasterxml.jackson.databind does not exist
[ERROR] /Users/hangc/Workspace/release/pulsar-2.8.1/v2/pulsar/tests/docker-images/java-test-functions/src/main/java/org/apache/pulsar/tests/integration/io/TestGenericObjectSink.java:[23,31] package org.apache.avro.generic does not exist
[ERROR] -> [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/MojoFailureException

### Modification
add maven dependency for java-test-functions module

(cherry picked from commit 42054e0)
@hangc0276 hangc0276 added cherry-picked/branch-2.8 Archived: 2.8 is end of life area/build labels Aug 29, 2021
bharanic-dev pushed a commit to bharanic-dev/pulsar that referenced this pull request Mar 18, 2022
### Motivation
When build java-test-functions, it throw the following exception

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project java-test-functions: Compilation failure: Compilation failure:
[ERROR] /Users/hangc/Workspace/release/pulsar-2.8.1/v2/pulsar/tests/docker-images/java-test-functions/src/main/java/org/apache/pulsar/tests/integration/io/TestGenericObjectSink.java:[21,38] package com.fasterxml.jackson.databind does not exist
[ERROR] /Users/hangc/Workspace/release/pulsar-2.8.1/v2/pulsar/tests/docker-images/java-test-functions/src/main/java/org/apache/pulsar/tests/integration/io/TestGenericObjectSink.java:[23,31] package org.apache.avro.generic does not exist
[ERROR] -> [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/MojoFailureException

### Modification
add maven dependency for java-test-functions module
eolivelli pushed a commit to eolivelli/pulsar that referenced this pull request Apr 3, 2022
### Motivation
When build java-test-functions, it throw the following exception

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project java-test-functions: Compilation failure: Compilation failure:
[ERROR] /Users/hangc/Workspace/release/pulsar-2.8.1/v2/pulsar/tests/docker-images/java-test-functions/src/main/java/org/apache/pulsar/tests/integration/io/TestGenericObjectSink.java:[21,38] package com.fasterxml.jackson.databind does not exist
[ERROR] /Users/hangc/Workspace/release/pulsar-2.8.1/v2/pulsar/tests/docker-images/java-test-functions/src/main/java/org/apache/pulsar/tests/integration/io/TestGenericObjectSink.java:[23,31] package org.apache.avro.generic does not exist
[ERROR] -> [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/MojoFailureException

### Modification
add maven dependency for java-test-functions module

(cherry picked from commit 42054e0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants