|
40 | 40 | <maven.compiler.target>17</maven.compiler.target>
|
41 | 41 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
42 | 42 |
|
43 |
| - <dubbo.version>3.3.1</dubbo.version> |
44 |
| - <log4j2.version>2.20.0</log4j2.version> |
| 43 | + <dubbo.version>3.3.2</dubbo.version> |
45 | 44 | <junit5.version>5.9.2</junit5.version>
|
46 | 45 | </properties>
|
47 | 46 |
|
|
52 | 51 | <version>${dubbo.version}</version>
|
53 | 52 | </dependency>
|
54 | 53 |
|
55 |
| - <!-- SLF4J API --> |
| 54 | + <!-- Logback Dependency --> |
56 | 55 | <dependency>
|
57 |
| - <groupId>org.slf4j</groupId> |
58 |
| - <artifactId>slf4j-api</artifactId> |
59 |
| - <version>1.7.30</version> |
60 |
| - </dependency> |
61 |
| - <!-- Log4j2 to SLF4J Bridge --> |
62 |
| - <dependency> |
63 |
| - <groupId>org.apache.logging.log4j</groupId> |
64 |
| - <artifactId>log4j-slf4j-impl</artifactId> |
65 |
| - <version>${log4j2.version}</version> |
66 |
| - </dependency> |
67 |
| - <!-- Log4j2 Core --> |
68 |
| - <dependency> |
69 |
| - <groupId>org.apache.logging.log4j</groupId> |
70 |
| - <artifactId>log4j-core</artifactId> |
71 |
| - <version>${log4j2.version}</version> |
72 |
| - </dependency> |
73 |
| - <!-- Log4j2 API --> |
74 |
| - <dependency> |
75 |
| - <groupId>org.apache.logging.log4j</groupId> |
76 |
| - <artifactId>log4j-api</artifactId> |
77 |
| - <version>${log4j2.version}</version> |
| 56 | + <groupId>ch.qos.logback</groupId> |
| 57 | + <artifactId>logback-classic</artifactId> |
| 58 | + <version>1.5.15</version> |
78 | 59 | </dependency>
|
79 | 60 |
|
80 | 61 | <dependency>
|
|
98 | 79 | </dependencies>
|
99 | 80 |
|
100 | 81 | <build>
|
| 82 | + <finalName>app</finalName> |
101 | 83 | <plugins>
|
102 | 84 | <plugin>
|
103 | 85 | <groupId>org.apache.maven.plugins</groupId>
|
|
108 | 90 | </compilerArgs>
|
109 | 91 | </configuration>
|
110 | 92 | </plugin>
|
| 93 | + <plugin> |
| 94 | + <artifactId>maven-assembly-plugin</artifactId> |
| 95 | + <configuration> |
| 96 | + <descriptorRefs> |
| 97 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 98 | + </descriptorRefs> |
| 99 | + <archive> |
| 100 | + <manifest> |
| 101 | + <mainClass>org.apache.dubbo.samples.provider.Application</mainClass> |
| 102 | + </manifest> |
| 103 | + </archive> |
| 104 | + </configuration> |
| 105 | + <executions> |
| 106 | + <execution> |
| 107 | + <id>make-assembly</id> <!-- this is used for inheritance merges --> |
| 108 | + <phase>package</phase> <!-- bind to the packaging phase --> |
| 109 | + <goals> |
| 110 | + <goal>single</goal> |
| 111 | + </goals> |
| 112 | + </execution> |
| 113 | + </executions> |
| 114 | + </plugin> |
111 | 115 | </plugins>
|
112 | 116 | </build>
|
113 | 117 | </project>
|
0 commit comments