/
jreleaser.yml
165 lines (154 loc) · 5.97 KB
/
jreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
environment:
properties:
jpackageDir: out/jreleaser/assemble/spring-cli-installer/jpackage
jlinkDir: out/jreleaser/assemble/spring-cli-standalone/jlink/
project:
name: spring-cli
description: Spring CLI improves your productivity when creating new Spring projects or adding functionality to existing projects
longDescription: |
The goal of the Spring CLI is to increase your productivity when creating new
projects and adding functionality to existing projects. It does this by
providing the following high-level features.
The command boot new clones an external project and optionally perform a package
refactoring to your chosen package name. You can also optionally specify the new
project’s group id, artifact id, and version
The command boot add will merge an external project to your current project. It
performs an intelligent merge of project dependencies, plug-ins, annotations,
application configuration files, and refactoring of the external project code
into your current project’s package structure.
User-provided commands provide a user-friendly way to define and execute custom
commands that can perform everyday tasks on your project. With declarative command
definitions living alongside your code, you can easily create new controllers,
add dependencies, or configure files. You can also execute other command-line
applications as needed resembling a client-side GitHub Actions like experience.
vendor: VMware
authors:
- jvalkeal
license: Apache-2.0
links:
homepage: https://spring.io/projects/spring-cli
java:
groupId: org.springframework.cli
version: 17
inceptionYear: 2023
assemble:
javaArchive:
spring-cli:
active: ALWAYS
mainJar:
path: build/libs/{{distributionName}}-{{projectVersion}}.jar
executable:
name: spring
artifacts:
- path: build/completion/bash/spring
transform: completion/bash/spring
- path: build/completion/zsh/_spring
transform: completion/zsh/_spring
jlink:
spring-cli-standalone:
active: ALWAYS
imageName: '{{distributionName}}-{{projectVersion}}'
executable: spring
jdeps:
multiRelease: base
ignoreMissingDeps: true
additionalModuleNames:
- java.desktop
- java.logging
- java.sql
- jdk.crypto.ec
- jdk.compiler
mainJar:
path: 'build/libs/spring-cli-{{projectVersion}}.jar'
artifacts:
- path: build/completion/bash/spring
transform: completion/bash/spring
- path: build/completion/zsh/_spring
transform: completion/zsh/_spring
targetJdks:
- path: 'build/jdks/bellsoft17Linux/jdk-17.0.9'
platform: 'linux-x86_64'
- path: 'build/jdks/bellsoft17Osx/jdk-17.0.9.jdk'
platform: 'osx-x86_64'
- path: 'build/jdks/bellsoft17OsxArm/jdk-17.0.9.jdk'
platform: 'osx-aarch_64'
- path: 'build/jdks/bellsoft17Windows/jdk-17.0.9'
platform: 'windows-x86_64'
jpackage:
spring-cli-installer:
active: ALWAYS
exported: true
jlink: spring-cli-standalone
applicationPackage:
appName: spring
appVersion: '{{projectVersionNumber}}'
mainJar:
path: 'build/libs/{{distributionName}}-{{projectVersion}}.jar'
java:
mainClass: org.springframework.boot.loader.launch.JarLauncher
linux:
types: [deb,rpm]
maintainer: jreleaser@kordamp.org
windows:
types: [msi]
console: true
dirChooser: true
icon: 'src/jreleaser/images/spring-cli.ico'
resourceDir: 'src/jreleaser/jpackage/windows'
platform:
replacements:
aarch_64: aarch64
release:
github:
releaseName: '{{projectVersion}}'
changelog:
enabled: false
distributions:
spring-cli:
type: SINGLE_JAR
artifacts:
- path: build/libs/{{distributionName}}-{{projectVersion}}.jar
spring-cli-standalone:
brew:
active: ALWAYS
formulaName: spring-cli
multiPlatform: true
templateDirectory: src/jreleaser/templates/jlink/brew
repository:
owner: spring-cli-projects
name: homebrew-spring-cli
artifacts:
- path: '{{jlinkDir}}/{{distributionName}}-{{projectVersion}}-linux-x86_64.zip'
transform: '{{distributionName}}/{{distributionName}}-{{projectVersion}}-linux.x86_64.zip'
platform: 'linux-x86_64'
- path: '{{jlinkDir}}/{{distributionName}}-{{projectVersion}}-osx-x86_64.zip'
transform: '{{distributionName}}/{{distributionName}}-{{projectVersion}}-osx.x86_64.zip'
platform: 'osx-x86_64'
- path: '{{jlinkDir}}/{{distributionName}}-{{projectVersion}}-osx-aarch64.zip'
transform: '{{distributionName}}/{{distributionName}}-{{projectVersion}}-osx.aarch64.zip'
platform: 'osx-aarch_64'
- path: '{{jlinkDir}}/{{distributionName}}-{{projectVersion}}-windows-x86_64.zip'
transform: '{{distributionName}}/{{distributionName}}-{{projectVersion}}-windows.x86_64.zip'
platform: 'windows-x86_64'
spring-cli-installer:
type: NATIVE_PACKAGE
winget:
active: RELEASE
continueOnError: true
package:
name: spring-cli
repository:
active: ALWAYS
owner: spring-cli-projects
name: winget-spring-cli
commitMessage: 'spring-cli {{tagName}}'
artifacts:
- path: '{{jpackageDir}}/spring_{{projectVersionNumber}}-1_amd64.deb'
transform: '{{distributionName}}/{{distributionName}}_{{projectVersion}}-1_amd64.deb'
platform: 'linux-x86_64'
- path: '{{jpackageDir}}/spring-{{projectVersionNumber}}-1.x86_64.rpm'
transform: '{{distributionName}}/{{distributionName}}-{{projectVersion}}-1.x86_64.rpm'
platform: 'linux-x86_64'
- path: '{{jpackageDir}}/spring-{{projectVersionNumber}}.msi'
transform: '{{distributionName}}/{{distributionName}}-{{projectVersion}}-windows-x86_64.msi'
platform: 'windows-x86_64'