Skip to content

Commit c83c1c3

Browse files
committed
removing tests and keeping sample clean
1 parent 028fd63 commit c83c1c3

File tree

3 files changed

+16
-183
lines changed

3 files changed

+16
-183
lines changed

pom.xml

Lines changed: 16 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -3,58 +3,23 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>org.javaee7.sample</groupId>
6-
<artifactId>helloworld</artifactId>
6+
<artifactId>javaee7-simple-sample</artifactId>
77
<version>1.0-SNAPSHOT</version>
88
<packaging>war</packaging>
9-
<name>helloworld</name>
9+
<name>javaee7-simple-sample</name>
1010
<properties>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12-
<version.arquillian_core>1.1.5.Final</version.arquillian_core>
1312
</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>
2513
<dependencies>
2614
<dependency>
2715
<groupId>javax</groupId>
2816
<artifactId>javaee-api</artifactId>
2917
<version>7.0</version>
3018
<scope>provided</scope>
3119
</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>
5520
</dependencies>
5621
<build>
57-
<finalName>helloworld</finalName>
22+
<finalName>javaee7-simple-sample</finalName>
5823
<plugins>
5924
<plugin>
6025
<artifactId>maven-compiler-plugin</artifactId>
@@ -71,59 +36,19 @@
7136
<failOnMissingWebXml>false</failOnMissingWebXml>
7237
</configuration>
7338
</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>
7452
</plugins>
7553
</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>
12954
</project>

src/test/java/org/javaee7/sample/PersonTest.java

Lines changed: 0 additions & 77 deletions
This file was deleted.

src/test/resources/arquillian.xml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)