I have some maven artifacts on bintray new for our current release that need adding to JCenter before they can be synced from BinTray to Maven Central. (We have other artifacts already in place)
However some of these artifacts are throwing errors when trying to add to JCenter that I don't agree with :-)
For example JAR file is corrupted. A binary file (jar, aar, wat, apk) should be part of the package. Could not validate jar file. Package should include sources as part of the package.
This particular jar looks ok for me. I download from BinTray (in case it was indeed corrupted on the upload) * It's entirely readable - not corrupted * It includes a regular jar, which has other jars and class files included * It also includes a 'sources' jar and 'javadoc' jar -- which we added a few releases ago when manually syncing to maven central.
The contents of the package on bintray are: ui-chassis-spring-1.3-javadoc.jar ui-chassis-spring-1.3-sources.jar ui-chassis-spring-1.3.jar
This appears to be suitable for maven central. It follows the pattern also documented at https://maven.apache.org/plugins/maven-deploy-plugin/examples/deploying-sources-javadoc.html
I did see a prior question opened where the resolution was to include sources in the main jar, but I disagree with this approach. Normally sources are download (for example by an IDE such as IntelliJ) on demand
Is there any way to get more detailed information? Is the validation on JCenter incorrect?
[ Ref: Github issue - https://github.com/odpi/egeria/issues/2499 ]