1+ <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" >
2+ <modelVersion >4.0.0</modelVersion >
3+ <parent >
4+ <groupId >com.baeldung.ejb</groupId >
5+ <artifactId >ejb</artifactId >
6+ <version >1.0-SNAPSHOT</version >
7+ </parent >
8+ <artifactId >ejb-session-beans</artifactId >
9+
10+ <properties >
11+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
12+ <arquillian-bom .version>1.1.12.Final</arquillian-bom .version>
13+ <shrinkwrap-resolver-impl-maven .version>2.2.6</shrinkwrap-resolver-impl-maven .version>
14+ <arquillian-junit-container .version>1.1.12.Final</arquillian-junit-container .version>
15+ <arquillian-glassfish-embedded-3 .1.version>1.0.0.Final</arquillian-glassfish-embedded-3 .1.version>
16+ <junit .version>4.12</junit .version>
17+ <javaee-api .version>7.0</javaee-api .version>
18+ </properties >
19+
20+ <dependencyManagement >
21+ <dependencies >
22+ <dependency >
23+ <groupId >org.jboss.arquillian</groupId >
24+ <artifactId >arquillian-bom</artifactId >
25+ <version >1.1.13.Final</version >
26+ <scope >import</scope >
27+ <type >pom</type >
28+ </dependency >
29+ </dependencies >
30+ </dependencyManagement >
31+
32+ <dependencies >
33+
34+ <dependency >
35+ <groupId >javax</groupId >
36+ <artifactId >javaee-api</artifactId >
37+ <version >${javaee-api.version} </version >
38+ <scope >provided</scope >
39+ </dependency >
40+
41+
42+ <dependency >
43+ <groupId >junit</groupId >
44+ <artifactId >junit</artifactId >
45+ <version >4.12</version >
46+ <scope >test</scope >
47+ </dependency >
48+
49+
50+ <dependency >
51+ <groupId >org.jboss.arquillian.junit</groupId >
52+ <artifactId >arquillian-junit-container</artifactId >
53+ <scope >test</scope >
54+ </dependency >
55+
56+ </dependencies >
57+
58+ <profiles >
59+ <profile >
60+ <id >arquillian-glassfish-embedded</id >
61+ <activation >
62+ <activeByDefault >true</activeByDefault >
63+ </activation >
64+ <dependencies >
65+ <dependency >
66+ <groupId >org.jboss.arquillian.container</groupId >
67+ <artifactId >arquillian-glassfish-embedded-3.1</artifactId >
68+ <version >1.0.0.CR4</version >
69+ <scope >test</scope >
70+ </dependency >
71+ <dependency >
72+ <groupId >org.glassfish.main.extras</groupId >
73+ <artifactId >glassfish-embedded-all</artifactId >
74+ <version >3.1.2</version >
75+ <scope >test</scope >
76+ </dependency >
77+ </dependencies >
78+ </profile >
79+ </profiles >
80+
81+ <build >
82+ <plugins >
83+ <plugin >
84+ <artifactId >maven-compiler-plugin</artifactId >
85+ <version >3.1</version >
86+ <configuration >
87+ <source >1.8</source >
88+ <target >1.8</target >
89+ </configuration >
90+ </plugin >
91+ <plugin >
92+ <artifactId >maven-war-plugin</artifactId >
93+ <version >2.4</version >
94+ <configuration >
95+ <failOnMissingWebXml >false</failOnMissingWebXml >
96+ </configuration >
97+ </plugin >
98+ <plugin >
99+ <artifactId >maven-surefire-plugin</artifactId >
100+ <version >2.17</version >
101+ </plugin >
102+ </plugins >
103+ </build >
104+
105+
106+ </project >
0 commit comments