![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
构建工具
atec2000
这个作者很懒,什么都没留下…
展开
-
git放弃本地修改复原到远程库最新状态
git reset --hardgit clean -df原创 2020-11-18 10:18:32 · 563 阅读 · 0 评论 -
maven: 开发、测试和生产环境使用不同的配置文件例子
properties> package.target>notexistspackage.target> properties> profiles> profile> id>devid> properties> package.target>dev转载 2014-05-03 16:21:52 · 6965 阅读 · 0 评论 -
hibernate3-maven-plugin配置
将以下内容添加到maven的pom.xml中。build>plugins>plugin>groupId>org.codehaus.mojogroupId>artifactId>hibernate3-maven-pluginartifactId>version>2.2version>configuration>components>component>原创 2013-05-23 13:41:43 · 3046 阅读 · 0 评论 -
maven配置: 生成war的同时生成jar, 并在其他artifact配置依赖于这个jar
在一个artifact的pom.xml中加入以下内容:plugin>groupId>org.apache.maven.pluginsgroupId>artifactId>maven-war-pluginartifactId>version>2.1.1version>configuration>attachClasses>trueattachClasses>confi原创 2013-05-28 17:22:54 · 1841 阅读 · 0 评论 -
配置Maven使用本地lib文件夹
The official "Maven Way" of dependency management is to use Maven Central and local repository specified in thesettings.xml file (which usually points to $HOME/.m2/repository. While it works great f转载 2015-11-23 11:45:31 · 12450 阅读 · 0 评论 -
git常用命令
git statusgit checkout -- sst/sst-mobile/src/main/resources/logback.xmlgit add .git commitgit pushgit loggit statusgit reset --hardgit pullgit loggit branchgit checkout master原创 2016-11-15 11:21:04 · 379 阅读 · 0 评论 -
配置jenkins连接git注意点
在git服务器上创建jenkins用户:useradd jenkinspasswd password 在jenkins所在服务器创建密钥:ssh-keygen -t rsa提示的时候,保存ssh key到路径/var/lib/jenkins/.ssh 把public key加到git服务器:cd /var/lib/jenkins/.sshssh-copy-i...原创 2018-08-10 14:45:11 · 7746 阅读 · 1 评论