A simple way to create a single file artifact using maven?
问题 I'd like to create an single file artifact. Don't care if it's wrapped by an archive file. Is there a way to do it without creating a new maven-plugin or without using an additional assembly xml file? * Full code (XMLs) would be appreciated. 回答1: xml reference can be found here: How to specify files to be deployed in Maven fine tuning and command line experimentation: mvn install:install-file -DgroupId=com.xyz -DartifactId=zyx-component -Dversion=1.0.0 -Dfile=test.log -Dpackaging=log mvn