8000 mvn clean package error · Issue #1 · PacktPublishing/Learn-Java-17-Programming · GitHub
[go: up one dir, main page]

Skip to content
mvn clean package error #1
Open
@kirmiziorman

Description

@kirmiziorman

Hi, I've followed your instructions exactly, but when I get to page 22 and run mvn clean package I get the following error:

[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------< com.packt.learnjava:examples >--------------------
[INFO] Building examples 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.packt.learnjava:database:jar:1.0-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ---------------
5923
---------------------------------------------------------
[INFO] Total time:  0.245 s
[INFO] Finished at: 2022-11-26T21:25:58Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project examples: Could not resolve dependencies for project com.packt.learnjava:examples:jar:1.0-SNAPSHOT: Could not find artifact com.packt.learnjava:database:jar:1.0-SNAPSHOT -> [Help 1]
[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.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

I've don't know what's going on here and it's preventing me from progressing with the book. Do you know how I can fix this?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0