upload working but not upload all maven artifacts
What happened: When I upload to repository its not upload all artifacts in the download file.
n3dr upload -n http://*** --https=false -u *** -r releases --directory-prefix /home/ubuntu/nexus-repo
I also tried repositoriesV2 --upload and its not upload all artifact as well
Could you run the command with the debug option and check whether there are some errors?
I checked it so many times but there is no error.
this is the one of unuploaded file tree.
gojo └── otmm └── hybris ├── HybrisPCMIntegration │ └── maven-metadata.xml ├── PIMNotificationEventsListener-ear │ └── 1.0.0 │ └── PIMNotificationEventsListener-ear-1.0.0.ear └── PIMNotificationEventsListener-ejb └── 1.0.0 └── PIMNotificationEventsListener-ejb-1.0.0-sources.jar
7 directories, 3 files
Hi
I'm experiencing similar issues of missing artifacts after an upload. What I did:
- Use the
repositoriesV2 --backupcommand to download a 1.7G large Maven repository (BACKUP1) - Use the
uploadcommand to transfer BACKUP1 into a new, empty repository --> new blob is also 1.7G - Use the
repositories --uploadon BACKUP1 to populate another empty repository --> new blob is only 1.4G
After that, I created another repositoriesV2 --backup (BACKUP2) of the second upload that is only 1.4G and compared the list of files. What I observed is:
- all files of type
-sources.jar,.tar.gzand.rpm` went missing - a few other arbitrary
.jarfiles went missing (I can't spot anything suspicious about them)
My impression is that the deprecated upload command is more reliable than the repositories --upload command.
Regards Dominik
It seems that any artifacts (e.g. jar files) are ignored in the upload if a corresponding pom.xml file is missing.