Farrukh Najmi
2007-08-29 22:55:40 UTC
Dear colleagues,
I added <distributionManagement> to my project's pom.xml using scp and
wagon-ssh-external. The project uses war packaging.
When I run "mvn deploy" it successfully deploys my project's war file.
However, when I run "mvn deploy:deploy" it gives the following:
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' -->
[DEBUG] (f) artifact = com.xxx:yyy:war:1.0-SNAPSHOT
[DEBUG] (f) attachedArtifacts = []
[DEBUG] (f) deploymentRepository = [xxx-repository] -> scp://xxx.net/....
[DEBUG] (s) localRepository = [local] -> file:///home/najmi/.m2/repository
[DEBUG] (f) packaging = war
[DEBUG] (f) pomFile = /home/najmi/.../pom.xml
[DEBUG] (f) updateReleaseInfo = false
[DEBUG] -- end configuration --
[INFO] [deploy:deploy]
altDeploymentRepository = null
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The packaging for this project did not assign a file to the build
artifact
[INFO] ------------------------------------------------------------------
What am I missing in my pom.xml?
I added <distributionManagement> to my project's pom.xml using scp and
wagon-ssh-external. The project uses war packaging.
When I run "mvn deploy" it successfully deploys my project's war file.
However, when I run "mvn deploy:deploy" it gives the following:
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' -->
[DEBUG] (f) artifact = com.xxx:yyy:war:1.0-SNAPSHOT
[DEBUG] (f) attachedArtifacts = []
[DEBUG] (f) deploymentRepository = [xxx-repository] -> scp://xxx.net/....
[DEBUG] (s) localRepository = [local] -> file:///home/najmi/.m2/repository
[DEBUG] (f) packaging = war
[DEBUG] (f) pomFile = /home/najmi/.../pom.xml
[DEBUG] (f) updateReleaseInfo = false
[DEBUG] -- end configuration --
[INFO] [deploy:deploy]
altDeploymentRepository = null
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The packaging for this project did not assign a file to the build
artifact
[INFO] ------------------------------------------------------------------
What am I missing in my pom.xml?
--
Regards,
Farrukh
Web: http://www.wellfleetsoftware.com
Regards,
Farrukh
Web: http://www.wellfleetsoftware.com