Skip to content

Commit c215d91

Browse files
committed
Fix demo pom III
1 parent e178726 commit c215d91

1 file changed

Lines changed: 59 additions & 35 deletions

File tree

  • spring-data-eclipse-store-demo

spring-data-eclipse-store-demo/pom.xml

Lines changed: 59 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
<parent>
88
<groupId>software.xdev</groupId>
9-
<artifactId>template-placeholder-root</artifactId>
10-
<version>1.0.0-SNAPSHOT</version>
9+
<artifactId>spring-data-eclipse-store-root</artifactId>
10+
<version>2.5.2-SNAPSHOT</version>
1111
</parent>
1212

13-
<artifactId>template-placeholder-demo</artifactId>
14-
<version>1.0.0-SNAPSHOT</version>
13+
<artifactId>spring-data-eclipse-store-demo</artifactId>
14+
<version>2.5.2-SNAPSHOT</version>
1515
<packaging>jar</packaging>
1616

1717
<organization>
@@ -20,21 +20,48 @@
2020
</organization>
2121

2222
<properties>
23-
<javaVersion>17</javaVersion>
24-
<maven.compiler.release>${javaVersion}</maven.compiler.release>
25-
26-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
27-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
28-
29-
<mainClass>software.xdev.Application</mainClass>
23+
<mainClass>software.xdev.spring.data.eclipse.store.demo.complex.ComplexDemoApplication</mainClass>
3024
</properties>
3125

3226
<dependencies>
3327
<dependency>
3428
<groupId>software.xdev</groupId>
35-
<artifactId>template-placeholder</artifactId>
29+
<artifactId>spring-data-eclipse-store</artifactId>
3630
<version>${project.version}</version>
3731
</dependency>
32+
<dependency>
33+
<groupId>org.eclipse.store</groupId>
34+
<artifactId>storage-restservice-springboot</artifactId>
35+
</dependency>
36+
<dependency>
37+
<groupId>org.springframework.boot</groupId>
38+
<artifactId>spring-boot-starter-web</artifactId>
39+
</dependency>
40+
41+
<dependency>
42+
<groupId>org.apache.logging.log4j</groupId>
43+
<artifactId>log4j-core</artifactId>
44+
</dependency>
45+
<dependency>
46+
<groupId>org.apache.logging.log4j</groupId>
47+
<artifactId>log4j-slf4j2-impl</artifactId>
48+
</dependency>
49+
<dependency>
50+
<groupId>org.springframework.boot</groupId>
51+
<artifactId>spring-boot-autoconfigure</artifactId>
52+
</dependency>
53+
54+
55+
<dependency>
56+
<groupId>org.junit.jupiter</groupId>
57+
<artifactId>junit-jupiter</artifactId>
58+
<scope>test</scope>
59+
</dependency>
60+
<dependency>
61+
<groupId>org.springframework.boot</groupId>
62+
<artifactId>spring-boot-starter-test</artifactId>
63+
<scope>test</scope>
64+
</dependency>
3865
</dependencies>
3966

4067
<build>
@@ -52,33 +79,30 @@
5279
</compilerArgs>
5380
</configuration>
5481
</plugin>
82+
<plugin>
83+
<groupId>org.springframework.boot</groupId>
84+
<artifactId>spring-boot-maven-plugin</artifactId>
85+
<version>${org.springframework.boot.version}</version>
86+
<configuration>
87+
<mainClass>${mainClass}</mainClass>
88+
<jvmArguments>
89+
--add-opens java.base/java.util=ALL-UNNAMED
90+
--add-opens java.base/java.time=ALL-UNNAMED
91+
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED
92+
</jvmArguments>
93+
</configuration>
94+
</plugin>
5595
<plugin>
5696
<groupId>org.apache.maven.plugins</groupId>
57-
<artifactId>maven-assembly-plugin</artifactId>
58-
<version>3.7.1</version>
97+
<artifactId>maven-surefire-plugin</artifactId>
98+
<version>3.5.2</version>
5999
<configuration>
60-
<archive>
61-
<manifest>
62-
<mainClass>${mainClass}</mainClass>
63-
</manifest>
64-
<manifestEntries>
65-
<Multi-Release>true</Multi-Release>
66-
</manifestEntries>
67-
</archive>
68-
<descriptorRefs>
69-
<descriptorRef>jar-with-dependencies</descriptorRef>
70-
</descriptorRefs>
71-
<appendAssemblyId>false</appendAssemblyId>
100+
<argLine>
101+
--add-opens java.base/java.util=ALL-UNNAMED
102+
--add-opens java.base/java.time=ALL-UNNAMED
103+
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED
104+
</argLine>
72105
</configuration>
73-
<executions>
74-
<execution>
75-
<id>make-assembly</id> <!-- this is used for inheritance merges -->
76-
<phase>package</phase> <!-- bind to the packaging phase -->
77-
<goals>
78-
<goal>single</goal>
79-
</goals>
80-
</execution>
81-
</executions>
82106
</plugin>
83107
</plugins>
84108
</build>

0 commit comments

Comments
 (0)