Невозможно загрузить mojo 'org.jfrog.buil dinfo: artifactory-maven-plugin: 2.6.1: publi sh' в плагине 'org.jfrog.buildinfo: artifactory-maven-plugin' - PullRequest
0 голосов
/ 01 мая 2020

Я пытаюсь создать код, используя maven, и затем развернуть его на артефакте, используя подключаемый модуль артефакта maven.

Это конфигурация, которую я использовал:

<plugin>
    <groupId>org.jfrog.buildinfo</groupId>
    <artifactId>artifactory-maven-plugin</artifactId>
    <version>2.6.1</version>
    <inherited>false</inherited>
    <executions>
        <execution>
            <id>build-info</id>
            <goals>
                <goal>publish</goal>
            </goals>
            <configuration>
                <deployProperties>
                    <gradle>awesome</gradle>
                </deployProperties>
                <publisher>
                    <contextUrl>xxxxxxxxxxxxxxxx</contextUrl>
                    <username>xxxxxxxxxxxxxxxxx</username>
                    <password>xxxxxxxxxxxxxxxxx</password>
                    <repoKey>libs-release-local</repoKey>
                    <snapshotRepoKey>libs-snapshot-local</snapshotRepoKey>
                </publisher>
            </configuration>
        </execution>
    </executions>
</plugin> 

, где я настраиваю детали требуется загрузить встроенный код.

Когда я выполняю: mvn deploy

Я получаю сообщение об ошибке:

Internal error in the plugin manager executing goal 'org.jfrog.buildinfo:
artifactory-maven-plugin:2.6.1:publish': Unable to load the mojo 'org.jfrog.buil
dinfo:artifactory-maven-plugin:2.6.1:publish' in the plugin 'org.jfrog.buildinfo
:artifactory-maven-plugin'. A required class is missing: org/apache/maven/Abstra
ctMavenLifecycleParticipant
org.apache.maven.AbstractMavenLifecycleParticipant

Я опробовал его с помощью artifactory-maven-plugin /2.2.1 и столкнулся с той же проблемой. Как мне решить эту проблему?

...