Maven in Maven dependencies relies on projects that cannot be packaged and errors that occur. Description: Dependent projects for Project-dao packaged projects for Project-service are all dependent on project-parent.
[INFO] Scanning for projects ...
[INFO]
[INFO]------------------------------------------------------------------------
[INFO] Building Project-service 0.0.1-snapshot
[INFO]------------------------------------------------------------------------
[INFO]------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]------------------------------------------------------------------------
[INFO] Total time:0.507s
[INFO] Finished At:thu 09:45:55 CST 2014
[INFO] Final memory:4m/15m
[INFO]------------------------------------------------------------------------
[ERROR] Failed to execute goal in Project Project-service:could not resolve dependencies for project com.newhero.project:project- service:jar:0.0.1-snapshot:failed to collect dependencies for [Com.newhero.project:project-dao:jar:0.0.1-snapshot ( Compile?)]: Failed to read artifact descriptor for com.newhero.project:project-dao:jar:0.0.1-snapshot:could not find art Ifact Com.newhero.project:project-parent:pom:0.0.1-snapshot [Help 1]
[ERROR]
[ERROR] 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]
[ERROR] For more information on the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Solution: Need to put the parent project, that is, Project-parent engineering first install, and then try to pack project-service, no, then look at the description of the error, find the last project to describe the statement, Install it so that you can pack the Project-service.
Maven Install dependencies package failed