0

currently we are using manual upload through GUI of nexusI have a Java project (which is not a maven project means no POM.xml) and SVN repo and jenkins(using ant script for build) for CI. The build process creating War and Ear files locally in jenkins workspace. I want to upload this EAR to Nexus repository. It doesn't use Maven for builds. And I'd rather not introduce Maven/POM files just to get files into Nexus.

So, what's the best (or any reasonable) way to upload build artifacts to a Nexus repository without Maven?

Ashish
  • 41
  • 6
  • 2
    Possible duplicate of [Upload artifacts to Nexus, without Maven](http://stackoverflow.com/questions/4029532/upload-artifacts-to-nexus-without-maven) – Mark O'Connor Oct 29 '15 at 11:18
  • i have tried ivy:publish and mvn: deploy but NO luck. For both of them its showing access to URL refused by the server: Unauthorized – Ashish Nov 09 '15 at 12:10
  • @MarkO'Connor tried those solution :( – Ashish Nov 09 '15 at 12:12
  • If it's a 401 error then you're using the wrong credentials. – Mark O'Connor Nov 09 '15 at 23:56
  • Refer the Stackoverflow link for answer [Uploading war file to Nexus using jenkins job](http://stackoverflow.com/questions/34669368/uploading-war-file-to-nexus-using-jenkins-job) – Suresh Nov 30 '16 at 02:53

0 Answers0