How To Install jetty-jspc-maven-plugin on CentOS 7
Introduction
In this tutorial we learn how to install jetty-jspc-maven-plugin
on CentOS 7.
What is jetty-jspc-maven-plugin
Jetty is a 100% Java HTTP Server and Servlet Container. This means that you do not need to configure and run a separate web server (like Apache) in order to use Java, servlets and JSPs to generate dynamic content. Jetty is a fully featured web server for static and dynamic content. Unlike separate server/container solutions, this means that your web server and web application run in the same process, without interconnection overheads and complications. Furthermore, as a pure java component, Jetty can be simply included in your application for demonstration, distribution or deployment. Jetty is available on all Java supported platforms. This package contains jspc-maven-plugin module for Jetty.
We can use yum
or dnf
to install jetty-jspc-maven-plugin
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install jetty-jspc-maven-plugin.
Install jetty-jspc-maven-plugin on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install jetty-jspc-maven-plugin
using yum
by running the following command:
sudo yum -y install jetty-jspc-maven-plugin
Install jetty-jspc-maven-plugin on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
sudo dnf makecache
After updating yum database, We can install jetty-jspc-maven-plugin
using dnf
by running the following command:
sudo dnf -y install jetty-jspc-maven-plugin
How To Uninstall jetty-jspc-maven-plugin on CentOS 7
To uninstall only the jetty-jspc-maven-plugin
package we can use the following command:
sudo dnf remove jetty-jspc-maven-plugin
References
Summary
In this tutorial we learn how to install jetty-jspc-maven-plugin
on CentOS 7 using yum
and dnf
.