Revert "Add .gitignore to exclude all jar files except lib dependencies"
This reverts commit ff0b7ff3
This commit is contained in:
parent
7761a841c7
commit
d0dff7f7e3
|
|
@ -1,74 +1,35 @@
|
||||||
# Java 编译输出
|
HELP.md
|
||||||
*.class
|
|
||||||
*.war
|
|
||||||
*.nar
|
|
||||||
*.ear
|
|
||||||
*.zip
|
|
||||||
*.tar.gz
|
|
||||||
*.rar
|
|
||||||
|
|
||||||
# JAR 文件(排除 lib 目录中的第三方依赖)
|
|
||||||
*.jar
|
|
||||||
!lib/*.jar
|
|
||||||
|
|
||||||
# Maven
|
|
||||||
target/
|
target/
|
||||||
pom.xml.tag
|
!.mvn/wrapper/maven-wrapper.jar
|
||||||
pom.xml.releaseBackup
|
!**/src/main/**/target/
|
||||||
pom.xml.versionsBackup
|
!**/src/test/**/target/
|
||||||
pom.xml.next
|
|
||||||
release.properties
|
|
||||||
dependency-reduced-pom.xml
|
|
||||||
buildNumber.properties
|
|
||||||
.mvn/timing.properties
|
|
||||||
.mvn/wrapper/maven-wrapper.jar
|
|
||||||
|
|
||||||
# Maven 本地仓库目录 (Mac 环境)
|
### STS ###
|
||||||
~/.m2/repository/
|
.apt_generated
|
||||||
**/.m2/repository/
|
.classpath
|
||||||
.m2/repository/
|
.factorypath
|
||||||
/Users/*/\.m2/repository/
|
.project
|
||||||
|
.settings
|
||||||
|
.springBeans
|
||||||
|
.sts4-cache
|
||||||
|
|
||||||
# 清理项目中的 Windows 路径目录
|
### IntelliJ IDEA ###
|
||||||
**/D:\develop\soft\maven_config\repository/
|
.idea
|
||||||
**/D:/develop/soft/maven_config/repository/
|
|
||||||
D:\develop\soft\maven_config\repository/
|
|
||||||
D:/develop/soft/maven_config/repository/
|
|
||||||
|
|
||||||
# IDE 相关文件
|
|
||||||
.idea/
|
|
||||||
*.iws
|
*.iws
|
||||||
*.iml
|
*.iml
|
||||||
*.ipr
|
*.ipr
|
||||||
.vscode/
|
|
||||||
.classpath
|
|
||||||
.project
|
|
||||||
.settings/
|
|
||||||
|
|
||||||
# 日志文件
|
### NetBeans ###
|
||||||
*.log
|
/nbproject/private/
|
||||||
|
/nbbuild/
|
||||||
# 临时文件
|
/dist/
|
||||||
*.tmp
|
/nbdist/
|
||||||
*.bak
|
/.nb-gradle/
|
||||||
*.swp
|
|
||||||
*~.nib
|
|
||||||
|
|
||||||
# 系统文件
|
|
||||||
.DS_Store
|
|
||||||
.DS_Store?
|
|
||||||
._*
|
|
||||||
.Spotlight-V100
|
|
||||||
.Trashes
|
|
||||||
ehthumbs.db
|
|
||||||
Thumbs.db
|
|
||||||
|
|
||||||
# 构建输出
|
|
||||||
build/
|
build/
|
||||||
out/
|
!**/src/main/**/build/
|
||||||
bin/
|
!**/src/test/**/build/
|
||||||
|
|
||||||
# 依赖目录
|
### VS Code ###
|
||||||
node_modules/
|
.vscode/
|
||||||
.gitignore
|
/dev_jco_rfc.log
|
||||||
D:/develop/soft/maven_config/repository/ch/qos/logback/logback-core/1.4.14/logback-core-1.4.14.jar.sha1
|
logs
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ import java.util.concurrent.TimeUnit;
|
||||||
public class DeployTest {
|
public class DeployTest {
|
||||||
|
|
||||||
private static final String serviceName = "admin";
|
private static final String serviceName = "admin";
|
||||||
private static final String localPath = System.getProperty("user.dir") + "\\target\\";
|
private static final String localPath = System.getProperty("user.dir") + "//target//";
|
||||||
private static final String remotePath = "/mnt/app/wms/" + serviceName + "/";
|
private static final String remotePath = "/mnt/app/wms/" + serviceName + "/";
|
||||||
private static final String jarName = "nflg-wms-" + serviceName + "-1.0.0-SNAPSHOT.jar";
|
private static final String jarName = "nflg-wms-" + serviceName + "-1.0.0-SNAPSHOT.jar";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue