Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 82afbe6

Browse filesBrowse files
author
eugenp
committed
maven cleanup
1 parent 6c062ca commit 82afbe6
Copy full SHA for 82afbe6

File tree

Expand file treeCollapse file tree

3 files changed

+26
-23
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+26
-23
lines changed
Open diff view settings
Collapse file

‎cdi/pom.xml‎

Copy file name to clipboard
+23-23Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
11
<?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">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
54
<modelVersion>4.0.0</modelVersion>
65

76
<groupId>com.baeldung</groupId>
87
<artifactId>cdi</artifactId>
98
<version>1.0-SNAPSHOT</version>
10-
<properties>
11-
<spring.version>4.3.1.RELEASE</spring.version>
12-
</properties>
9+
1310
<dependencies>
14-
<!-- https://mvnrepository.com/artifact/junit/junit -->
15-
<dependency>
16-
<groupId>junit</groupId>
17-
<artifactId>junit</artifactId>
18-
<version>4.12</version>
19-
</dependency>
20-
<!-- https://mvnrepository.com/artifact/org.springframework/spring-core -->
2111
<dependency>
2212
<groupId>org.springframework</groupId>
2313
<artifactId>spring-core</artifactId>
2414
<version>${spring.version}</version>
2515
</dependency>
26-
<!-- https://mvnrepository.com/artifact/org.springframework/spring-context -->
2716
<dependency>
2817
<groupId>org.springframework</groupId>
2918
<artifactId>spring-context</artifactId>
3019
<version>${spring.version}</version>
3120
</dependency>
32-
<!-- https://mvnrepository.com/artifact/org.springframework/spring-test -->
33-
<dependency>
34-
<groupId>org.springframework</groupId>
35-
<artifactId>spring-test</artifactId>
36-
<version>${spring.version}</version>
37-
<scope>test</scope>
38-
</dependency>
39-
<!-- https://mvnrepository.com/artifact/org.aspectj/aspectjweaver -->
21+
4022
<dependency>
4123
<groupId>org.aspectj</groupId>
4224
<artifactId>aspectjweaver</artifactId>
4325
<version>1.8.9</version>
4426
</dependency>
45-
<!-- https://mvnrepository.com/artifact/org.jboss.weld.se/weld-se-core -->
4627
<dependency>
4728
<groupId>org.jboss.weld.se</groupId>
4829
<artifactId>weld-se-core</artifactId>
4930
<version>2.3.5.Final</version>
5031
</dependency>
32+
33+
<dependency>
34+
<groupId>junit</groupId>
35+
<artifactId>junit</artifactId>
36+
<version>4.12</version>
37+
<scope>test</scope>
38+
</dependency>
39+
<dependency>
40+
<groupId>org.springframework</groupId>
41+
<artifactId>spring-test</artifactId>
42+
<version>${spring.version}</version>
43+
<scope>test</scope>
44+
</dependency>
45+
5146
</dependencies>
47+
48+
<properties>
49+
<spring.version>4.3.1.RELEASE</spring.version>
50+
</properties>
51+
5252
</project>
Collapse file

‎cdi/src/test/java/com/baeldung/test/TestInterceptor.java‎

Copy file name to clipboardExpand all lines: cdi/src/test/java/com/baeldung/test/TestInterceptor.java
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ public void givenTheService_whenMethodAndInterceptorExecuted_thenOK() {
3030
SuperService superService = container.select(SuperService.class).get();
3131
String code = "123456";
3232
superService.deliverService(code);
33+
3334
Assert.assertTrue(AuditedInterceptor.calledBefore);
3435
Assert.assertTrue(AuditedInterceptor.calledAfter);
3536
}
37+
3638
}
Collapse file

‎pom.xml‎

Copy file name to clipboardExpand all lines: pom.xml
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<module>apache-cxf</module>
1818
<module>apache-fop</module>
1919
<module>autovalue-tutorial</module>
20+
<module>cdi</module>
2021
<module>core-java</module>
2122
<module>core-java-8</module>
2223
<module>couchbase-sdk-intro</module>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.