-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mvnw is stuck -> checksum-maven-plugin:1.11:files (create-pre-compiled-webapp-checksum) #27332
Comments
It looks like you're using a maven plugin, maven-default-http-blocker, that's not used by JHipster anymore. Can you try removing it and see if that helps? |
Hi mraible, thank for reply.
when run mxnw -X http blocker log is removed but the error is present: [INFO] |
We haven't heard from anyone else having this issue, so I believe it's caused by your |
I removed settings.xml under this path C:\Users\antonio.schettino.m2\wrapper\dists\apache-maven-3.8.6-bin\67568434\apache-maven-3.8.6 C:\personal-dev\bookingferries>mvnw -X the error is present yet. I don’t know where else to look. If it were a connection issue, I shouldn’t have seen an error in the mvnw stack trace. |
I was facing this issue. It due to package.json. Below is my package.json.
Angular automatic add "dentalmanagement": "file:", inside my dependencies. I removed this, and it works. You can check your package.json if it contain project name inside dependencies. |
Any solution ? |
I update my local jhipster an tryed on a clean project, same problem! Only works without this plugin
|
I tried to remove this... dependency? It's appearing on its own, where does this come from? |
Hey @OAllanFernando, I had a similar issue with the dependency "projectname": "file:" being auto-added to package.json. Updating my IDE to the latest version fixed it - could be worth a shot! |
After multiple attempts, I finally solved the checksum issue by following these steps:
I hope this helps! |
I will try, come back after test. |
It’s a v7 issue which is not maintained anymore. |
Overview of the issue
"I've resumed working on a JHipster project after a few months, and when I run the mvnw command, the process gets stuck at the following step:
[INFO] --- checksum-maven-plugin:1.11:files (create-pre-compiled-webapp-checksum) @ bookingferries ---
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for repository.jboss.org (http://repository.jboss.org/maven2).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for snapshots.jboss.org (http://snapshots.jboss.org/maven2).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for oss.sonatype.org/jboss-snapshots (http://oss.sonatype.org/content/repositories/jboss-snapshots).
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=128300, ConflictMarker.markTime=61800, ConflictMarker.nodeCount=79, ConflictIdSorter.graphTime=66600, ConflictIdSorter.topsortTime=27099, ConflictIdSorter.conflictIdCount=29, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=393800, ConflictResolver.conflictItemCount=70, DefaultDependencyCollector.collectTime=73397601, DefaultDependencyCollector.transformTime=728200}
[DEBUG] net.nicoulaj.maven.plugins:checksum-maven-plugin:jar:1.11
[DEBUG] org.bouncycastle:bcprov-jdk15on:jar:1.69:compile
[DEBUG] org.apache.maven.shared:maven-common-artifact-filters:jar:3.2.0:compile
[DEBUG] org.apache.maven:maven-artifact:jar:3.1.1:provided (scope managed from default) (version managed from default)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.15:provided
[DEBUG] org.apache.maven:maven-model:jar:3.1.1:provided (scope managed from default) (version managed from default)
[DEBUG] org.apache.maven:maven-core:jar:3.1.1:provided (scope managed from default) (version managed from default)
[DEBUG] org.apache.maven:maven-settings:jar:3.1.1:provided
[DEBUG] org.apache.maven:maven-settings-builder:jar:3.1.1:provided
[DEBUG] org.apache.maven:maven-repository-metadata:jar:3.1.1:provided
[DEBUG] org.apache.maven:maven-model-builder:jar:3.1.1:provided
[DEBUG] org.apache.maven:maven-aether-provider:jar:3.1.1:provided
[DEBUG] org.eclipse.aether:aether-spi:jar:0.9.0.M2:provided
[DEBUG] org.eclipse.aether:aether-impl:jar:0.9.0.M2:provided
[DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.19:provided
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.5.1:provided
[DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:provided
[DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:provided
[DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:provided
[DEBUG] org.apache.maven:maven-plugin-api:jar:3.1.1:provided (scope managed from default) (version managed from default)
[DEBUG] commons-io:commons-io:jar:2.6:compile
[DEBUG] org.eclipse.aether:aether-api:jar:0.9.0.M2:provided (scope managed from default) (version managed from default)
[DEBUG] org.eclipse.aether:aether-util:jar:0.9.0.M2:provided (scope managed from default) (version managed from default)
[DEBUG] org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.4:provided (scope managed from default) (version managed from default)
[DEBUG] javax.enterprise:cdi-api:jar:1.0:provided
[DEBUG] javax.annotation:jsr250-api:jar:1.0:provided
[DEBUG] javax.inject:javax.inject:jar:1:provided
[DEBUG] org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.4:provided
[DEBUG] org.apache.maven.shared:maven-shared-utils:jar:3.3.4:compile
[DEBUG] Created new class realm plugin>net.nicoulaj.maven.plugins:checksum-maven-plugin:1.11
[DEBUG] Importing foreign packages into class realm plugin>net.nicoulaj.maven.plugins:checksum-maven-plugin:1.11
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm plugin>net.nicoulaj.maven.plugins:checksum-maven-plugin:1.11
[DEBUG] Included: net.nicoulaj.maven.plugins:checksum-maven-plugin:jar:1.11
[DEBUG] Included: org.bouncycastle:bcprov-jdk15on:jar:1.69
[DEBUG] Included: org.apache.maven.shared:maven-common-artifact-filters:jar:3.2.0
[DEBUG] Included: commons-io:commons-io:jar:2.6
[DEBUG] Included: org.apache.maven.shared:maven-shared-utils:jar:3.3.4
[DEBUG] Configuring mojo net.nicoulaj.maven.plugins:checksum-maven-plugin:1.11:files from plugin realm ClassRealm[plugin>net.nicoulaj.maven.plugins:checksum-maven-plugin:1.11, parent: java.net.URLClassLoader@50f8360d]
[DEBUG] Configuring mojo 'net.nicoulaj.maven.plugins:checksum-maven-plugin:1.11:files' with basic configurator -->
[DEBUG] (f) algorithms = [SHA-1]
[DEBUG] (f) attachChecksums = false
[DEBUG] (f) csvSummary = true
[DEBUG] (f) csvSummaryFile = checksums.csv
[DEBUG] (f) encoding = UTF-8
[DEBUG] (f) failIfNoFiles = false
[DEBUG] (f) failOnError = false
[DEBUG] (s) directory = C:\personal-dev\bookingferries
[DEBUG] (s) includes = [src/main/webapp//., target/classes/static//., package-lock.json, package.json, webpack/., tsconfig.json, tsconfig.app.json]
[DEBUG] (s) excludes = [/app//service-worker.js, /app//vendor.css]
[DEBUG] (f) fileSets = [FileSet {directory: C:\personal-dev\bookingferries, PatternSet [includes: {src/main/webapp//., target/classes/static//., package-lock.json, package.json, webpack/., tsconfig.json, tsconfig.app.json}, excludes: {/app//service-worker.js, /app//vendor.css}]}]
[DEBUG] (f) includeRelativePath = true
[DEBUG] (f) individualFiles = false
[DEBUG] (f) project = MavenProject: com.booking.ferries:bookingferries:0.0.1-SNAPSHOT @ C:\personal-dev\bookingferries\pom.xml
[DEBUG] (f) quiet = true
[DEBUG] (f) shasumSummary = false
[DEBUG] (f) shasumSummaryFile = checksums.sha
[DEBUG] (f) xmlSummary = false
[DEBUG] (f) xmlSummaryFile = checksums.xml
[DEBUG] -- end configuration --
Motivation for or Use Case
Build is stuck
Reproduce the error
run the command mvnw -X
Related issues
Suggest a Fix
I removed the plugin from pom.xml
and build works fine.
But I would like not remove it, because out of box it is present in the pom.xml generated by jhipster.
JHipster Version(s)
7.9.3
JHipster configuration
INFO! Switching to JHipster installed locally in current project's node repository (node_modules)
(node:3820) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./lib/util/" in the "exports" field module resolution of the package at C:\personal-dev\bookingferries\node_modules\yeoman-environment\package.json.
Update this package.json to use a subpath pattern like "./lib/util/*".
(Use
node --trace-deprecation ...
to show where the warning was created)██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║
╚██████╔╝ ██║ ██║ ████████╗ ██║ ██████╔╝ ██║ ████████╗ ██║ ╚██╗
╚═════╝ ╚═╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═╝
https://www.jhipster.tech
Welcome to JHipster v7.9.3
Welcome to the JHipster Information Sub-Generator
JHipster Version(s)
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Environment and Tools
Environment and Tools
openjdk version "17.0.10" 2024-01-16
OpenJDK Runtime Environment Temurin-17.0.10+7 (build 17.0.10+7)
OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (build 17.0.10+7, mixed mode, sharing)
git version 2.41.0.windows.1
node: v16.20.1
npm: 8.19.4
No change to package.json was detected. No package manager install will be executed.
Congratulations, JHipster execution is complete!
Sponsored with ❤️ by @oktadev.
To provide all information we need, you should run
jhipster info
in the project root folder (or workspaces root for microservices), andcopy/paste the result here.
jhipster info
removes sentitive information like rememberKey, jwtSecretKey. Double check if there is any other sensitive info.As alternative you can add a JDL wrapped in below structure
JDL definitions
The information is mandatory for bug reports. This will allow us to use automated tests and genarate the broken sample using
jhipster from-issue
command.Browsers and Operating System
The text was updated successfully, but these errors were encountered: