Home > Back-end >  Maven packaging how to parent file copy to the component
Maven packaging how to parent file copy to the component

Time:10-04


SQL file should be unified under the config directory convenient management
What maven plugin plug-ins can be loaded in the user program SQL under the config file

CodePudding user response:

Someone under reply

CodePudding user response:

Do not recommend using maven to deal with this file, because the file is not in project

This is the job of the integration, can be in CI (continuous integration) platform (such as Hudson) processing, can checkout two projects, then copy the file to subprojects and packaging components

Maven file copy resources can use maven - resources - the plugin, reference

https://maven.apache.org/plugins/maven-resources-plugin/
https://blog.csdn.net/ouyang111222/article/details/78788106
https://www.jianshu.com/p/4fdb071b63ad

CodePudding user response:

Agghh ahhh someone know how to load this file or project start

CodePudding user response:

All with SpringCloud why don't you get a configuration center?

CodePudding user response:

reference 4 floor XmCui response:
all use SpringCloud why don't you get a configuration center?
is this with springcloud do not have what relation is mainly to point out

CodePudding user response:

reference 5 floor ha ha lu's reply:
Quote: refer to 4th floor XmCui response:

All with SpringCloud why don't you get a configuration center?
is this with springcloud do not have what relation is mainly to point out


Oh oh wrong before

Not understand why you want to SQL file extraction of the user module to the top; Should not be each module file packaging to the respective module?

CodePudding user response:

refer to 6th floor XmCui response:
Quote: refer to fifth floor ha ha lu response:

Quote: refer to 4th floor XmCui response:

All with SpringCloud why don't you get a configuration center?
is this with springcloud do not have what relation is mainly to point out


Oh oh wrong before

Not understand why you want to SQL file extraction of the user module to the top; Should not be each module file packaging to the respective module?
personal habits, have what way to refer to come in, please
  • Related