networknt / networknt/light-example-4j
account-management example build issue
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 150
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
I followed the directions for the light-example-4j/eventuate/account-management/ demo. I got the following error. The error was consistent on a new Ubuntu VM as well as a Linux Mint laptop.
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 10 modules...
[INFO] Installing Nexus Staging features:
[INFO] ... total of 10 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Parent POM
[INFO] eventuate-account-common
[INFO] eventuate-account-command
[INFO] eventuate-account-query
[INFO] eventuate-account-e2etest
[INFO] eventuate-account-service
[INFO] eventuate-account-view-service
[INFO] eventuate-customer-service
[INFO] eventuate-customer-view-service
[INFO] eventuate-transaction-service
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Parent POM 0.1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ light-eventuate-account ---
[INFO] Deleting /home/jtang/data/shared/light-4j/light-example-4j/eventuate/account-management/target
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.4.201502262128:prepare-agent (pre-unit-test) @ light-eventuate-account ---
[INFO] surefireArgLine set to -javaagent:/home/jtang/.m2/repository/org/jacoco/org.jacoco.agent/0.7.4.201502262128/org.jacoco.agent-0.7.4.201502262128-runtime.jar=destfile=/home/jtang/data/shared/light-4j/light-example-4j/eventuate/account-management/target/jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.4.201502262128:report (post-unit-test) @ light-eventuate-account ---
[INFO] Skipping JaCoCo execution due to missing execution data file:/home/jtang/data/shared/light-4j/light-example-4j/eventuate/account-management/target/jacoco.exec
[INFO]
[INFO] --- maven-jar-plugin:2.6:test-jar (default) @ light-eventuate-account ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /home/jtang/data/shared/light-4j/light-example-4j/eventuate/account-management/target/light-eventuate-account-0.1.0-tests.jar
[INFO]
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ light-eventuate-account >>>
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.4.201502262128:prepare-agent (pre-unit-test) @ light-eventuate-account ---
[INFO] surefireArgLine set to -javaagent:/home/jtang/.m2/repository/org/jacoco/org.jacoco.agent/0.7.4.201502262128/org.jacoco.agent-0.7.4.201502262128-runtime.jar=destfile=/home/jtang/data/shared/light-4j/light-example-4j/eventuate/account-management/target/jacoco.exec
[INFO]
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ light-eventuate-account <<<
[INFO]
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ light-eventuate-account ---
[INFO]
[INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @ light-eventuate-account ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ light-eventuate-account ---
[INFO] Installing /home/jtang/data/shared/light-4j/light-example-4j/eventuate/account-management/pom.xml to /home/jtang/.m2/repository/com/networknt/light-eventuate-account/0.1.0/light-eventuate-account-0.1.0.pom
[INFO] Installing /home/jtang/data/shared/light-4j/light-example-4j/eventuate/account-management/target/light-eventuate-account-0.1.0-tests.jar to /home/jtang/.m2/repository/com/networknt/light-eventuate-account/0.1.0/light-eventuate-account-0.1.0-tests.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building eventuate-account-common 0.1.0
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.networknt:eventuate-common🫙1.5.13 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.mockito:mockito-core🫙2.1.0-beta.124 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ eventuate-account-common ---
[INFO] Deleting /home/jtang/data/shared/light-4j/light-example-4j/eventuate/account-management/common/target
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.4.201502262128:prepare-agent (pre-unit-test) @ eventuate-account-common ---
[INFO] surefireArgLine set to -javaagent:/home/jtang/.m2/repository/org/jacoco/org.jacoco.agent/0.7.4.201502262128/org.jacoco.agent-0.7.4.201502262128-runtime.jar=destfile=/home/jtang/data/shared/light-4j/light-example-4j/eventuate/account-management/common/target/jacoco.exec
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ eventuate-account-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jtang/data/shared/light-4j/light-example-4j/eventuate/account-management/common/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ eventuate-account-common ---
[INFO] Compiling 37 source files to /home/jtang/data/shared/light-4j/light-example-4j/eventuate/account-management/common/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error: error reading /home/jtang/.m2/repository/com/networknt/eventuate-common/1.5.13/eventuate-common-1.5.13.jar; error in opening zip file
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Parent POM ......................................... SUCCESS [ 1.223 s]
[INFO] eventuate-account-common ........................... FAILURE [ 0.406 s]
[INFO] eventuate-account-command .......................... SKIPPED
[INFO] eventuate-account-query ............................ SKIPPED
[INFO] eventuate-account-e2etest .......................... SKIPPED
[INFO] eventuate-account-service .......................... SKIPPED
[INFO] eventuate-account-view-service ..................... SKIPPED
[INFO] eventuate-customer-service ......................... SKIPPED
[INFO] eventuate-customer-view-service .................... SKIPPED
[INFO] eventuate-transaction-service ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.393 s
[INFO] Finished at: 2018-05-02T08:07:11-07:00
[INFO] Final Memory: 28M/399M
[INFO] ------------------------------------------------------------------------
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the account-management demo's Maven build and inspect the dependency on com.networknt:eventuate-common:1.5.13, where compilation reports an unreadable local JAR. Re-run the Maven build while checking that dependency resolution and the local artifact are valid. Done means the eventuate-account-common module compiles and the remaining modules are no longer skipped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100