Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <version>2.16</version>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.0</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.6</version>
- <configuration>
- <classifier>${profile.id}</classifier>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-eclipse-plugin</artifactId>
- <configuration>
- <wtpversion>2.0</wtpversion>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.16</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <executions>
- <execution>
- <id>perform-it</id>
- <goals>
- <goal>integration-test</goal>
- </goals>
- <configuration>
- <systemProperties>
- <property>
- <name>servlet.port</name>
- <value>${servlet.port}</value>
- </property>
- <property>
- <name>hostname</name>
- <value>${hostname}</value>
- </property>
- </systemProperties>
- </configuration>
- </execution>
- <execution>
- <id>verify-it</id>
- <goals>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-war-to-server</id>
- <phase>install</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" />
- <scp file="${project.basedir}/target/${war.warName}.war" todir="${scp.finalDir}" trust="true" failonerror="true" />
- <if>
- <equals arg1="${redemarrage}" arg2="true" />
- <then>
- <sshexec host="${ip.envt}" username="xx" password="xx" trust="true" command="/home/xx/deploy/deploy-package-war.sh" />
- </then>
- </if>
- </tasks>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>ant</groupId>
- <artifactId>ant-jsch</artifactId>
- <version>1.6.5</version>
- </dependency>
- <dependency>
- <groupId>com.jcraft</groupId>
- <artifactId>jsch</artifactId>
- <version>0.1.42</version>
- </dependency>
- <dependency>
- <groupId>ant-contrib</groupId>
- <artifactId>ant-contrib</artifactId>
- <version>20020829</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>fr.husta.maven.plugin</groupId>
- <artifactId>mantis-maven-plugin</artifactId>
- <version>0.1</version>
- <dependencies>
- <dependency>
- <groupId>biz.futureware.mantis</groupId>
- <artifactId>mantis-axis-soap-client</artifactId>
- <version>1.2.9</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- <extensions>
- </extensions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement