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>

 

posted @ 2016-04-14 11:35  伍叶春  阅读(221)  评论(0编辑  收藏  举报