We’re getting
" inconsistent module metadata found. Descriptor: .. Errors: bad
module name: expected='lrgmanager' found='DevInfraSDK'
bad version: expected='1.0.7-20160719033645'
found='1.0.0-20160719033645'"
or
"inconsistent module metadata found. Descriptor: com.oracle.emaas.emdi:JSPlugin:1.0.0-20160711090556 Errors: bad module name: expected='OurSDK' found='JSPlugin'"
During investigation, we're found, that downloaded corresponded
pom has wrong/corrupted contest - dependencies points to not
existed version.
It happened with our dependencies and 3rd party as well.
For example:
>
modules-2/files-2.1/org.apache.ant/ant/1.9.4/6d473e8653d952045f550f4ef225a9591b79094a
>
modules-2/files-2.1/org.apache.ant/ant/1.9.4/6d473e8653d952045f550f4ef225a9591b79094a/ant-1.9.4.jar
>
modules-2/files-2.1/org.apache.ant/ant/1.9.4/3f0b3746c0d89c48db6c46503c798a47718e951e
>
modules-2/files-2.1/org.apache.ant/ant/1.9.4/3f0b3746c0d89c48db6c46503c798a47718e951e/ant-1.9.4.pom
>
modules-2/files-2.1/org.apache.ant/ant/1.9.4/a8a1ecb1cc4b99a025fd920a12eb79e3bd7b0842
>
modules-2/files-2.1/org.apache.ant/ant/1.9.4/a8a1ecb1cc4b99a025fd920a12eb79e3bd7b0842/ant-1.9.4.pom
>
> This one is bad one. The checksum is of ant-parent pom.
>
> modules-2/files-2.1/org.apache.ant/ant-parent
> modules-2/files-2.1/org.apache.ant/ant-parent/1.9.4
>
modules-2/files-2.1/org.apache.ant/ant-parent/1.9.4/29eed54c305860d2ffedb9001a3c6c492381085c
>
modules-2/files-2.1/org.apache.ant/ant-parent/1.9.4/29eed54c305860d2ffedb9001a3c6c492381085c/ant-parent-1.9.4.pom
(this one is also corrupted. Pom file is of ant-jsch)
>
modules-2/files-2.1/org.apache.ant/ant-parent/1.9.4/a8a1ecb1cc4b99a025fd920a12eb79e3bd7b0842
>
modules-2/files-2.1/org.apache.ant/ant-parent/1.9.4/a8a1ecb1cc4b99a025fd920a12eb79e3bd7b0842/ant-parent-1.9.4.pom
>
The process is saving the artifact at wrong location. I don't
find any 'org.apache.ant:ant:1.9.4' with checksum
a8a1ecb1cc4b99a025fd920a12eb79e3bd7b0842 in Artifactory. It is
only for ant-parent-1.9.4.pom.
Any advice will be very helpful.