{"id":18897369,"url":"https://github.com/jshiftio/openshift-maven-plugin","last_synced_at":"2025-04-15T02:11:25.461Z","repository":{"id":57735684,"uuid":"191296494","full_name":"jshiftio/openshift-maven-plugin","owner":"jshiftio","description":"Maven plugin for getting your Java apps on to Openshift","archived":false,"fork":false,"pushed_at":"2022-06-30T15:23:13.000Z","size":11051,"stargazers_count":4,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T02:11:22.172Z","etag":null,"topics":["java","maven-plugin","openshift"],"latest_commit_sha":null,"homepage":"http://openshift.jshift.io/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jshiftio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-11T04:55:47.000Z","updated_at":"2019-12-20T17:10:27.000Z","dependencies_parsed_at":"2022-08-24T01:11:09.963Z","dependency_job_id":null,"html_url":"https://github.com/jshiftio/openshift-maven-plugin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshiftio%2Fopenshift-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshiftio%2Fopenshift-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshiftio%2Fopenshift-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshiftio%2Fopenshift-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jshiftio","download_url":"https://codeload.github.com/jshiftio/openshift-maven-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248991557,"owners_count":21194894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","maven-plugin","openshift"],"created_at":"2024-11-08T08:37:09.394Z","updated_at":"2025-04-15T02:11:25.444Z","avatar_url":"https://github.com/jshiftio.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Openshift Maven Plugin\n\n\u003e *Note: This repository has been moved to [Eclipse Jkube](https://github.com/eclipse/jkube/tree/master/openshift-maven-plugin). In case you want to contribute please send PRs to https://github.com/eclipse/jkube repo*.\n\n[![Circle CI](https://circleci.com/gh/jshiftio/openshift-maven-plugin/tree/master.svg?style=shield)](https://circleci.com/gh/jshiftio/openshift-maven-plugin/tree/master)\n[![Maven Central](https://img.shields.io/maven-central/v/io.jshift/oc-maven-plugin.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.jshift%22%20AND%20a:%22oc-maven-plugin%22)\n[![Gitter](https://badges.gitter.im/jshift-community/community.svg)](https://gitter.im/jshift-community/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=jshiftio_openshift-maven-plugin\u0026metric=sqale_index)](https://sonarcloud.io/dashboard?id=jshiftio_openshift-maven-plugin)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=jshiftio_openshift-maven-plugin\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=jshiftio_openshift-maven-plugin)\n\n![Sample Demo](oc-maven-plugin-demo.gif)\n\n### Introduction\nThis Maven plugin is a one-stop-shop for building and deploying Java applications for OpenShift. It brings your Java applications on to OpenShift. It provides a tight integration into maven and benefits from the build configuration already provided. It focuses on three tasks:\n+ Building S2I images\n+ Creating OpenShift resources\n+ Deploy application on OpenShift\n\n### Usage\nTo enable Openshift maven plugin on your project just add this to the plugins sections of your pom.xml:\n\n```\n      \u003cplugin\u003e\n        \u003cgroupId\u003eio.jshift\u003c/groupId\u003e\n        \u003cartifactId\u003eoc-maven-plugin\u003c/artifactId\u003e\n        \u003cversion\u003e${jshift.openshift.version}\u003c/version\u003e\n      \u003c/plugin\u003e\n```\n\n| Goal                                          | Description                           |\n| --------------------------------------------- | ------------------------------------- |\n| [`oc:resource`](https://fabric8io.github.io/fabric8-maven-plugin/#fabric8:resource) | Create OpenShift resource descriptors |\n| [`oc:build`](https://fabric8io.github.io/fabric8-maven-plugin/#fabric8:build) | Build Docker images |\n| [`oc:push`](https://fabric8io.github.io/fabric8-maven-plugin/#fabric8:push) | Push Docker images to a registry  |\n| [`oc:deploy`](https://fabric8io.github.io/fabric8-maven-plugin/#fabric8:deploy) | Deploy OpenShift resource objects to a cluster  |\n| [`oc:watch`](https://fabric8io.github.io/fabric8-maven-plugin/#fabric8:watch) | Watch for doing rebuilds and restarts |\n\n### Features\n\n* Dealing with S2I images and hence inherits its flexible and powerful configuration.\n* Supports both OpenShift descriptors\n* OpenShift Docker builds with a binary source (as an alternative to a direct image build agains a Docker daemon)\n* Various configuration styles:\n  * **Zero Configuration** for a quick ramp-up where opinionated defaults will be pre-selected.\n  * **Inline Configuration** within the plugin configuration in an XML syntax.\n  * **External Configuration** templates of the real deployment descriptors which are enriched by the plugin.\n* Flexible customization:\n  * **Generators** analyze the Maven build and generated automatic Docker image configurations for certain systems (spring-boot, plain java, karaf ...)\n  * **Enrichers** extend the  OpenShift resource descriptors by extra information like SCM labels and can add default objects like Services.\n  * Generators and Enrichers can be individually configured and combined into *profiles*\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjshiftio%2Fopenshift-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjshiftio%2Fopenshift-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjshiftio%2Fopenshift-maven-plugin/lists"}