ms-bus | 基于 avalon2 的 SPA 脚手架 | Single Page Application library
kandi X-RAY | ms-bus Summary
kandi X-RAY | ms-bus Summary
基于 avalon2 的 SPA 脚手架
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Update the input from the input
- Update the minicolor from the input input
- Initialize the settings
- Moves a mouse picker element .
- Recursively find all required resources .
- handle input color change
- Returns an element for a node .
- shim for sh functions
- Converts a HSL to an RGB string .
- Apply route config
ms-bus Key Features
ms-bus Examples and Code Snippets
Community Discussions
Trending Discussions on ms-bus
QUESTION
at the moment I am building a microservice template project with all technologies I think could be useful, so that people can use it as a base for their projects without going through all the problems I went.
Now the problem: While in Intellij I can run my Spring Boot application but when I am going to use the command "mvn clean install" maven tells me that inside the ms-business the dependencies to other classes are not found. And another problem is when I want to run the MountainMergerTest class it can't find the MountainMerger from the same module.
Here you can find the complete project: https://github.com/wscale/mountains
I renamed my project lately maybe that messed it up a bit... but since I tried to reimport it from github the might be broken intellij files should been gone by now... still no change.
I would appreciate every help very much since I don't really get the problem :/
...ANSWER
Answered 2017-May-28 at 18:29After digging into this...the usage of spring-boot-maven-plugin in the parent is not intentional for a multimodule build. This will inherit that to all sub modules which means each sub module will be repackaged by spring-boot-maven-plugin:repackage
and create a bootable jar but which can't be consumed be the other modules (classpath) which results into much of the above errors. If you comment that out into the root parent first you will go further during compilation but fail with other issues.
You have put a AbstractIT into ms-commons which you should extract to a separate module like ms-tests
into the src/main/java
area which means it will be packaged into a jar and can simply being reused in other modules. But by using this test module you should use the scope test
for this dependency.
About the reason why it works in IDE but not with Maven. In an IDE the modules will be resolved by the IDE and not by Maven which means if you have the modules imported into your IDE everything is found it is not based on backed jar files. But on command line it's more strict only based on the dependencies and of course based on the created JAR files.
If you take a look into the produces jar files (via spring-boot-maven-plugin:repackage):
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ms-bus
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page