File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ pipeline {
7
7
maven " apache-maven-3.9.9"
8
8
}
9
9
steps {
10
- sh ' mvn package '
10
+ sh ' mvn deploy -Ddeploy-local '
11
11
}
12
12
}
13
13
}
Original file line number Diff line number Diff line change 15
15
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
16
16
<minecraft .version>1.21.1</minecraft .version>
17
17
<github .package.url>${env.GITHUB_MAVEN_URL} </github .package.url>
18
+ <maven .local.dir>${env.MAVEN_DIR} </maven .local.dir>
18
19
</properties >
19
20
20
21
<repositories >
169
170
</repository >
170
171
</distributionManagement >
171
172
</profile >
173
+ <profile >
174
+ <id >deploy-local</id >
175
+ <distributionManagement >
176
+ <repository >
177
+ <id >laven-local</id >
178
+ <url >file://${maven.local.dir} </url >
179
+ </repository >
180
+ </distributionManagement >
181
+ </profile >
172
182
</profiles >
173
183
</project >
You can’t perform that action at this time.
0 commit comments