How to use the file "xxx-bin.tar.gz" depending on maven?

I have code that should work with the shibboleth code base. The manual installation steps that I do are to upload the shibboleth-identityprovider-2.3.5-bin.tar.gz file, then extract it and make some settings and add some jars that I create.

I want to do this in the maven build phase. However, since there is "-bin" in the binary, I don’t know what to specify in my pom.xml to load this file. In my pom I have:

<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> 

However, a dependency check is not performed (presumably because the tar file is called "shibboleth-identityprovider-2.3.5-bin.tar.gz" and not "shibboleth-identityprovier-2.3.5.tar.gz".

I'm not sure what I need to specify in my pom in order to use the corresponding tar file.

+4
source share
1 answer

I had a similar problem.

This link was informative. Hope she helps

+1
source

Source: https://habr.com/ru/post/1395964/


All Articles