Skip to content

Error when building whith maven #1581

Open
@pipa1985

Description

@pipa1985

Hello;
I'm trying to install OpenID Connect on Debian 11.4.0 and Openjdk 11.0.16. When I run the command mvn package I get the error below. I searched on the internet but without success. Can anyone help me to resolve this problem. Thank you.

[INFO] ---------------< org.mitre:openid-connect-server-webapp >---------------
[INFO] Building OpenID Connect Server Webapp 1.3.5-SNAPSHOT [5/7]
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ openid-connect-server-webapp ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven-3) @ openid-connect-server-webapp ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.7:prepare-agent (default) @ openid-connect-server-webapp ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/home/amal/OpenID-Connect-Java-Spring-Server/openid-connect-server-webapp/target/jacoco.exec
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ openid-connect-server-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 30 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ openid-connect-server-webapp ---
[INFO] No sources to compile
[INFO]
[INFO] --- wro4j-maven-plugin:1.10.0:run (default) @ openid-connect-server-webapp ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for MITREid Connect 1.3.5-SNAPSHOT:
[INFO]
[INFO] MITREid Connect .................................... SUCCESS [ 1.006 s]
[INFO] OpenID Connect Common .............................. SUCCESS [ 12.121 s]
[INFO] OpenID Connect Client .............................. SUCCESS [ 8.697 s]
[INFO] OpenID Connect Server Library ...................... SUCCESS [ 11.363 s]
[INFO] OpenID Connect Server Webapp ....................... FAILURE [ 0.279 s]
[INFO] UMA Server Library ................................. SKIPPED
[INFO] UMA Server Webapp .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 33.923 s
[INFO] Finished at: 2022-08-25T11:48:27+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal ro.isdc.wro4j:wro4j-maven-plugin:1.10.0:run (default) on project openid-connect-server-webapp: Execution default of goal ro.isdc.wro4j:wro4j-maven-plugin:1.10.0:run failed: Plugin ro.isdc.wro4j:wro4j-maven-plugin:1.10.0 or one of its dependencies could not be resolved: Failed to collect dependencies for ro.isdc.wro4j:wro4j-maven-plugin:jar:1.10.0 (): Could not resolve version conflict among [ro.isdc.wro4j:wro4j-maven-plugin:jar:1.10.0 -> ro.isdc.wro4j:wro4j-extensions:jar:1.10.0 -> org.webjars.npm:jshint:jar:2.11.0 -> org.webjars.npm:minimatch:jar:[3.0.2,3.1), ro.isdc.wro4j:wro4j-maven-plugin:jar:1.10.0 -> ro.isdc.wro4j:wro4j-extensions:jar:1.10.0 -> org.webjars.npm:jshint:jar:2.11.0 -> org.webjars.npm:cli:jar:[1.0.0,1.1) -> org.webjars.npm:glob:jar:[7.1.1,8) -> org.webjars.npm:minimatch:jar:[3.1.1,4)] -> [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/PluginResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :openid-connect-server-webapp

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