File tree Expand file tree Collapse file tree 6 files changed +64
-3
lines changed Expand file tree Collapse file tree 6 files changed +64
-3
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ jobs:
28
28
gpg-passphrase : MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
29
29
30
30
- name : Build with Maven
31
- run : mvn -B -ntp clean package -DskipTests=true -Pjar
31
+ run : mvn -B -ntp clean package -DskipTests=true -Pjar-trip
32
32
33
33
- name : Publish to Apache Maven Central
34
- run : mvn deploy -DskipTests=true -Pjar
34
+ run : mvn deploy -DskipTests=true -Pjar-trip
35
35
env :
36
36
MAVEN_USERNAME : ${{ secrets.MAVEN_OSSRH_USERNAME }}
37
37
MAVEN_CENTRAL_TOKEN : ${{ secrets.MAVEN_OSSRH_TOKEN }}
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ code-coverage/
5
5
! .mvn /wrapper /maven-wrapper.jar
6
6
! ** /src /main /** /target /
7
7
! ** /src /test /** /target /
8
+ arex-storage-jar
8
9
9
10
# ## STS ###
10
11
.apt_generated
Original file line number Diff line number Diff line change 54
54
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
55
55
</properties >
56
56
57
+ <profiles >
58
+ <profile >
59
+ <build >
60
+ <finalName >${artifactId} </finalName >
61
+ </build >
62
+ <id >jar</id >
63
+ <properties >
64
+ <packagingType >jar</packagingType >
65
+ </properties >
66
+ </profile >
67
+ </profiles >
68
+
57
69
58
70
</project >
Original file line number Diff line number Diff line change 10
10
<version >1.0.40</version >
11
11
</parent >
12
12
13
+ <profiles >
14
+ <profile >
15
+ <build >
16
+ <finalName >${artifactId} </finalName >
17
+ </build >
18
+ <id >jar</id >
19
+ <properties >
20
+ <packagingType >jar</packagingType >
21
+ </properties >
22
+ </profile >
23
+ </profiles >
24
+
13
25
</project >
Original file line number Diff line number Diff line change 122
122
<version >1.0.40</version >
123
123
</parent >
124
124
125
+ <profiles >
126
+ <profile >
127
+ <build >
128
+ <finalName >${artifactId} </finalName >
129
+ <plugins >
130
+ <plugin >
131
+ <artifactId >maven-compiler-plugin</artifactId >
132
+ <groupId >org.apache.maven.plugins</groupId >
133
+ </plugin >
134
+ <plugin >
135
+ <version >${spring.boot.version} </version >
136
+ <artifactId >spring-boot-maven-plugin</artifactId >
137
+ <configuration >
138
+ <includeSystemScope >true</includeSystemScope >
139
+ <mainClass >com.arextest.storage.web.boot.WebSpringBootServletInitializer</mainClass >
140
+ <outputDirectory >../arex-storage-jar</outputDirectory >
141
+ </configuration >
142
+ <executions >
143
+ <execution >
144
+ <goals >
145
+ <goal >repackage</goal >
146
+ </goals >
147
+ <phase >package</phase >
148
+ </execution >
149
+ </executions >
150
+ <groupId >org.springframework.boot</groupId >
151
+ </plugin >
152
+ </plugins >
153
+ </build >
154
+ <id >jar</id >
155
+ <properties >
156
+ <packagingType >jar</packagingType >
157
+ </properties >
158
+ </profile >
159
+ </profiles >
160
+
125
161
</project >
Original file line number Diff line number Diff line change 308
308
</resource >
309
309
</resources >
310
310
</build >
311
- <id >jar</id >
311
+ <id >jar-trip </id >
312
312
<properties >
313
313
<packagingType >jar</packagingType >
314
314
<releases .repo>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
You can’t perform that action at this time.
0 commit comments