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.
Thanks and Regards, Pradeep Kumar
SCJP 1.6, SCWCD 5.0
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.
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.
subject: deploying the content inside the target folder