Skip to content
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

enhancement:Optimize Maven Configuration #236

Merged
merged 3 commits into from
Feb 21, 2025

Conversation

wangmiscoding
Copy link
Contributor

@wangmiscoding wangmiscoding commented Feb 21, 2025

fix #213

@psxjoy
Copy link
Member

psxjoy commented Feb 21, 2025

Hi, I noticed that you have modified the spring-boot-starter-web and spring-boot-starter-test.
But these two jars seem not correctly relay on ,which caused fastexcel-test module cannot run unit-test.

Error msg:

[INFO] Scanning for projects...
Error: ] Some problems were encountered while processing the POMs:
Error:  'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-web:jar is missing. @ cn.idev.excel:fastexcel-test:${revision}, /home/runner/work/fastexcel/fastexcel/fastexcel-test/pom.xml, line 35, column 21
Error:  'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-test:jar is missing. @ cn.idev.excel:fastexcel-test:${revision}, /home/runner/work/fastexcel/fastexcel/fastexcel-test/pom.xml, line 3[9](https://github.com/fast-excel/fastexcel/actions/runs/13458309578/job/37607283114?pr=236#step:6:10), column 21
 @ 
Error:  The build could not read 1 project -> [Help 1]
Error:    
Error:    The project cn.idev.excel:fastexcel-test:1.1.0 (/home/runner/work/fastexcel/fastexcel/fastexcel-test/pom.xml) has 2 errors
Error:      'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-web:jar is missing. @ cn.idev.excel:fastexcel-test:${revision}, /home/runner/work/fastexcel/fastexcel/fastexcel-test/pom.xml, line 35, column 21
Error:      'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-test:jar is missing. @ cn.idev.excel:fastexcel-test:${revision}, /home/runner/work/fastexcel/fastexcel/fastexcel-test/pom.xml, line 39, column 21
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/ProjectBuildingException
Error: Process completed with exit code 1.

@wangmiscoding
Copy link
Contributor Author

Hi, I noticed that you have modified the spring-boot-starter-web and spring-boot-starter-test. But these two jars seem not correctly relay on ,which caused fastexcel-test module cannot run unit-test.

Error msg:

[INFO] Scanning for projects...
Error: ] Some problems were encountered while processing the POMs:
Error:  'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-web:jar is missing. @ cn.idev.excel:fastexcel-test:${revision}, /home/runner/work/fastexcel/fastexcel/fastexcel-test/pom.xml, line 35, column 21
Error:  'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-test:jar is missing. @ cn.idev.excel:fastexcel-test:${revision}, /home/runner/work/fastexcel/fastexcel/fastexcel-test/pom.xml, line 3[9](https://github.com/fast-excel/fastexcel/actions/runs/13458309578/job/37607283114?pr=236#step:6:10), column 21
 @ 
Error:  The build could not read 1 project -> [Help 1]
Error:    
Error:    The project cn.idev.excel:fastexcel-test:1.1.0 (/home/runner/work/fastexcel/fastexcel/fastexcel-test/pom.xml) has 2 errors
Error:      'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-web:jar is missing. @ cn.idev.excel:fastexcel-test:${revision}, /home/runner/work/fastexcel/fastexcel/fastexcel-test/pom.xml, line 35, column 21
Error:      'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-test:jar is missing. @ cn.idev.excel:fastexcel-test:${revision}, /home/runner/work/fastexcel/fastexcel/fastexcel-test/pom.xml, line 39, column 21
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/ProjectBuildingException
Error: Process completed with exit code 1.

Sorry, there was an issue with my edit. I am resubmitting it.

@psxjoy
Copy link
Member

psxjoy commented Feb 21, 2025

LGTM

@psxjoy psxjoy merged commit 1deb7a3 into fast-excel:main Feb 21, 2025
4 checks passed
psxjoy pushed a commit to psxjoy/fastexcel that referenced this pull request Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] Optimize Maven Configuration
2 participants