osscameroon / js-generator

Generates JavaScript from HTML
https://osscameroon.github.io/js-generator/
MIT License
18 stars 14 forks source link

Fresh environment cannot start `jsgenerator-api` #259

Closed SalathielGenese closed 10 months ago

SalathielGenese commented 10 months ago

Environment:

# From project root
$ mvn -v
Unable to find the root directory. Create a .mvn directory in the root directory or add the root="true" attribute on the root project's model to identify it.
Apache Maven 4.0.0-alpha-7 (bf699a388cc04b8e4088226ba09a403b68de6b7b)
Maven home: /home/salathiel/.local/opt/apache-maven-4.0.0-alpha-7
Java version: 20.0.2, vendor: Oracle Corporation, runtime: /home/salathiel/.local/opt/graalvm-jdk-20.0.2+9.1
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "6.2.0-31-generic", arch: "amd64", family: "unix"

How to reproduce?

# From project root
$ mvn clean
$ mvn --projects jsgenerator-api spring-boot:run
[INFO] Scanning for projects...
[INFO] 
[INFO] -------------------------------------------< com.osscameroon:jsgenerator-api >--------------------------------------------
[INFO] Building jsgenerator-api 0.0.1-SNAPSHOT
[INFO]   from jsgenerator-api/pom.xml
[INFO] ---------------------------------------------------------[ jar ]----------------------------------------------------------
[INFO] 
[INFO] >>> spring-boot:2.7.3:run (default-cli) > test-compile @ jsgenerator-api >>>
[INFO] --------------------------------------------------------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] --------------------------------------------------------------------------------------------------------------------------
[INFO] Total time:  0.907 s
[INFO] Finished at: 2023-09-03T06:34:53+02:00
[INFO] --------------------------------------------------------------------------------------------------------------------------
[ERROR] Failed to execute goal on project jsgenerator-api: Could not resolve dependencies for project com.osscameroon:jsgenerator-api:jar:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.osscameroon:jsgenerator-slim-api:jar:0.0.1-SNAPSHOT (absent), com.osscameroon:jsgenerator-core:jar:0.0.1-SNAPSHOT (absent): Could not find artifact com.osscameroon:jsgenerator-slim-api:jar:0.0.1-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 verbose output
[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