I share basic example, how to create maven archetype from existing project.
Steps:
Step 1.
-cd your_project
run next command: mvn archetype:create-from-project
It then generates the directory tree of the archetype in the target/generated-sources/archetype directory.
Step 2. Move directory.
- cd target/generated-sources/archetype/
- And run command mvn install
Step 3. Move to a fresh directory and use your archetype.
- mkdir /tmp/archetype
- cd /tmp/archetype
- mvn archetype:generate -DarchetypeCatalog=local
References: https://maven.apache.org/archetype/maven-archetype-plugin/advanced-usage.html
Subscribe to:
Post Comments (Atom)
Provisioning Cloud SQL with Private Service Connect Using Terraform & Accessing from Cloud Run with Spring Boot
In this post, we'll explore how to provision Cloud SQL instances with Private Service Connect (PSC) connectivity using Terraform and the...
-
SAML V2.0 SAML version 2.0 was approved as an OASIS Standard in March 2005. Approved Errata for SAML V2.0 was last produced by the SSTC on 1...
-
Single Sign-On (SSO) is an authentication process that allows users to access multiple applications or services with a single set of login c...
-
Introduction: Sometimes we need to interact with Spring Boot GraphQL API and Spring Boot Rest API in the same time, in this case we can use ...
No comments:
Post a Comment