1

I am trying to push zip file using mvn deploy command. The command I am using is:

mvn clean -s settings.xml \
      package deploy:deploy-file \
      -Dfile=${ARTIFACT_ID}-${VERSION}.zip \
      -Durl=${NEXUSURL}/repository/maven-${PKGREPO} \
      -DrepositoryId=nexus-${PKGREPO} -DpomFile=pom.xml \
      -DskipTests -Dpitest.execution.skip=true -Ddependency-check.skip=true

but I can find .jar file instead of zip?

halfer
  • 19,824
  • 17
  • 99
  • 186
Chintamani
  • 1,076
  • 7
  • 23
  • 47

1 Answers1

1

Able to resolve after adding -Dpackage=zip.

halfer
  • 19,824
  • 17
  • 99
  • 186
Chintamani
  • 1,076
  • 7
  • 23
  • 47