xml - How to deploy zip file to Nexus repository via Maven -


i have zip file want deploy nexus repository. created pom.xml file , settings.xml file this. able upload nexus seems deployed jar file

when put in <packaging>zip</packaging> element, maven doesn't recognize it. how can accomplish goal of deploying zip file nexus? appreciated.

contents of directory: 1. content.zip 2. pom file 3. settings file

pom.xml:

<project>     <modelversion>4.0.0</modelversion>     <groupid>com.company.ct.ty16.archive</groupid>     <artifactid>contentzip</artifactid>     <version>0.0.1-snapshot</version>     <name>deploy-zip-file</name>     <description>deploy zipped content file on jenkins nexus</description>     ...     ...     ...     </project> 

note: not using maven build content.zip file, upload it

i think can use mvn deploy file - https://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -