version:99.0-does-not-exist
来源:互联网 发布:程序员代码面试指南 编辑:程序博客网 时间:2024/06/03 01:37
1.作用
有时候maven根据jar包的依赖,会要求classpath中必须包含某个jar,但是我们又不需要这个jar(因为添加了会有冲突)。比如其他jar要求使用common-logging但是本项目需要使用jcl-over-slf4j
这个使用就可以使用一个空的common-logging来欺骗maven,就是告诉它项目里已经有了common-logging。那么这个空的common-logging就可以以99.0-does-not-exist作为version
2.使用
(1)添加仓库
<repositories> <repository> <id>Version99</id> <name>Version 99 Does Not Exist Maven repository</name> <layout>default</layout> <url>http://no-commons-logging.zapto.org/mvn2</url> </repository> </repositories>(2)添加依赖
<dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>99.0-does-not-exist</version> </dependency>
0 0
- version:99.0-does-not-exist
- Version 1.8 of project facet java does not exist.
- Maven系列之99.0-does-not-exist
- DocumentRoot does not exist
- mapreduce_shuffle does not exist
- @Scripts “does not exist”
- 'resourceFile' does not exist.
- react-native init DemoApp --version 0.44.3 解决 CFBundleIdentifier", Does Not Exist
- relation "hibernate_sequence" does not exist
- ERROR: column "..." does not exist
- column '_id' does not exist
- Resource '/servers' does not exist
- ICONS_SCALABLE_DC.MK does not exist
- httpd DocumentRoot does not exist
- “Concurrent Stack” Does Not Exist
- column '_id' does not exist
- role 'PLUSTRACE' does not exist
- Resource '/servers' does not exist
- Ubuntu14.04 安装Firefox flash插件
- 结构体大小与sizeof
- android custom viewgroups 性能分析
- DE算法---查分进化
- POJ 3069 Saruman's Army
- version:99.0-does-not-exist
- 二叉树的性质极其二叉树的构建、各种遍历以及深度宽度的求解
- CocoaPods使用异常及处理方式
- mysql数据库调优转载。
- GestureDetector类及其用法
- 网站测试工具
- Mac OS靠谱 AndroidStudio 及 IntelliJ 常用快捷键, 经本地验证!
- MyEclipse中配置struts.xml自动提示
- IOS自动布局之Autoresizing