![]() ![]() In the Goals field, enter compile quarkus:dev: ![]() Press the Finish button, you should now see a new project in the Project Explorer window (please note that it may take a while, as Maven will download some Quarkus dependencies if this is the first time you have built a Quarkus project on your workstation):įrom the Project Explorer window, select your Quarkus project ( my-quarkus-project), right-click the Run As -> Maven build. Using the Browse button, select the folder where your first Quarkus project has been generated: Import the first Quarkus project into IDEįrom the IDE main window, open the File -> Import -> Existing Maven Projects menu: Then, you will be asked for the path of the REST endpoint.Īt this point, your first Quarkus project has been created on your local workstation, let's import it into our IDE. Then, you will be asked for the class name of the REST endpoint. Then, you will be asked if you want to add a REST endpoint in your application.ĭo you want to create a REST resource? (y/n) : You will be asked for the version for your project: You will be asked for the artifactId for your project: Press the ENTER key to accept the default value. You will be asked for the groupId for your project: Mvn io.quarkus:quarkus-maven-plugin:create ![]() Using a terminal, go into a folder where you want your first Quarkus project to be stored and type the following command: So, we will follow the Quarkus Getting Started Guide recommendation on how to bootstrap a Quarkus project. It is based on the concept of Maven archetypes, and the Quarkus project does not provide a Maven archetype to bootstrap a new project but rather provides a Maven plugin to create a new project. Once the IDE is installed, launch it and open a new workspace or reuse an existing workspace based on your preferences.Īlthough it is possible from within the Eclipse-based IDE to create a Maven-based project using the new Maven project wizard, we will not use this path. You can use Red Hat CodeReady Studio or one of the Java packages from the Eclipse Foundation. If you don't already have an IDE on your workstation, you must download and install one. So, you can also use the Eclipse IDE for Java Developers package or the Eclipse IDE for Enterprise Java Developers package. Please note that even if we use Red Hat CodeReady Studio in this article, any Eclipse IDE can be used assuming it has the tooling for Java-based development. In this article, I will show how easy is it to create and set up a Quarkus project in an Eclipse IDE based environment. You've probably heard about Quarkus, the Supersonic Subatomic Java framework tailored for Kubernetes and containers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |