|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved. |
| 4 | + The Universal Permissive License (UPL), Version 1.0 |
| 5 | +--> |
| 6 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 7 | + <modelVersion>4.0.0</modelVersion> |
| 8 | + |
| 9 | + <artifactId>weblogic-deploy-system-test</artifactId> |
| 10 | + <packaging>pom</packaging> |
| 11 | + |
| 12 | + <parent> |
| 13 | + <artifactId>weblogic-deploy</artifactId> |
| 14 | + <groupId>com.oracle.weblogic.lifecycle</groupId> |
| 15 | + <version>1.4.1-SNAPSHOT</version> |
| 16 | + <relativePath>../pom.xml</relativePath> |
| 17 | + </parent> |
| 18 | + |
| 19 | + <properties> |
| 20 | + <mw_home>${env.ORACLE_HOME}</mw_home> |
| 21 | + </properties> |
| 22 | + |
| 23 | + <dependencies> |
| 24 | + <dependency> |
| 25 | + <groupId>junit</groupId> |
| 26 | + <artifactId>junit</artifactId> |
| 27 | + <scope>test</scope> |
| 28 | + </dependency> |
| 29 | + <dependency> |
| 30 | + <groupId>com.google.guava</groupId> |
| 31 | + <artifactId>guava</artifactId> |
| 32 | + <scope>test</scope> |
| 33 | + </dependency> |
| 34 | + <dependency> |
| 35 | + <groupId>commons-io</groupId> |
| 36 | + <artifactId>commons-io</artifactId> |
| 37 | + <version>2.6</version> |
| 38 | + <scope>test</scope> |
| 39 | + </dependency> |
| 40 | + </dependencies> |
| 41 | + |
| 42 | + <build> |
| 43 | + <plugins> |
| 44 | + <plugin> |
| 45 | + <groupId>org.apache.maven.plugins</groupId> |
| 46 | + <artifactId>maven-compiler-plugin</artifactId> |
| 47 | + <executions> |
| 48 | + <execution> |
| 49 | + <id>test-compile</id> |
| 50 | + <phase>test-compile</phase> |
| 51 | + <goals> |
| 52 | + <goal>testCompile</goal> |
| 53 | + </goals> |
| 54 | + <configuration> |
| 55 | + </configuration> |
| 56 | + </execution> |
| 57 | + </executions> |
| 58 | + </plugin> |
| 59 | + <plugin> |
| 60 | + <groupId>org.apache.maven.plugins</groupId> |
| 61 | + <artifactId>maven-resources-plugin</artifactId> |
| 62 | + <executions> |
| 63 | + <execution> |
| 64 | + <id>test-resources</id> |
| 65 | + <phase>process-test-resources</phase> |
| 66 | + <goals> |
| 67 | + <goal>testResources</goal> |
| 68 | + </goals> |
| 69 | + </execution> |
| 70 | + </executions> |
| 71 | + </plugin> |
| 72 | + <plugin> |
| 73 | + <groupId>org.apache.maven.plugins</groupId> |
| 74 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 75 | + <version>3.0.0-M3</version> |
| 76 | + <configuration> |
| 77 | + <encoding>UTF-8</encoding> |
| 78 | + <failIfNoTests>false</failIfNoTests> |
| 79 | + <argLine> |
| 80 | + -Xmx1024m -XX:MaxPermSize=256m |
| 81 | + </argLine> |
| 82 | + <systemProperties> |
| 83 | + <property> |
| 84 | + <name>wdtversion</name> |
| 85 | + <value>${project.version}</value> |
| 86 | + </property> |
| 87 | + <property> |
| 88 | + <name>MW_HOME</name> |
| 89 | + <value>${mw_home}</value> |
| 90 | + </property> |
| 91 | + </systemProperties> |
| 92 | + </configuration> |
| 93 | + <executions> |
| 94 | + <execution> |
| 95 | + <id>integration-tests</id> |
| 96 | + <goals> |
| 97 | + <goal>integration-test</goal> |
| 98 | + <goal>verify</goal> |
| 99 | + </goals> |
| 100 | + <phase>integration-test</phase> |
| 101 | + <configuration> |
| 102 | + <systemPropertyVariables> |
| 103 | + <java.util.logging.SimpleFormatter.format>%1$tm-%1$td-%1$tY %1$tH:%1$tM:%1$tS %4$-6s %2$s %5$s%6$s%n</java.util.logging.SimpleFormatter.format> |
| 104 | + </systemPropertyVariables> |
| 105 | + <trimStackTrace>false</trimStackTrace> |
| 106 | + </configuration> |
| 107 | + </execution> |
| 108 | + </executions> |
| 109 | + </plugin> |
| 110 | + <plugin> |
| 111 | + <groupId>org.apache.maven.plugins</groupId> |
| 112 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 113 | + <executions> |
| 114 | + <execution> |
| 115 | + <id>enforce-build-environment</id> |
| 116 | + <goals> |
| 117 | + <goal>enforce</goal> |
| 118 | + </goals> |
| 119 | + <configuration> |
| 120 | + <rules> |
| 121 | + <requireProperty> |
| 122 | + <property>mw_home</property> |
| 123 | + <message> |
| 124 | + You must set the mw_home System property to point to the Oracle Home directory where WebLogic is installed. Or, set ORACLE_HOME environment variable. |
| 125 | + </message> |
| 126 | + </requireProperty> |
| 127 | + </rules> |
| 128 | + </configuration> |
| 129 | + </execution> |
| 130 | + </executions> |
| 131 | + </plugin> |
| 132 | + </plugins> |
| 133 | + </build> |
| 134 | +</project> |
0 commit comments