|
3 | 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | 5 | <groupId>org.javaee7.sample</groupId> |
6 | | - <artifactId>helloworld</artifactId> |
| 6 | + <artifactId>javaee7-simple-sample</artifactId> |
7 | 7 | <version>1.0-SNAPSHOT</version> |
8 | 8 | <packaging>war</packaging> |
9 | | - <name>helloworld</name> |
| 9 | + <name>javaee7-simple-sample</name> |
10 | 10 | <properties> |
11 | 11 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
12 | | - <version.arquillian_core>1.1.5.Final</version.arquillian_core> |
13 | 12 | </properties> |
14 | | - <dependencyManagement> |
15 | | - <dependencies> |
16 | | - <dependency> |
17 | | - <groupId>org.jboss.arquillian</groupId> |
18 | | - <artifactId>arquillian-bom</artifactId> |
19 | | - <version>${version.arquillian_core}</version> |
20 | | - <type>pom</type> |
21 | | - <scope>import</scope> |
22 | | - </dependency> |
23 | | - </dependencies> |
24 | | - </dependencyManagement> |
25 | 13 | <dependencies> |
26 | 14 | <dependency> |
27 | 15 | <groupId>javax</groupId> |
28 | 16 | <artifactId>javaee-api</artifactId> |
29 | 17 | <version>7.0</version> |
30 | 18 | <scope>provided</scope> |
31 | 19 | </dependency> |
32 | | - <dependency> |
33 | | - <groupId>junit</groupId> |
34 | | - <artifactId>junit</artifactId> |
35 | | - <version>4.10</version> |
36 | | - <scope>test</scope> |
37 | | - </dependency> |
38 | | - <dependency> |
39 | | - <groupId>org.jboss.arquillian.junit</groupId> |
40 | | - <artifactId>arquillian-junit-container</artifactId> |
41 | | - <scope>test</scope> |
42 | | - </dependency> |
43 | | - <dependency> |
44 | | - <groupId>org.jboss.resteasy</groupId> |
45 | | - <artifactId>resteasy-client</artifactId> |
46 | | - <version>3.0.5.Final</version> |
47 | | - <scope>test</scope> |
48 | | - </dependency> |
49 | | - <dependency> |
50 | | - <groupId>org.jboss.resteasy</groupId> |
51 | | - <artifactId>resteasy-jaxb-provider</artifactId> |
52 | | - <version>3.0.5.Final</version> |
53 | | - <scope>test</scope> |
54 | | - </dependency> |
55 | 20 | </dependencies> |
56 | 21 | <build> |
57 | | - <finalName>helloworld</finalName> |
| 22 | + <finalName>javaee7-simple-sample</finalName> |
58 | 23 | <plugins> |
59 | 24 | <plugin> |
60 | 25 | <artifactId>maven-compiler-plugin</artifactId> |
|
71 | 36 | <failOnMissingWebXml>false</failOnMissingWebXml> |
72 | 37 | </configuration> |
73 | 38 | </plugin> |
| 39 | + <plugin> |
| 40 | + <groupId>org.wildfly.plugins</groupId> |
| 41 | + <artifactId>wildfly-maven-plugin</artifactId> |
| 42 | + <version>1.0.0</version> |
| 43 | + <executions> |
| 44 | + <execution> |
| 45 | + <phase>install</phase> |
| 46 | + <goals> |
| 47 | + <goal>deploy</goal> |
| 48 | + </goals> |
| 49 | + </execution> |
| 50 | + </executions> |
| 51 | + </plugin> |
74 | 52 | </plugins> |
75 | 53 | </build> |
76 | | - <profiles> |
77 | | - <profile> |
78 | | - <id>arquillian-wildfly-remote</id> |
79 | | - <activation> |
80 | | - <activeByDefault>true</activeByDefault> |
81 | | - </activation> |
82 | | - <build> |
83 | | - <plugins> |
84 | | - <plugin> |
85 | | - <artifactId>maven-surefire-plugin</artifactId> |
86 | | - <version>2.14.1</version> |
87 | | - <configuration> |
88 | | - <systemPropertyVariables> |
89 | | - <arquillian.launch>arquillian-wildfly-remote</arquillian.launch> |
90 | | - </systemPropertyVariables> |
91 | | - </configuration> |
92 | | - </plugin> |
93 | | - </plugins> |
94 | | - </build> |
95 | | - <dependencies> |
96 | | - <dependency> |
97 | | - <groupId>org.wildfly</groupId> |
98 | | - <artifactId>wildfly-arquillian-container-remote</artifactId> |
99 | | - <version>8.1.0.Final</version> |
100 | | - <scope>test</scope> |
101 | | - </dependency> |
102 | | - </dependencies> |
103 | | - </profile> |
104 | | - <profile> |
105 | | - <id>arquillian-wildfly-openshift</id> |
106 | | - <build> |
107 | | - <plugins> |
108 | | - <plugin> |
109 | | - <artifactId>maven-surefire-plugin</artifactId> |
110 | | - <version>2.14.1</version> |
111 | | - <configuration> |
112 | | - <systemPropertyVariables> |
113 | | - <arquillian.launch>arquillian-wildfly-openshift</arquillian.launch> |
114 | | - </systemPropertyVariables> |
115 | | - </configuration> |
116 | | - </plugin> |
117 | | - </plugins> |
118 | | - </build> |
119 | | - <dependencies> |
120 | | - <dependency> |
121 | | - <groupId>org.jboss.arquillian.container</groupId> |
122 | | - <artifactId>arquillian-openshift</artifactId> |
123 | | - <version>1.0.0.Final-SNAPSHOT</version> |
124 | | - <scope>test</scope> |
125 | | - </dependency> |
126 | | - </dependencies> |
127 | | - </profile> |
128 | | - </profiles> |
129 | 54 | </project> |
0 commit comments