I am new to maven and ran into the following question/problem:
例如: 当我使用晚餐时,我可以很容易地把Hibernate列为依赖物。 jar是完美的。 但是,印地安混凝土混杂着许多其他(混凝土)的档案,这些档案必须投入使用(如藏匿。
1.) Does Maven provide any solution to also download these files (so I can use them as a basis for my additions. It would not make sense writing these complexe xmls newly from the scratch). => For Example is there "goal/target" in maven that spits out these required "relataed config" files into a specifc directory?
b) 你们如何处理这一案件? 虽然我使用ave子,但这是否意味着我从来就不必下载通常用的齐普/gz项目-Files。 (如同过去一样)=>So maven只是管理/解决我在这方面拥有的部分“问题”。
最新情况:我所谈论的档案通常是我需要经常编辑的档案(配置文件)。 因此,他们大多没有在杰尔内作为静态公交文件提供。
UPDATE 2 => Real live example: I just started to write a POM for my project and googled the dependency-names, like "hibernate-core", "hibernate-validation", "rome" (RSS Lib), "tuckey" (Rewrite Filter) and included them in my POM. Now I have all the jars downloaded via maven (great!), but however I do not have any (sample/base) config files. The Web-app can not be run... Formerly (when I did not use maven) I downloaded the official distribution zip/gz package and they contained everything: jars and sample config files. Ok its great that maven helps me with the jars, but in the end I do have to navigate to every project webpage and also download the zip/gz distribuation package (as I did before) to only get the sample config files to include them in my project and then make some smaller changes... (without hibernate.cfg.xml hibernate does not start and writing it from scratch is an absolute nightmare, the best solution is take their sample file and update some specific stuff...
Thank you very much for any advice. Markus