2

I use Sonatype Nexus Repository Manager 3.5.2 and want to add artifacts to nexus blob store from local folder (where nexus is lockated). I couldn't find solution in Nexus documentation and tryed to find in the Net - unsuccessfully.

Is it possible and how to do this (maybe Nexus has some plugin)?

thx for any help .....

Update: I have found a solution -> see Answers.
kozmo
  • 4,024
  • 3
  • 30
  • 48
  • See here: http://www.sonatype.org/nexus/2017/09/08/uploading-to-nexus-repository-3/? Basically not possible _yet_, but planned/started. – Tome Jan 17 '18 at 13:34
  • @Tom - my question about deploying artifacts from local directory , I saw post: [How to manually deploy artifacts in Nexus Repository Manager OSS 3](https://stackoverflow.com/questions/37543120/how-to-manually-deploy-artifacts-in-nexus-repository-manager-oss-3) – kozmo Jan 17 '18 at 13:40
  • Then this answer applies well: https://stackoverflow.com/a/39757111/2169091 – Tome Jan 17 '18 at 13:47
  • Basically, the idea is that there is no additional option for upload if the JAR is already physically on the Nexus host. – Tome Jan 17 '18 at 13:53
  • Yes, **JAR** is located in a server in some directory and y want to add one to **Nexus** blob ( and Nexus will cash this file). I don't want to make own http-server and refer Nexus to it. – kozmo Jan 17 '18 at 15:42

1 Answers1

0

I have found a temporary solution(I checked Nexus documentation and did not found paragraph about it) => I have shared directory (use Apache httpd) and connected one to created new Nexus proxy repository. Now when I want to add my own artifacts I can upload ones into shared directory in my remote server.

My temporary solution: enter image description here

kozmo
  • 4,024
  • 3
  • 30
  • 48