Giter Club home page Giter Club logo

Comments (4)

danhphan avatar danhphan commented on September 25, 2024

Hi @dhixsingh
I have tried to build this ees project as the guidline. At this step: mvn package, it show this error:

[INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/license-maven-plugin/2.0.0/license-maven-plugin-2.0.0.jar
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/license-maven-plugin/2.0.0/license-maven-plugin-2.0.0.jar (503 KB at 560.5 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Diffusion Model .................................... SUCCESS [03:10 min]
[INFO] io.github.agentsoz:jill-project .................... SUCCESS [04:11 min]
[INFO] io.github.agentsoz:jill ............................ SUCCESS [03:33 min]
[INFO] io.github.agentsoz:jill-examples ................... SUCCESS [ 11.263 s]
[INFO] io.github.agentsoz:jill-extension-template ......... SUCCESS [ 2.875 s]
[INFO] BDI ABM Integration ................................ FAILURE [ 4.485 s]
[INFO] Util ............................................... SKIPPED
[INFO] BDI ABM Integration ................................ SKIPPED
[INFO] ABM JILL Integration ............................... SKIPPED
[INFO] BDI MATSim Integration ............................. SKIPPED
[INFO] Emergency Evacuation Simulator Library ............. SKIPPED
[INFO] Emergency Evacuation Simulator ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:16 min
[INFO] Finished at: 2020-08-13T13:56:42+10:00
[INFO] Final Memory: 65M/4096M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:license-maven-plugin:2.0.0:update-project-license (first) on project bdi-abm-integration: The plugin org.codehaus.mojo:license-maven-plugin:2.0.0 requires Maven version 3.5.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/PluginIncompatibleException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :bdi-abm-integration

The system configuration I use is:
Ubuntu 20.04 (run in Windown 10), java 11, maven 3.3.9
$javac --version
javac 11.0.8
$java --version
openjdk 11.0.8 2020-07-14
OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu120.04)
OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)
$mvn --version
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T03:41:47+11:00)
Maven home: /mnt/c/Program Files/Java/apache-maven-3.3.9
Java version: 11.0.8, vendor: Ubuntu
Java home: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-18362-microsoft", arch: "amd64", family: "unix"

To me the error may stem from different version of maven.
Do you have a suggestion for this?

Thank you for your help.

Danh

from ees.

dhixsingh avatar dhixsingh commented on September 25, 2024

@danhphan you mention that you are using maven 3.3.9, and your error message says

[ERROR] Failed to execute goal org.codehaus.mojo:license-maven-plugin:2.0.0:update-project-license 
(first) on project bdi-abm-integration: The plugin org.codehaus.mojo:license-maven-plugin:2.0.0 
requires Maven version 3.5.4 -> [Help 1]

So yes that would suggest you should update your maven version.

I have also updated the CI script to test on ubuntu-20.04 (with Java 11.0.2 and Maven 3.6.3) and it builds and runs ok (see log).

from ees.

captainnemo2005 avatar captainnemo2005 commented on September 25, 2024

Probably your submodule download has some prob.
Pls delete the folder and start the process again and it will work nicely.
Thanks @dhixsingh for your quick reply

from ees.

danhphan avatar danhphan commented on September 25, 2024

Thanks @dhixsingh and @captainnemo2005

I change to Maven 3.6.3 (java 11 on ubuntu 20.04) and it builds sucessfully now.

Best regards,

Danh

from ees.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.