Skip to content

BUILD FAILURE #2

@thonglorais

Description

@thonglorais

After executing "mvn clean install" the following error appears:

pi@rspi4:~/Downloads/AisCoverage $ mvn clean install
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< dk.dma.ais:ais-coverage >-----------------------
[INFO] Building AIS coverage analyzer 0.2-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from osshr-staging: https://oss.sonatype.org/content/repositories/snapshots/dk/dma/enav/enav-model/0.6-SNAPSHOT/maven-metadata.xml
Downloading from osshr-staging: https://oss.sonatype.org/content/repositories/snapshots/dk/dma/enav/enav-model/0.6-SNAPSHOT/enav-model-0.6-SNAPSHOT.pom
[WARNING] The POM for dk.dma.enav:enav-model:jar:0.6-SNAPSHOT is missing, no dependency information available
Downloading from osshr-staging: https://oss.sonatype.org/content/repositories/snapshots/dk/dma/commons/dma-commons-util/0.5-SNAPSHOT/maven-metadata.xml
Downloading from osshr-staging: https://oss.sonatype.org/content/repositories/snapshots/dk/dma/commons/dma-commons-util/0.5-SNAPSHOT/dma-commons-util-0.5-SNAPSHOT.pom
[WARNING] The POM for dk.dma.commons:dma-commons-util:jar:0.5-SNAPSHOT is missing, no dependency information available
Downloading from osshr-staging: https://oss.sonatype.org/content/repositories/snapshots/dk/dma/enav/enav-util/0.6-SNAPSHOT/maven-metadata.xml
Downloading from osshr-staging: https://oss.sonatype.org/content/repositories/snapshots/dk/dma/enav/enav-util/0.6-SNAPSHOT/enav-util-0.6-SNAPSHOT.pom
[WARNING] The POM for dk.dma.enav:enav-util:jar:0.6-SNAPSHOT is missing, no dependency information available
Downloading from osshr-staging: https://oss.sonatype.org/content/repositories/snapshots/org/mongodb/mongo-java-driver/2.11.0/mongo-java-driver-2.11.0.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/mongodb/mongo-java-driver/2.11.0/mongo-java-driver-2.11.0.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/mongodb/mongo-java-driver/2.11.0/mongo-java-driver-2.11.0.pom (869 B at 3.1 kB/s)
Downloading from osshr-staging: https://oss.sonatype.org/content/repositories/snapshots/dk/dma/commons/dma-commons-util/0.5-SNAPSHOT/dma-commons-util-0.5-SNAPSHOT.jar
Downloading from osshr-staging: https://oss.sonatype.org/content/repositories/snapshots/org/mongodb/mongo-java-driver/2.11.0/mongo-java-driver-2.11.0.jar
Downloading from osshr-staging: https://oss.sonatype.org/content/repositories/snapshots/dk/dma/enav/enav-util/0.6-SNAPSHOT/enav-util-0.6-SNAPSHOT.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/mongodb/mongo-java-driver/2.11.0/mongo-java-driver-2.11.0.jar
Downloaded from central: https://repo.maven.apache.org/maven2/org/mongodb/mongo-java-driver/2.11.0/mongo-java-driver-2.11.0.jar (417 kB at 637 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.526 s
[INFO] Finished at: 2020-10-18T16:49:16+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ais-coverage: Could not resolve dependencies for project dk.dma.ais:ais-coverage:jar:0.2-SNAPSHOT: The following artifacts could not be resolved: dk.dma.commons:dma-commons-util:jar:0.5-SNAPSHOT, dk.dma.enav:enav-util:jar:0.6-SNAPSHOT: Could not find artifact dk.dma.commons:dma-commons-util:jar:0.5-SNAPSHOT in osshr-staging (https://oss.sonatype.org/content/repositories/snapshots) -> [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

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