• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

deploying the content inside the target folder

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Hi friends,

I have a requirement to upload the artifacts to the internal maven repository. I have used the maven deploy plugin. I am using the maven assembly plugin, to compress some of the files to zip and tar files.
I need to deploy the tar and the zip files to the maven repository. What do i need to upload the files to the maven repository. The packaging of the pom file is set to jar.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Look at the Assembly plugin documentation again, there is a property for assembly:single named attach. What this property does it attach the created file (your zip file) to the project. What this really means is that your zip file is now registered with Maven as an artifact that was built by the build, and the Install and Deploy plugins will then install the zip file (along with the jar file that was built) into the local repository and deploy it to the remote repository.
 
Pradeep Kumar
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I could resolve it by temporarily uploading the artifact to the internal repository. The reason I was not able to download the artifact behind the proxy is that I was using the maven-external-dependency plugin to download from n external url and the plugin is not connection the url through the proxy setting. I guess its a bug in the plugin.


 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic