Hi All,

Basically what I am trying to achieve is to break the default build livecycle 
into two parts:


1.       mvn install.

2.       mvn deploy:deploy.

The first step runs fine. But when I run "mvn deploy:deploy" it gives the 
following error:

[INFO] [deploy:deploy {execution: default-cli}]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The packaging for this project did not assign a file to the build 
artifact
What am I doing wrong?

Please note that when I run "mvn deploy" on my project it successfully deploys 
my project's jar file.

Thanks & Regards,
-Henika

Reply via email to