Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <project>
- <build>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>dev</id>
- <properties>
- <spring.profile.id>dev</spring.profile.id>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-tomcat</artifactId>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>prod</id>
- <properties>
- <spring.profile.id>prod</spring.profile.id>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-devtools</artifactId>
- <version>2.1.6.RELEASE</version>
- </dependency>
- </dependencies>
- </profile>
- </profiles>
- </project>
- [INFO] Building jar: /sys_apps_01/jenkins/workspace/xyz-profile-0.0.3-SNAPSHOT.jar```
- ```mvn deploy``` I am getting below logs :
- ```[DEBUG] isUp2date: false (Destination /sys_apps_01/jenkins/workspace/xyz-profile-0.0.3-SNAPSHOT.jar not found.)
- [INFO] Building jar: /sys_apps_01/jenkins/workspace/xyz-profile-0.0.3-SNAPSHOT.jar```
- Can anyone help me to understand,why its rebuilding again while deploy ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement