Partner – CAST AI – NPI EA (tag = kubernetes)
The Kubernetes ecosystem is huge and quite complex, so it’s easy to forget about costs when trying out all of the exciting tools.
To avoid overspending on your Kubernetes cluster, definitely have a look at the free K8s cost monitoring tool from the automation platform CAST AI. You can view your costs in real time, allocate them, calculate burn rates for projects, spot anomalies or spikes, and get insightful reports you can share with your team.
Connect your cluster and start monitoring your K8s costs right away:
>> FREE Kubernetes cost monitoring
Partner – MongoDB – NPI EA (tag = MongoDB) Partner – Thundra – NPI EA (tag = Jenkins)
You can get some real insight into your CI pipelines, and into your tests by using Foresight.
This includes not just the basics but some actual, actionable data like Change Impact Analysis, where we can see the changes in a PR and correlate them to test runs and test coverage to show how they affect our builds:
>> Try out Foresight in a project
This quick tutorial describes the clean plugin, one of the core plugins of the Maven build tool.
For an overview of the other core plugins, refer to this article.
2. Plugin Goal
The clean lifecycle has only one phase named clean that is automatically bound to the only goal of the plugin with the same name. This goal can, therefore, be executed with the command mvn clean.
The clean plugin is already included in the super POM, thus we can use it without specifying anything in the project's POM.
This plugin, as its name implies, cleans the files and directories generated during the previous build. By default, the plugin removes the target directory.
We can add directories to be cleaned using the filesets parameter:
The latest version of this plugin is listed here.
If the output-resources directory contains some generated resources, it cannot be removed with the default settings. The change we've just made instructs the clean plugin to delete that directory in addition to the default one.
In this article, we went over the clean plugin and instructed how to customize it.
The complete source code for this tutorial can be found over on GitHub.
res – Maven (eBook) (cat=Maven)