Skip to content

sheldonshen/build_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#maven常用命令收集

  • mvn compile
  • mvn test
  • mvn clean
  • mvn package
  • mvn install //把新创建的jar包安装到仓库中
  • mvn install:install-file -Dfile=i-framework-0.0.1.jar -DgroupId=com.cottsoft -DartifactId=i-framework -Dversion=0.0.1 -Dpackaging=jar
  • http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html
  • mvn archetype:generate //创建新项目
  • mvn archetype:generate -DgroupId=com.feidee -DartifactId=hellomaven -DarchetypeArtifactId=maven-archetype-quickstart -Dinteractive=false
  • http://maven.apache.org/archetype/maven-archetype-plugin/generate-mojo.html
  • mvn archetype:crawl //它会在 {current_user_home}.m2\repository目录下生成一个archetype-catalog.xml文件
  • mvn idea:idea //将maven项目转成idea可导入项目
  • mvn eclipse:eclipse //将maven项目转成eclipse可导入项目
  • mvn eclipse:myeclipse //将maven项目转成myeclipse项目
  • mvn integration-test
  • mvn clean verify deploy

#gradle常用命令收集

  • gradle wrapper
  • gradle build
  • gradle jettyRun

#maven中的常见术语 https://maven.apache.org/glossary.html

#gradle中的常见术语 https://docs.gradle.org/current/userguide/go01.html

  • artifact
  • build script
  • configuration
  • configuration injection
  • DAG
  • dependency
  • dependency configuration
  • dependency resolution
  • dsl
  • external dependency
  • external object
  • init script
  • plugin
  • project
  • project dependency
  • repository
  • source set
  • task
  • transitive dependency

Releases

No releases published

Packages

No packages published