Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <plugin>
- <artifactId>exec-maven-plugin</artifactId>
- <groupId>org.codehaus.mojo</groupId>
- <executions>
- <execution><!-- Run our version calculation script -->
- <id>Copy to Application Server</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <executable>${basedir}/copy-to-appserver.sh</executable>
- </configuration>
- </execution>
- </executions>
- </plugin>
- 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
- <phase>deploy</phase>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement