我刚刚重复执行了一次以上命令,没有发现问题,请看日志:
❯ ./gradlew clean build -x check
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :api:compileJava
/Users/johnniang/workspaces/halo-dev/halo/api/src/main/java/run/halo/app/extension/Unstructured.java:69: warning: This field does not exist, or would have been excluded anyway.
@EqualsAndHashCode(exclude = "version")
^
Note: /Users/johnniang/workspaces/halo-dev/halo/api/src/main/java/run/halo/app/extension/Unstructured.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
> Task :api:delombok
/Users/johnniang/workspaces/halo-dev/halo/api/src/main/java/run/halo/app/extension/Unstructured.java:69: warning: This field does not exist, or would have been excluded anyway.
@EqualsAndHashCode(exclude = "version")
^
> Task :api:javadoc
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/extension/AbstractExtension.java:25: warning: no comment
public AbstractExtension() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/extension/AbstractExtension.java:62: warning: no comment
protected boolean canEqual(final Object other) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/extension/ExtensionOperator.java:20: warning: no comment
default String getApiVersion() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/extension/ExtensionOperator.java:34: warning: no comment
default String getKind() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/extension/ExtensionOperator.java:45: warning: no comment
MetadataOperator getMetadata();
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/extension/ExtensionOperator.java:47: warning: no comment
void setApiVersion(String apiVersion);
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/extension/ExtensionOperator.java:49: warning: no comment
void setKind(String kind);
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/extension/ExtensionOperator.java:51: warning: no comment
void setMetadata(MetadataOperator metadata);
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AnnotationSetting.java:12: warning: no comment
public class AnnotationSetting extends AbstractExtension {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AnnotationSetting.java:19: warning: no comment
public static class AnnotationSettingSpec {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AnnotationSetting.java:14: warning: no comment
public static final String KIND = "AnnotationSetting";
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AnnotationSetting.java:13: warning: no comment
public static final String TARGET_REF_LABEL = "halo.run/target-ref";
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AnnotationSetting.java:80: warning: no comment
public AnnotationSetting() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AnnotationSetting.java:83: warning: no comment
public AnnotationSettingSpec getSpec() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AnnotationSetting.java:87: warning: no comment
public void setSpec(final AnnotationSettingSpec spec) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AnnotationSetting.java:25: warning: no comment
public AnnotationSettingSpec() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AnnotationSetting.java:59: warning: no comment
protected boolean canEqual(final Object other) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AnnotationSetting.java:32: warning: no comment
public List<Object> getFormSchema() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AnnotationSetting.java:28: warning: no comment
public GroupKind getTargetRef() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AnnotationSetting.java:40: warning: no comment
public void setFormSchema(final List<Object> formSchema) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AnnotationSetting.java:36: warning: no comment
public void setTargetRef(final GroupKind targetRef) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:12: warning: no comment
public class Attachment extends AbstractExtension {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:19: warning: no comment
public static class AttachmentSpec {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:156: warning: no comment
public static class AttachmentStatus {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:13: warning: no comment
public static final String KIND = "Attachment";
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:206: warning: no comment
public Attachment() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:209: warning: no comment
public AttachmentSpec getSpec() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:213: warning: no comment
public AttachmentStatus getStatus() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:217: warning: no comment
public void setSpec(final AttachmentSpec spec) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:221: warning: no comment
public void setStatus(final AttachmentStatus status) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:35: warning: no comment
public AttachmentSpec() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:124: warning: no comment
protected boolean canEqual(final Object other) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:38: warning: no comment
public String getDisplayName() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:42: warning: no comment
public String getGroupName() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:54: warning: no comment
public String getMediaType() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:50: warning: no comment
public String getOwnerName() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:46: warning: no comment
public String getPolicyName() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:58: warning: no comment
public Long getSize() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:62: warning: no comment
public Set<String> getTags() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:66: warning: no comment
public void setDisplayName(final String displayName) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:70: warning: no comment
public void setGroupName(final String groupName) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:82: warning: no comment
public void setMediaType(final String mediaType) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:78: warning: no comment
public void setOwnerName(final String ownerName) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:74: warning: no comment
public void setPolicyName(final String policyName) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:86: warning: no comment
public void setSize(final Long size) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:90: warning: no comment
public void setTags(final Set<String> tags) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:164: warning: no comment
public AttachmentStatus() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:187: warning: no comment
protected boolean canEqual(final Object other) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:167: warning: no comment
public String getPermalink() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/Attachment.java:171: warning: no comment
public void setPermalink(final String permalink) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/endpoint/AttachmentHandler.java:12: warning: no comment
public interface AttachmentHandler extends ExtensionPoint {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/endpoint/AttachmentHandler.java:66: warning: no comment
interface DeleteContext {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/endpoint/AttachmentHandler.java:56: warning: no comment
interface UploadContext {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/endpoint/AttachmentHandler.java:16: warning: no comment
Mono<Attachment> delete(DeleteContext context);
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/endpoint/AttachmentHandler.java:14: warning: no comment
Mono<Attachment> upload(UploadContext context);
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/endpoint/AttachmentHandler.java:67: warning: no comment
Attachment attachment();
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/endpoint/AttachmentHandler.java:71: warning: no comment
ConfigMap configMap();
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/endpoint/AttachmentHandler.java:69: warning: no comment
Policy policy();
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/endpoint/AttachmentHandler.java:62: warning: no comment
ConfigMap configMap();
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/endpoint/AttachmentHandler.java:58: warning: no comment
FilePart file();
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/attachment/endpoint/AttachmentHandler.java:60: warning: no comment
Policy policy();
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:23: warning: no comment
public static class AuthProviderSpec {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:261: warning: no comment
public static class ConfigMapRef {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:199: warning: no comment
public static class SettingRef {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:17: warning: no comment
public static final String AUTH_BINDING_LABEL = "auth.halo.run/auth-binding";
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:18: warning: no comment
public static final String PRIVILEGED_LABEL = "auth.halo.run/privileged";
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:307: warning: no comment
public AuthProvider() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:310: warning: no comment
public AuthProviderSpec getSpec() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:314: warning: no comment
public void setSpec(final AuthProviderSpec spec) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:39: warning: no comment
public AuthProviderSpec() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:161: warning: no comment
protected boolean canEqual(final Object other) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:62: warning: no comment
public String getAuthenticationUrl() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:66: warning: no comment
public String getBindingUrl() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:78: warning: no comment
public ConfigMapRef getConfigMapRef() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:46: warning: no comment
public String getDescription() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:42: warning: no comment
public String getDisplayName() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:58: warning: no comment
public String getHelpPage() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:50: warning: no comment
public String getLogo() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:74: warning: no comment
public SettingRef getSettingRef() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:70: warning: no comment
public String getUnbindUrl() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:54: warning: no comment
public String getWebsite() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:102: warning: no comment
public void setAuthenticationUrl(final String authenticationUrl) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:106: warning: no comment
public void setBindingUrl(final String bindingUrl) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:118: warning: no comment
public void setConfigMapRef(final ConfigMapRef configMapRef) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:86: warning: no comment
public void setDescription(final String description) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:82: warning: no comment
public void setDisplayName(final String displayName) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:98: warning: no comment
public void setHelpPage(final String helpPage) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:90: warning: no comment
public void setLogo(final String logo) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:114: warning: no comment
public void setSettingRef(final SettingRef settingRef) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:110: warning: no comment
public void setUnbindUrl(final String unbindUrl) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:94: warning: no comment
public void setWebsite(final String website) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:265: warning: no comment
public ConfigMapRef() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:288: warning: no comment
protected boolean canEqual(final Object other) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:268: warning: no comment
public String getName() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:272: warning: no comment
public void setName(final String name) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:205: warning: no comment
public SettingRef() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:239: warning: no comment
protected boolean canEqual(final Object other) {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:212: warning: no comment
public String getGroup() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:208: warning: no comment
public String getName() {
^
/Users/johnniang/workspaces/halo-dev/halo/api/build/generated/sources/delombok/java/main/run/halo/app/core/extension/AuthProvider.java:220: warning: no comment
public void setGroup(final String group) {
^
100 warnings
> Task :application:compileJava
Note: /Users/johnniang/workspaces/halo-dev/halo/application/src/main/java/run/halo/app/plugin/SpringExtensionFactory.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
BUILD SUCCESSFUL in 25s
25 actionable tasks: 18 executed, 7 up-to-date
建议提供完整的日志,以及你当前的开发环境,如系统版本,JDK 版本。