The Pub repository structure is as follows.
|-.pub/<packageName>.json |----<packagName>/<packageName>-<version>.tar.gz
Note the following:
The index of the packages will be populated under the .pub , each package has its own json file that index the package versions.
The binary of the library is populated under the package folder with a convention of the package name and the package version , for example:
pedentic/pedantic-1.9.1.tar.gz.
Deployment Structure
All deployment of Pub packages into Artifactory must be under the <PACKAGE_NAME>/<PACKAGE_NAME>-
<VERSION>.tar.gz
structure.
If packages are not deployed under this structure, they will not be included in any index file.