1 Star 0 Fork 0

t-archetype / simple

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Simple Archetype


Archetype packaging and release

## Create a archetype project from an existing project
mvn clean archetype:create-from-project -Darchetype.properties=./archetype.properties
\cp -rf archetype-pom.xml target/generated-sources/archetype/pom.xml
## Enter the archetype project directory
cd target/generated-sources/archetype
## The archetype project is packaged to the local Maven repository
mvn clean install
## Create archetype index for local Maven repository
mvn archetype:crawl
## Release archetype achievements
mvn clean deploy
## Return to the base project directory
cd ../../..

Creating projects using archetype

mvn archetype:generate -DarchetypeGroupId=indi.huhy.archetypes -DarchetypeArtifactId=simple-archetype -DarchetypeVersion=0.0.1-SNAPSHOT -DgroupId=indi.huhy -DartifactId=demo -Dversion=1.0.0 -DarchetypeCatalog=local -DinteractiveMode=false -X

Parameter Description:

  • -DarchetypeCatalog=internal : Use private repository
  • -DarchetypeCatalog=local : Use local repository

Repository Comments ( 0 )

Sign in to post a comment

About

Simple archetype for Java expand collapse
Java and 2 more languages
Apache-2.0
Cancel

Releases (1)

All

Contributors

All

Activities

Load More
can not load any more
Java
1
https://gitee.com/t-archetype/simple.git
git@gitee.com:t-archetype/simple.git
t-archetype
simple
simple
master

Search