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

[BUG] ./gradlew build -PadminChassisOnly does not build server-chassis-spring causing error #7492

Closed
ilovechai opened this issue Mar 6, 2023 · 2 comments
Labels
bug Something isn't working triage New bug/issue which needs checking & assigning

Comments

@ilovechai
Copy link
Contributor

Existing/related issue?

No response

Current Behavior

On executing from root of the project:
./gradlew build -PadminChassisOnly
gradle gives the following error:

egeria/open-metadata-implementation/adapters/open-connectors/connector-configuration-factory/src/main/java/org/odpi/openmetadata/adapters/repositoryservices/ConnectorConfigurationFactory.java:6: error: package org.odpi.openmetadata.adapters.eventbus.topic.kafka does not exist
import org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider;

On removing the unused import:

import org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider;

the server-chassis-spring build is sucessful

Expected Behavior

server-chassis-spring must be able to build sucessfully

Steps To Reproduce

` ./gradlew build -PadminChassisOnly` 

Environment

- Egeria:3.15
- OS:Mac
- Java:15

Any Further Information?

No response

@ilovechai ilovechai added bug Something isn't working triage New bug/issue which needs checking & assigning labels Mar 6, 2023
@planetf1
Copy link
Member

planetf1 commented Mar 6, 2023

The build failure occured when using the -PadminChassisOnly option, and only if a regular build had not been done first, and clean was not used. Additionally this option is not tested as part of the formal build process.

@ilovechai
Copy link
Contributor Author

Closing as PR is merged into main and egeria-release-3.15 and issue is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage New bug/issue which needs checking & assigning
Projects
None yet
Development

No branches or pull requests

2 participants