Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Set scope for workflow-example dependencies #185

Merged

Conversation

masayag
Copy link
Collaborator

@masayag masayag commented Mar 30, 2023

Due to the default dependencies scope, too many dependencies were packaged in workflow-example uber jar.

This PR sets proper dependencies for the project:
prebuilt-tasks - needs to be provided by the workflow-service workflow-service-sdk - shouldn't be used in runtime, since the purpose of the SDK is to interact with the service API which isn't in the scope of the workflow itself.

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/work/parodos/workflow-service/../workflow-examples/target/workflow-examples-1.0.6-SNAPSHOT-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]

Due to the default dependencies scope, too many dependencies were
packaged in workflow-example uber jar.

This PR sets proper dependencies for the project:
prebuilt-tasks - needs to be provided by the workflow-service
workflow-service-sdk - shouldn't be used in runtime, since the purpose
of the SDK is to interact with the service API which isn't in scope of
the workflow itself.

```
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/work/parodos/workflow-service/../workflow-examples/target/workflow-examples-1.0.6-SNAPSHOT-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]
```

Signed-off-by: Moti Asayag <masayag@redhat.com>
Copy link
Collaborator

@pkliczewski pkliczewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@nirarg
Copy link
Contributor

nirarg commented Mar 30, 2023

/approve

@openshift-ci
Copy link

openshift-ci bot commented Mar 30, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nirarg

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 898c1b5 into parodos-dev:main Mar 30, 2023
@masayag masayag deleted the workflow-example-pom branch May 7, 2023 14:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants