dev
dev
512
512
-javaagent:/data/app/pinpoint-agent-1.8.3/pinpoint-bootstrap-1.8.3.jar
true
uat1
uat1
512
512
-javaagent:/data/app/pinpoint-agent-1.8.3/pinpoint-bootstrap-1.8.3.jar
stg
stg
1024
1024
-javaagent:/data/app/pinpoint-agent-1.8.3/pinpoint-bootstrap-1.8.3.jar
prd
prd
2048
2048
-javaagent:/data/app/pinpoint-agent-1.8.3/pinpoint-bootstrap-1.8.3.jar
src/main/resources
env/**
src/main/resources/env/${env}
${project.build.outputDirectory}
true
src/test/resources
src/test/resources
${project.build.testOutputDirectory}
true
org.codehaus.mojo
appassembler-maven-plugin
1.10
flat
lib
conf
true
src/main/resources/env/${env}
true
${project.build.directory}
${project.name}
com.mkl.local.m.MeApplication
jsw
logs/${project.name}.log
jsw
macosx-universal-64
linux-x86-32
linux-x86-64
windows-x86-32
windows-x86-64
configuration.directory.in.classpath.first
conf
set.default.REPO_DIR
lib
wrapper.ping.timeout
300
wrapper.startup.timeout
300
-Denv=${env}
-Dspring.profiles.active=${env}
-server
-Xms${jvmSettings.initialMemorySize}m
-Xmx${jvmSettings.maxMemorySize}m
-Djava.net.preferIPv4Stack=true
并且中间加符号"-" 占一位 预留10个长度给到脚本自动追加hostname 做全局唯一标识 -->
-->
-XX:+UseG1GC
-XX:MaxGCPauseMillis=400
-XX:InitiatingHeapOccupancyPercent=60
-XX:+PrintGC
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-XX:+PrintGCApplicationConcurrentTime
-XX:+PrintGCApplicationStoppedTime
-Xloggc:./logs/gc.log
-Djava.security.egd=file:/dev/./urandom
generate-jsw-scripts
package
generate-daemons
create-repository
org.apache.maven.plugins
maven-assembly-plugin
2.6
package
single
assembly/bin.xml
org.apache.maven.plugins
maven-deploy-plugin
2.8.2
true
org.apache.maven.plugins
maven-surefire-plugin
2.22.2
true
org.springframework.boot
spring-boot-maven-plugin
以上是springboot怎么配置多套环境的详细内容。更多信息请关注PHP中文网其他相关文章!