maven deploy异常:创建blob时出错:找不到(404)

dkqlctbz  于 2021-06-26  发布在  Java
关注(0)|答案(0)|浏览(229)

关闭。这个问题需要细节或清晰。它目前不接受答案。
**想改进这个问题吗?**通过编辑这个帖子来添加细节并澄清问题。

三天前关门了。
改进这个问题
我有网站maven插件的问题。最近部署工作正常,但现在它给出了一个错误(
我使用的是maven 3.6,settings.xml文件位置是c:\user\serg.m2
异常屏幕
我的pom.xml

<modelVersion>4.0.0</modelVersion>
<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.4.1</version>
    <relativePath/>
</parent>
<groupId>com.javastream</groupId>
<artifactId>bitrix24-java</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>bitrix24-java</name>
<description>bitrix24 java API</description>

<properties>
    <java.version>1.8</java.version>
    <github.global.server>github</github.global.server>
</properties>

<distributionManagement>
    <repository>
        <id>internal.repo</id>
        <name>Temporary Staging Repository</name>
        <url>file://${project.build.directory}/mvn-repo</url>
    </repository>
</distributionManagement>

<dependencies>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter</artifactId>
    </dependency>

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-test</artifactId>
        <scope>test</scope>
    </dependency>
</dependencies>

<build>
    <plugins>
        <plugin>
            <artifactId>maven-deploy-plugin</artifactId>
            <version>2.8.2</version>
            <configuration>
                <altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>
            </configuration>
        </plugin>
        <plugin>
            <groupId>com.github.github</groupId>
            <artifactId>site-maven-plugin</artifactId>
            <version>0.12</version>
            <configuration>
                <message>Maven artifacts for ${project.version}</message>
                <noJekyll>true</noJekyll>
                <outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>
                <branch>refs/heads/mvn-repo</branch>
                <includes><include>**/*</include></includes>
                <repositoryName>bitrix24-java</repositoryName>
                <repositoryOwner>JavaStream</repositoryOwner>
            </configuration>
            <executions>
                <execution>
                    <goals>
                        <goal>site</goal>
                    </goals>
                    <phase>deploy</phase>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>

我曾试图解决这个问题,但没有结果。也许github改变了身份验证过程?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题