Maven-生成可执行的Jar包

<plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>exec-maven-plugin</artifactId>
                <version>1.2.1</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>exec</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <executable>java</executable>          
                    <arguments>                       
                        <argument>-classpath</argument>
                        <classpath>
                        </classpath>
                        <argument>org.wuyechun.util.rktj.App</argument>
                    </arguments>
                </configuration>
</plugin>
原文地址:https://www.cnblogs.com/wuyechun/p/5390439.html