姬長信(Redy)

java – 未在分配管理元素中的POM或-DaltDep中…


我在部署时遇到问题,这是我收到的错误消息:
[INFO]
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ core ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.296 s
[INFO] Finished at: 2014-11-26T17:05:00+02:00
[INFO] Final Memory: 13M/244M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:
deploy (default-deploy) on project core: Deployment failed: repository element w
as not specified in the POM inside distributionManagement element or in -DaltDep
loymentRepository=id::layout::url parameter -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception

我检查了互联网上的一些资源,但没有一个适合我的情况.我认为它与我的pom.xml有关,所以这里是它的相关部分:


        
              
                    org.apache.maven.plugins
                    maven-compiler-plugin
                    2.3.2
                    
                         1.7
                         1.7
                    
              
        
  

  
        
              repository.springframework.maven.release
              Spring Framework Maven Release Repository
              http://maven.springframework.org/release
        
        
              Appid
              AppName
              http://IPaddress/nexus/content/repositories/Myapps/
        
  

您认为问题可能是什么?提前致谢.