--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/6597d2fc-a60d-4888-b2a5-77d35aa15b4c%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
Brian,Thank you for the information. I have used two ways to upload the file, both of which rename the files. I have used the following1) mvn deploy-file - which I understand from you would rename the file2) Nexus Gui (Artifact upload tab )
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/0635b2b6-c387-4f66-bfd9-25f736af2e50%40glists.sonatype.com.
I would strongly suggest AGAINST doing this. The repository will essentially contain artifacts that are NOT reachable by Maven or any other dependency resolution system for a Maven repositor implemented in other build systems.
This essentially means that you are treating a Maven repository like a file storage with random file naming and are throwing away any opportunity to use the files from a build system.
Only a hand crafted download to the specific file using a curl, wget or something similar will be able to download the artifact. In turn you are invalidating the Maven repository since it will contain folders that are (from the Maven formats point of view) essentially empty.
I would suggest to instead stick to the Maven format and either refactor your build system setup to rename the referenced file or implement a renaming there.
If you REALLY have to use a specific structure... don't use a Maven repository format. Instead use a site repository and do whatever you like (its essentially free form).
manfred