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

Switch YAKS runtime to Maven #40

Closed
christophd opened this issue Feb 14, 2020 · 1 comment
Closed

Switch YAKS runtime to Maven #40

christophd opened this issue Feb 14, 2020 · 1 comment

Comments

@christophd
Copy link
Member

We run a normal JVM process (using TestRunner main class) when executing tests in YAKS S2i image. Need to change this to a Maven build in order to support dependency resolving mechanisms. This is mandatory when using components in tests that are not baked into the YAKS Docker image.

This helps us to support additional runtime dependencies that we need to add to the YAKS runtime. For instance when the test uses a camel component that is not part of the default YAKS runtime we want to automatically download the artifacts and transitive dependencies at runtime.

christophd added a commit to christophd/yaks that referenced this issue Feb 14, 2020
Switching YAKS runtime to Maven instead of running plain JVM jar for executing tests. This enables us to use Maven dependency resolving for additional components used in tests.

- Refactor YAKS Docker image to use Maven build instead of jar execution
- Add local m2 repository to YAKS Docker image holding all dependencies and required plugins to run a test
- Tidy up Maven dependencies and dependency management
- Move TestReporter to yaks-testing-standard module
- Refactor yaks-testing module to represent the new YAKS runtime using Maven
christophd added a commit that referenced this issue Feb 14, 2020
…o-maven

fix[ENTESB-12540]: #40 Switch runtime to Maven
@christophd
Copy link
Member Author

Fixed with #42

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

1 participant