我如何在Maven依赖项中使用“ xxx-bin.tar.gz”文件?

Sup*_*ngo 5 maven

我有一些需要与shibboleth代码库一起工作的代码。我执行的手动安装步骤是下载shibboleth-identityprovider-2.3.5-bin.tar.gz,然后将其解压缩并进行一些调整并添加一些我构建的jar。

我想在Maven组装阶段做到这一点。但是,由于二进制文件中包含“ -bin”,因此我不知道要在pom.xml中指定什么来下载该文件。在我的pom中,我有:

<dependency>
    <groupId>edu.internet2.middleware</groupId>
    <artifactId>shibboleth-identityprovider</artifactId>
    <version>2.3.5</version>
    <type>tar.gz</type>
    <exclusions>
        <exclusion>
            <artifactId>shibboleth-jce</artifactId>
            <groupId>edu.internet2.middleware</groupId>
        </exclusion>
    </exclusions>
</dependency>
Run Code Online (Sandbox Code Playgroud)

但是,依赖项检查失败(大概是因为tar文件名为“ shibboleth-identityprovider-2.3.5-bin.tar.gz”,而不是“ shibboleth-identityprovier-2.3.5.tar.gz”。

我不确定要使用正确的tar文件需要在pom中指定什么。