1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <parent >
6+ <artifactId >spring-framework-tutorial-parent</artifactId >
7+ <groupId >com.jstobigdata</groupId >
8+ <version >1.0-SNAPSHOT</version >
9+ </parent >
10+ <modelVersion >4.0.0</modelVersion >
11+ <artifactId >spring-aop-01-@Before</artifactId >
12+ <description >Spring AOP - @Before advice example</description >
13+
14+ <dependencies >
15+ <dependency >
16+ <groupId >org.springframework</groupId >
17+ <artifactId >spring-core</artifactId >
18+ </dependency >
19+
20+ <dependency >
21+ <groupId >org.springframework</groupId >
22+ <artifactId >spring-context</artifactId >
23+ </dependency >
24+
25+ <!-- Step-1 Add the dependencies -->
26+ <dependency >
27+ <groupId >org.springframework</groupId >
28+ <artifactId >spring-aop</artifactId >
29+ </dependency >
30+
31+ <dependency >
32+ <groupId >org.aspectj</groupId >
33+ <artifactId >aspectjweaver</artifactId >
34+ </dependency >
35+
36+ <!-- Test Dependencies-->
37+ <dependency >
38+ <groupId >org.junit.jupiter</groupId >
39+ <artifactId >junit-jupiter-api</artifactId >
40+ <scope >test</scope >
41+ </dependency >
42+
43+ <dependency >
44+ <groupId >org.junit.jupiter</groupId >
45+ <artifactId >junit-jupiter-engine</artifactId >
46+ <scope >test</scope >
47+ </dependency >
48+
49+ <dependency >
50+ <groupId >org.springframework</groupId >
51+ <artifactId >spring-test</artifactId >
52+ <scope >test</scope >
53+ </dependency >
54+ </dependencies >
55+
56+ <dependencyManagement >
57+ <dependencies >
58+ <dependency >
59+ <groupId >com.jstobigdata</groupId >
60+ <artifactId >spring-tutorial-boms</artifactId >
61+ <type >pom</type >
62+ <scope >import</scope >
63+ <version >1.0-SNAPSHOT</version >
64+ </dependency >
65+ </dependencies >
66+ </dependencyManagement >
67+
68+ <!-- To get rid of JUnit-5 exception https://stackoverflow.com/questions/36427868/ -->
69+ <build >
70+ <plugins >
71+ <plugin >
72+ <groupId >org.apache.maven.plugins</groupId >
73+ <artifactId >maven-surefire-plugin</artifactId >
74+ <version >3.0.0-M3</version >
75+ </plugin >
76+ </plugins >
77+ </build >
78+ </project >
0 commit comments