maven 常用命令

1.清空环境
mvn clean 


2.建立Eclipse环境
mvn eclipse:eclipse 


3.清空Eclipse环境
mvn eclipse:clean 


4.只编译
mvn compile 


5.只打包
mvn package -Dmaven.test.skip=true


6.只装配
mvn process-resources


7.打包+装配+安装二进制
mvn install -Dmaven.test.skip=true


8.部署到mvn库
mvn clean install deploy -Dmaven.test.skip=true


9.依赖关系查询
mvn dependency:tree
mvn dependency:analyze
mvn dependency:list
 


mvn clean deploy -Pdev -Dmaven.test.skip=true


mvn clean install -Pdev -Dmaven.test.skip=true


mvn clean source:jar deploy  -Pdev -Dmaven.test.skip=true


linux 下查询 运和地项目
    ps -ef |grep trade
 


grant select on UCF_ACCOUNT to customer;--授权 
revoke select on UCF_ACCOUNT to customer;--回收权限 
create public synonym UCF_ACCOUNT for account.UCF_ACCOUNT;--创建同义词 
drop public synonym UCF_ACCOUNT;--删除同义词 
select * from dba_synonyms;--查看所有同义词 
select t.*, t.rowid from UCF_ACCOUNT t 

你可能感兴趣的:(maven 常用命令)