|
12 | 12 | <description>Spring Boot WildFly Deployment Test</description>
|
13 | 13 | <properties>
|
14 | 14 | <main.basedir>${basedir}/../../..</main.basedir>
|
15 |
| - <wildfly.version>9.0.2.Final</wildfly.version> |
16 |
| - <cargo.container.id>wildfly9x</cargo.container.id> |
| 15 | + <wildfly.version>12.0.0.Final</wildfly.version> |
| 16 | + <cargo.container.id>wildfly12x</cargo.container.id> |
17 | 17 | <cargo.container.url>http://download.jboss.org/wildfly/${wildfly.version}/wildfly-${wildfly.version}.zip
|
18 | 18 | </cargo.container.url>
|
19 | 19 | </properties>
|
|
43 | 43 | <scope>test</scope>
|
44 | 44 | </dependency>
|
45 | 45 | </dependencies>
|
46 |
| - <profiles> |
47 |
| - <profile> |
48 |
| - <id>jdk8</id> |
49 |
| - <activation> |
50 |
| - <jdk>1.8</jdk> |
51 |
| - </activation> |
52 |
| - <build> |
53 |
| - <plugins> |
54 |
| - <plugin> |
55 |
| - <groupId>org.codehaus.mojo</groupId> |
56 |
| - <artifactId>build-helper-maven-plugin</artifactId> |
57 |
| - <executions> |
58 |
| - <execution> |
59 |
| - <id>reserve-network-port</id> |
60 |
| - <goals> |
61 |
| - <goal>reserve-network-port</goal> |
62 |
| - </goals> |
63 |
| - <phase>process-resources</phase> |
64 |
| - <configuration> |
65 |
| - <portNames> |
66 |
| - <portName>appserver.port</portName> |
67 |
| - <portName>appserver.ajp.port</portName> |
68 |
| - <portName>appserver.transaction.port</portName> |
69 |
| - </portNames> |
70 |
| - </configuration> |
71 |
| - </execution> |
72 |
| - </executions> |
73 |
| - </plugin> |
74 |
| - <plugin> |
75 |
| - <groupId>org.codehaus.cargo</groupId> |
76 |
| - <artifactId>cargo-maven2-plugin</artifactId> |
| 46 | + <build> |
| 47 | + <plugins> |
| 48 | + <plugin> |
| 49 | + <groupId>org.codehaus.mojo</groupId> |
| 50 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 51 | + <executions> |
| 52 | + <execution> |
| 53 | + <id>reserve-network-port</id> |
| 54 | + <goals> |
| 55 | + <goal>reserve-network-port</goal> |
| 56 | + </goals> |
| 57 | + <phase>process-resources</phase> |
77 | 58 | <configuration>
|
78 |
| - <configuration> |
79 |
| - <properties> |
80 |
| - <cargo.servlet.port>${appserver.port}</cargo.servlet.port> |
81 |
| - <cargo.jboss.ajp.port>${appserver.ajp.port}</cargo.jboss.ajp.port> |
82 |
| - <cargo.jboss.transaction.statusManager.port> |
83 |
| - ${appserver.transaction.port} |
84 |
| - </cargo.jboss.transaction.statusManager.port> |
85 |
| - <cargo.jboss.configuration>standalone-full</cargo.jboss.configuration> |
86 |
| - </properties> |
87 |
| - </configuration> |
| 59 | + <portNames> |
| 60 | + <portName>appserver.port</portName> |
| 61 | + <portName>appserver.ajp.port</portName> |
| 62 | + <portName>appserver.transaction.port</portName> |
| 63 | + </portNames> |
88 | 64 | </configuration>
|
89 |
| - </plugin> |
90 |
| - <plugin> |
91 |
| - <groupId>org.apache.maven.plugins</groupId> |
92 |
| - <artifactId>maven-failsafe-plugin</artifactId> |
93 |
| - <configuration> |
94 |
| - <systemPropertyVariables> |
95 |
| - <port>${appserver.port}</port> |
96 |
| - </systemPropertyVariables> |
97 |
| - </configuration> |
98 |
| - </plugin> |
99 |
| - </plugins> |
100 |
| - </build> |
101 |
| - </profile> |
102 |
| - </profiles> |
| 65 | + </execution> |
| 66 | + </executions> |
| 67 | + </plugin> |
| 68 | + <plugin> |
| 69 | + <groupId>org.codehaus.cargo</groupId> |
| 70 | + <artifactId>cargo-maven2-plugin</artifactId> |
| 71 | + <configuration> |
| 72 | + <configuration> |
| 73 | + <properties> |
| 74 | + <cargo.servlet.port>${appserver.port}</cargo.servlet.port> |
| 75 | + <cargo.jboss.ajp.port>${appserver.ajp.port}</cargo.jboss.ajp.port> |
| 76 | + <cargo.jboss.transaction.statusManager.port> |
| 77 | + ${appserver.transaction.port} |
| 78 | + </cargo.jboss.transaction.statusManager.port> |
| 79 | + <cargo.jboss.configuration>standalone-full</cargo.jboss.configuration> |
| 80 | + </properties> |
| 81 | + </configuration> |
| 82 | + </configuration> |
| 83 | + </plugin> |
| 84 | + <plugin> |
| 85 | + <groupId>org.apache.maven.plugins</groupId> |
| 86 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 87 | + <configuration> |
| 88 | + <systemPropertyVariables> |
| 89 | + <port>${appserver.port}</port> |
| 90 | + </systemPropertyVariables> |
| 91 | + </configuration> |
| 92 | + </plugin> |
| 93 | + </plugins> |
| 94 | + </build> |
103 | 95 | </project>
|
0 commit comments