Advertisement
Guest User

Untitled

a guest
Jun 30th, 2015
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. <plugin>
  2. <artifactId>exec-maven-plugin</artifactId>
  3. <groupId>org.codehaus.mojo</groupId>
  4. <executions>
  5. <execution><!-- Run our version calculation script -->
  6. <id>Copy to Application Server</id>
  7. <phase>generate-sources</phase>
  8. <goals>
  9. <goal>exec</goal>
  10. </goals>
  11. <configuration>
  12. <executable>${basedir}/copy-to-appserver.sh</executable>
  13. </configuration>
  14. </execution>
  15. </executions>
  16. </plugin>
  17.  
  18. scp /home/user/.m2/repository/com/wolf/apix/1.0/apix-1.0.war user@srv-web:/opt/wildfly-8.2.0.Final/standalone/deployments/apix.war
  19.  
  20. <phase>deploy</phase>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement