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

Way to install the plugin automatically with maven/gradle? #35

Open
edeandrea opened this issue Oct 25, 2023 · 2 comments
Open

Way to install the plugin automatically with maven/gradle? #35

edeandrea opened this issue Oct 25, 2023 · 2 comments
Labels
question Further information is requested

Comments

@edeandrea
Copy link

Hello. Is there a way this plugin could be installed by a build tool (Maven/Gradle for example in the Java space)? I want to use this plugin for an open source sample project, but I can't have any user who forks/clones the project have to go through setting it up so that they can build the application.

It would also make it much easier to set up in CI servers (GitHub actions, etc).

@rholshausen rholshausen added the question Further information is requested label Nov 8, 2023
@rholshausen
Copy link
Contributor

The plugin can be auto-installed as needed when using the latest versions of supported Pact implementations (like Pact-JVM).

If the auto-installation does not work for you, you can use the pact-plugin-cli. This should work in CI (we use it in the Pact CI).

@edeandrea
Copy link
Author

edeandrea commented Nov 8, 2023

Thank you. Unfortunately I can't take the latest & greatest pact-jvm due to its Java 17 requirement. I also can't/don't want to rely on some external process or cli to be able to install it.

This is for an OSS sample project and I really can't expect users to have to install some cli and run some commands before they can do a local build of the project. For CI servers/GitHub actions, sure this could be automated as part of the CI process. But that wouldn't help any ordinary user who would like to fork/clone the project and be able to build/test it.

Unfortunately I'll have to sit on this and wait for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants