Eclipse 没有从中央 Maven 仓库下载插件

Eclipse is not downloading plugin from central maven repo

我正在尝试使用 M2E 在 Eclipse 中使用 maven-jaxrpc-plugin 创建 JAX-RPC web 服务客户端。这是来自 pom.xml

的相应片段
<pluginManagement>
        <plugins>
            <plugin>
                <groupId>net.sf.jaxrpc-maven</groupId>
                <artifactId>maven-jaxrpc-plugin</artifactId>
                <version>0.3</version>
                <executions>
                    <execution>
                        <id>jax-rpc-scoring-client</id>
                        <phase>install</phase>
                        <goals>
                            <goal>wscompile</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <config>${project.basedir}/config.xml</config>
                    <operation>gen:client</operation>
                    <mapping>${project.build.outputDirectory}/META-INF/jaxrpc-mapping.xml</mapping>
                    <nd>${project.build.outputDirectory}/META-INF/wsdl</nd>
                    <d>${project.build.directory}/generated-classes/jaxrpc</d>
                    <keep>true</keep>
                    <verbose>true</verbose>
                </configuration>
            </plugin>
        </plugins>
</pluginManagement>

<plugins>
    <plugin>
        <groupId>net.sf.jaxrpc-maven</groupId>
        <artifactId>maven-jaxrpc-plugin</artifactId>
    </plugin>
</plugins>

但是当我 right click -> maven -> install

我收到以下错误。

Plugin net.sf.jaxrpc-maven:maven-jaxrpc-plugin:0.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for net.sf.jaxrpc-maven:maven-jaxrpc-plugin:jar:0.3: Failure to find net.sf.jaxrpc-maven:maven-jaxrpc-plugin:pom:0.3 in http://fid-nexus.organization.com/ETCB/nexus/content/groups/fid/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]

我检查了我的组织关系,但没有插件。但是,maven 不应该回退并从中央仓库下载它吗?在我的m2settings.xml中是这样配置的,如下图。

                 <pluginRepository>
                    <id>central</id>
                    <url>http://repo.maven.apache.org/maven2</url>
                    <releases>
                            <enabled>true</enabled>
                    </releases>
                    <snapshots>
                            <enabled>true</enabled>
                    </snapshots>
                </pluginRepository>

我什至尝试在 Maven 存储库视图中对中央存储库进行右键单击更新,但这没有帮助。我真的为此挠头:(

这个特定的库不存在于中央 Maven 存储库中,也不存在于任何公开可用的存储库中。它是未发布的代码,因此,无论您如何配置 POM 或 Eclipse,都无法下载它。

此库的源代码存在于此处 (https://github.com/anomen-s/maven-jaxrpc-plugin)。

这个项目希望用户克隆它的 Git 存储库并在本地构建它,这会将它的工件放在本地 Maven 缓存中(即 ~/.m2/repository)。执行此操作后,它将可用于您的项目。

有关如何构建它的说明在项目的 Readme.md 文件中。