准备研究cas
,从https://github.com/Jasig/cas/克隆4.1.x
分支代码到本地,并使用eclipse
和maven
构建,但在构建过程中,发现有不少依赖在中央仓库中找不到,也尝试过从http://maven.oschina.net/上去找,一样没有找到,为此我还自己上传了几个,比如:
<dependency>
<groupId>com.github.coova</groupId>
<artifactId>jradius-core</artifactId>
<version>1.1.5</version>
</dependency>
但后来发现,有些依赖甚至搜索不到(公司网速不给力,找得比较费劲),我想此问题应该不只我一个人遇到,我在下面贴出找不到的依赖,有解决办法的请贴出答案,谢谢~
cas-server-support-radius/pom.xml
<dependency>
<groupId>com.github.coova</groupId>
<artifactId>jradius</artifactId>
<version>${radius.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
<exclusion>
<artifactId>commons-collections</artifactId>
<groupId>commons-collections</groupId>
</exclusion>
</exclusions>
</dependency>
cas-server-support-saml/pom.xml
<dependency>
<groupId>net.shibboleth.idp</groupId>
<artifactId>idp-profile-spring</artifactId>
<version>${opensaml.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
</exclusion>
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</exclusion>
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
</exclusion>
</exclusions>
</dependency>
cas-server-support-spnego/pom.xml
<dependency>
<groupId>org.samba.jcifs</groupId>
<artifactId>jcifs-ext</artifactId>
<version>${jcifs.ext.version}</version>
</dependency>
应该可以单独找到这几个依赖的jar包,下载下来后,再导入到你的本地仓库中。