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

build is not successful for version - 4.9.0-SNAPSHOT #1695

Open
Mounika-Reddy206 opened this issue Jan 16, 2025 · 5 comments
Open

build is not successful for version - 4.9.0-SNAPSHOT #1695

Mounika-Reddy206 opened this issue Jan 16, 2025 · 5 comments
Assignees

Comments

@Mounika-Reddy206
Copy link

Hi,

I am trying to build the latest code which has version 4.9.0-SNAPSHOT in my local but its failing with below error. can you please help me resolving this issue.

camel-kafka-connector % mvn clean install -U
[INFO] Scanning for projects...
Downloading from apache.snapshots: https://repository.apache.org/snapshots/org/apache/camel/camel-dependencies/4.9.0-SNAPSHOT/maven-metadata.xml
Downloading from apache.snapshots: https://repository.apache.org/snapshots/org/apache/camel/camel-dependencies/4.9.0-SNAPSHOT/camel-dependencies-4.9.0-SNAPSHOT.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.camel.kafkaconnector:camel-kafka-connector-aggregator:4.9.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.camel:camel-dependencies:pom:4.9.0-SNAPSHOT (absent): Could not find artifact org.apache.camel:camel-dependencies:pom:4.9.0-SNAPSHOT in apache.snapshots (https://repository.apache.org/snapshots/) and 'parent.relativePath' points at wrong local POM @ line 23, column 13
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.camel.kafkaconnector:camel-kafka-connector-aggregator:4.9.0-SNAPSHOT (/Users/mounika.adinarayanareddygar/Desktop/Retina/camel-kafka-connector/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.apache.camel.kafkaconnector:camel-kafka-connector-aggregator:4.9.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.camel:camel-dependencies:pom:4.9.0-SNAPSHOT (absent): Could not find artifact org.apache.camel:camel-dependencies:pom:4.9.0-SNAPSHOT in apache.snapshots (https://repository.apache.org/snapshots/) and 'parent.relativePath' points at wrong local POM @ line 23, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

Regards
Mounika

@davsclaus
Copy link
Contributor

try updating to latest code

@Mounika-Reddy206
Copy link
Author

I tried with latest code, its failing with below error

The requested profile "" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:testCompile (default-testCompile) on project itests-common: Compilation failure: Compilation failure:
[ERROR] /Users/mounika/Desktop/camel-kafka-connector/tests/itests-common/src/test/java/org/apache/camel/kafkaconnector/common/AbstractKafkaTest.java:[25,50] cannot find symbol
[ERROR] symbol: class ContainerLocalKafkaService
[ERROR] location: package org.apache.camel.test.infra.kafka.services
[ERROR] /Users/mounika/Desktop/camel-kafka-connector/tests/itests-common/src/test/java/org/apache/camel/kafkaconnector/common/AbstractKafkaTest.java:[28,50] cannot find symbol
[ERROR] symbol: class RemoteKafkaService
[ERROR] location: package org.apache.camel.test.infra.kafka.services
[ERROR] /Users/mounika/Desktop/camel-kafka-connector/tests/itests-common/src/test/java/org/apache/camel/kafkaconnector/common/AbstractKafkaTest.java:[29,50] cannot find symbol
[ERROR] symbol: class StrimziService
[ERROR] location: package org.apache.camel.test.infra.kafka.services
[ERROR] -> [Help 1]

@valdar
Copy link
Member

valdar commented Jan 27, 2025

@Mounika-Reddy206 can you try to build the latest main branch ? Camel 4.10-SNAPSHOT is used there.

@oscerd oscerd closed this as completed Jan 31, 2025
@Mounika-Reddy206
Copy link
Author

@valdar same issue again the test compilation is failing.

@valdar valdar reopened this Feb 4, 2025
@valdar
Copy link
Member

valdar commented Feb 5, 2025

@Mounika-Reddy206 I have fixed some some dependencies and tests in main for version 4.10.0-SNAPSHOT, could you please try again with latest main ?

If you encounter some problems pleas report the exact build command you used and the error log.

@valdar valdar self-assigned this Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants