SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <project>
  2.  <build>
  3.         <plugins>
  4.             <plugin>
  5.                 <groupId>org.springframework.boot</groupId>
  6.                 <artifactId>spring-boot-maven-plugin</artifactId>
  7.             </plugin>
  8.         </plugins>
  9.     </build>
  10.     <profiles>
  11.         <profile>
  12.             <id>dev</id>
  13.             <properties>
  14.                 <spring.profile.id>dev</spring.profile.id>
  15.             </properties>
  16.             <dependencies>
  17.                 <dependency>
  18.                     <groupId>org.springframework.boot</groupId>
  19.                     <artifactId>spring-boot-starter-tomcat</artifactId>
  20.                     <scope>provided</scope>
  21.                 </dependency>
  22.             </dependencies>
  23.         </profile>
  24.         <profile>
  25.             <id>prod</id>
  26.             <properties>
  27.                 <spring.profile.id>prod</spring.profile.id>
  28.             </properties>
  29.             <dependencies>
  30.                 <dependency>
  31.                     <groupId>org.springframework.boot</groupId>
  32.                     <artifactId>spring-boot-devtools</artifactId>
  33.                     <version>2.1.6.RELEASE</version>
  34.                 </dependency>
  35.             </dependencies>
  36.         </profile>
  37.     </profiles>
  38.  
  39. </project>
  40.      
  41. [INFO] Building jar: /sys_apps_01/jenkins/workspace/xyz-profile-0.0.3-SNAPSHOT.jar```
  42.  
  43.  
  44. ```mvn deploy``` I am getting below logs :
  45.  
  46. ```[DEBUG] isUp2date: false (Destination /sys_apps_01/jenkins/workspace/xyz-profile-0.0.3-SNAPSHOT.jar not found.)
  47. [INFO] Building jar: /sys_apps_01/jenkins/workspace/xyz-profile-0.0.3-SNAPSHOT.jar```
  48.  
  49. Can anyone help me to understand,why its rebuilding again while deploy ?
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top