I am using jboss server and try to deploy my application in Intellij Idea but unfortunately it is compling successfully but while deploying i am recieving the foolowing error.
[INFO] Total time: 2.637s
[INFO] Finished at: Sat Sep 07 15:45:30 IST 2013
[INFO] Final Memory: 3M/7M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project pinnacle: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please read the following articles:

I have created maven application and my application has 4 modules.