Advertisement
Guest User

Untitled

a guest
Jan 25th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.30 KB | None | 0 0
  1. <pluginManagement>
  2. <plugins>
  3. <plugin>
  4. <groupId>org.apache.maven.plugins</groupId>
  5. <artifactId>maven-failsafe-plugin</artifactId>
  6. <version>2.16</version>
  7. </plugin>
  8.  
  9. </plugins>
  10. </pluginManagement>
  11.  
  12.  
  13. <plugins>
  14.  
  15. <plugin>
  16. <groupId>org.apache.maven.plugins</groupId>
  17. <artifactId>maven-compiler-plugin</artifactId>
  18. <version>3.0</version>
  19. <configuration>
  20. <source>1.6</source>
  21. <target>1.6</target>
  22. </configuration>
  23. </plugin>
  24. <plugin>
  25. <groupId>org.apache.maven.plugins</groupId>
  26. <artifactId>maven-war-plugin</artifactId>
  27. <version>2.6</version>
  28. <configuration>
  29. <classifier>${profile.id}</classifier>
  30. </configuration>
  31. </plugin>
  32. <plugin>
  33. <groupId>org.apache.maven.plugins</groupId>
  34. <artifactId>maven-eclipse-plugin</artifactId>
  35. <configuration>
  36. <wtpversion>2.0</wtpversion>
  37. </configuration>
  38. </plugin>
  39. <plugin>
  40. <groupId>org.apache.maven.plugins</groupId>
  41. <artifactId>maven-surefire-plugin</artifactId>
  42. <version>2.16</version>
  43. </plugin>
  44.  
  45. <plugin>
  46. <groupId>org.apache.maven.plugins</groupId>
  47. <artifactId>maven-failsafe-plugin</artifactId>
  48. <executions>
  49. <execution>
  50. <id>perform-it</id>
  51. <goals>
  52. <goal>integration-test</goal>
  53. </goals>
  54. <configuration>
  55. <systemProperties>
  56. <property>
  57. <name>servlet.port</name>
  58. <value>${servlet.port}</value>
  59. </property>
  60. <property>
  61. <name>hostname</name>
  62. <value>${hostname}</value>
  63. </property>
  64. </systemProperties>
  65. </configuration>
  66. </execution>
  67. <execution>
  68. <id>verify-it</id>
  69. <goals>
  70. <goal>verify</goal>
  71. </goals>
  72. </execution>
  73. </executions>
  74. </plugin>
  75.  
  76. <plugin>
  77. <artifactId>maven-antrun-plugin</artifactId>
  78. <executions>
  79. <execution>
  80. <id>copy-war-to-server</id>
  81. <phase>install</phase>
  82. <goals>
  83. <goal>run</goal>
  84. </goals>
  85. <configuration>
  86. <tasks>
  87. <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" />
  88. <scp file="${project.basedir}/target/${war.warName}.war" todir="${scp.finalDir}" trust="true" failonerror="true" />
  89. <if>
  90. <equals arg1="${redemarrage}" arg2="true" />
  91. <then>
  92. <sshexec host="${ip.envt}" username="xx" password="xx" trust="true" command="/home/xx/deploy/deploy-package-war.sh" />
  93. </then>
  94. </if>
  95. </tasks>
  96. </configuration>
  97. </execution>
  98. </executions>
  99. <dependencies>
  100. <dependency>
  101. <groupId>ant</groupId>
  102. <artifactId>ant-jsch</artifactId>
  103. <version>1.6.5</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.jcraft</groupId>
  107. <artifactId>jsch</artifactId>
  108. <version>0.1.42</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>ant-contrib</groupId>
  112. <artifactId>ant-contrib</artifactId>
  113. <version>20020829</version>
  114. </dependency>
  115. </dependencies>
  116. </plugin>
  117.  
  118. <plugin>
  119. <groupId>fr.husta.maven.plugin</groupId>
  120. <artifactId>mantis-maven-plugin</artifactId>
  121. <version>0.1</version>
  122. <dependencies>
  123. <dependency>
  124. <groupId>biz.futureware.mantis</groupId>
  125. <artifactId>mantis-axis-soap-client</artifactId>
  126. <version>1.2.9</version>
  127. </dependency>
  128. </dependencies>
  129. </plugin>
  130. </plugins>
  131.  
  132. <resources>
  133. <resource>
  134. <directory>src/main/resources</directory>
  135. <filtering>true</filtering>
  136. </resource>
  137. </resources>
  138.  
  139. <extensions>
  140. </extensions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement