File tree 2 files changed +9
-37
lines changed
native-image/include-metadata
2 files changed +9
-37
lines changed Original file line number Diff line number Diff line change 86
86
<plugins >
87
87
<plugin >
88
88
<groupId >org.apache.maven.plugins</groupId >
89
- <artifactId >maven-surefire-plugin</artifactId >
90
- <version >3.0.0-M5</version >
91
- </plugin >
92
- <plugin >
93
- <groupId >org.apache.maven.plugins</groupId >
94
- <artifactId >maven-compiler-plugin</artifactId >
95
- <version >3.11.0</version >
96
- <configuration >
97
- <fork >true</fork >
98
- </configuration >
99
- </plugin >
100
- <plugin >
101
- <groupId >org.apache.maven.plugins</groupId >
102
- <artifactId >maven-jar-plugin</artifactId >
103
- <version >3.3.0</version >
89
+ <artifactId >maven-assembly-plugin</artifactId >
90
+ <version >3.7.0</version >
104
91
<configuration >
92
+ <descriptorRefs >
93
+ <descriptorRef >jar-with-dependencies</descriptorRef >
94
+ </descriptorRefs >
105
95
<archive >
106
96
<manifest >
107
- <addClasspath >true</addClasspath >
108
97
<mainClass >${mainClass} </mainClass >
109
98
</manifest >
110
99
</archive >
111
100
</configuration >
112
- </plugin >
113
- <plugin >
114
- <groupId >org.codehaus.mojo</groupId >
115
- <artifactId >exec-maven-plugin</artifactId >
116
- <version >3.1.1</version >
117
101
<executions >
118
102
<execution >
119
- <id >java</id >
103
+ <id >assemble-all</id >
104
+ <phase >package</phase >
120
105
<goals >
121
- <goal >java </goal >
106
+ <goal >single </goal >
122
107
</goals >
123
- <configuration >
124
- <mainClass >${mainClass} </mainClass >
125
- </configuration >
126
- </execution >
127
- <execution >
128
- <id >native</id >
129
- <goals >
130
- <goal >exec</goal >
131
- </goals >
132
- <configuration >
133
- <executable >${project.build.directory} /${imageName} </executable >
134
- <workingDirectory >${project.build.directory} </workingDirectory >
135
- </configuration >
136
108
</execution >
137
109
</executions >
138
110
</plugin >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ set -ex
10
10
# With Tracing Agent
11
11
./mvnw clean
12
12
./mvnw -Pnative -DskipTests -DskipNativeBuild=true package exec:exec@java-agent
13
- ./mvnw -Pnative -DskipTests package exec:exec@native
13
+ ./mvnw -Pnative -DskipTests package
14
14
15
15
# # Run Gradle Project
16
16
# Default Configuration
You can’t perform that action at this time.
0 commit comments