缺少github-maven插件工件



工具:

Apache Maven 3.0.3(r1075438;2011-02-28 12:31:09-0500(Maven主页:/usr/share/maven Java版本:1.6.0_43,供应商:Apple股份有限公司Java主页:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home默认区域设置:en_US,平台编码:MacRoman操作系统名称:"mac OSx",版本:"10.8.3",拱形:"x86_64",系列:"mac">

我按照文档中的指定设置了settings.xml和pom.xml,然后运行命令:

mvn clean install ghDownloads:上传

但是抛出了以下错误:

在当前项目和中找不到前缀为"ghDownloads"的插件插件组。。。

在那之后,我在公司的Nexus存储库中查找,但我找不到那个工件。ghDownloads驻留在哪里?

我只需要在pom.xml中放入以下内容:

        <plugin>
            <groupId>com.github.github</groupId>
            <artifactId>downloads-maven-plugin</artifactId>
            <version>0.5</version>
            <configuration>
                <description>${project.version} release of ${project.name}</description>
                <override>true</override>
                <includeAttached>true</includeAttached>
            </configuration>
        </plugin>

最新更新