pom打包报错的问题

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]   

[ERROR]   The project com.hupun.crm:crm-common:0.0.1-SNAPSHOT (/Users/fengbin/work_space/crm/crm_maven/crm-dubbo/crm-common/pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM: Could not find artifact com.hupun.crm:crm-dubbo-parent:pom:0.0.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2]

[ERROR] 

[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.

 

 

因为crm-common 的工程中pom.xml中没有配置私服的地址.

然后会找到apache-maven-3.0.3 中的settings-ecrm.xml 中的地址.

所以 在setting-ecrm.xml 中增加 问题解决.

   

   

nexus  

nexus  

http://test.maven.hupun.com:7481/nexus/content/groups/public  

central  

   

default

   

 

  snapshots

  Snapshots

  http://test.maven.hupun.com:7481/nexus/content/repositories/snapshots

 

 

  releases

  Releases

  http://test.maven.hupun.com:7481/nexus/content/repositories/releases

 

 

你可能感兴趣的:(java)