I'm new to nexus. using nexus 3. I managed to created and push docker images into nexus. Now I would like to upload simple files into nexus.
To which repository type should I push file to? (I managed to upload via GUI into "maven-release" repository) What is the command to upload file from Linux machine?
I tried variations of this command but failed:
curl -v -u MyUser:ThePassword --upload-file /tmp/LIAV2/pinokyo http://NEXUSIP:8081/repository/maven-releases/aa/bb/cc
I also tried maven command, and failed. E.G:
mvn deploy:deploy-file -DgroupId=aa \
-DartifactId=bb \
-Dversion=cc \
-Dpackaging=jar \
-Dfile=foo.jar \
-DgeneratePom=true \
-DrepositoryId=my-repo \
-Durl=http://NEXUSIP:8081/repository/maven-releases/
This is how the file, loaded from gui, looks like
and third question, can I see the content of a file uploaded? My final goal is load a *.war file, but I'd like to know if I can see content
Thanks in advance :-)