What is the difference between maven dependencies org.apache.commons:commons-io and commons-io:commons-io?

前端 未结 3 1386
既然无缘
既然无缘 2020-12-03 13:53

Maven repositories contain these two dependencies: org.apache.commons:commons-io:1.3.2 and commons-io:commons-io:1.3.2. What is the difference and which one I should be usin

3条回答
  •  隐瞒了意图╮
    2020-12-03 14:52

    The two dependencies look the same. I would prefer to use commons-io:commons-io, cause the pom of org.apache.commons:commons-io:1.3.2 is wrong (wrong groupId!)

    The artifacts located at this position: http://repo1.maven.org/maven2/org/apache/commons/ are newer in date than the others.

提交回复
热议问题