How to include/exclude content from jar artifactSpecify a list of fileset patterns to be included or excluded by adding / or / in your pom.xml. ... ... org.apache.maven.plugins maven-jar-plugin 2.6 **/service/* ... ...
maven skip jar packaging 아래방법 http://stackoverflow.com/questions/2188746/what-is-the-best-way-to-avoid-maven-jar maven-jar-plugindefault-jarneverunwantedunwanted 추가하거나.. 이후 만약 이름을 바꾸려면Is it possible to rename a maven jar-with-dependencies? 하려면, 아래와 같이 한다. You can specify the finalName property to give the jar the name you want, and specify thatappendAssemblyId should be false to avoid the "jar-w..
call mvn clean call mvn package Note that you don't need semicolons in batch files. And the reason why you need to use call is that mvn itself is a batch file and batch files need to call each other with call, otherwise control does not return to the caller. http://stackoverflow.com/questions/6573062/how-to-execute-more-than-one-maven-command-in-bat-file