maven 到处包含maven jar 的jar包

  • Post author:
  • Post category:其他


<build>
        <plugins>
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <configuration>
                    <descriptorRefs>
                        <descriptorRef>jar-with-dependencies</descriptorRef>
                    </descriptorRefs>
                    <archive>
                        <manifest>
                                  
                       <mainClass>com.zcxt.analysis.storm.GpsTopology</mainClass>
                        </manifest>
                    </archive>
                </configuration>
                <executions>
                    <execution>
                        <id>make-assembly</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>



版权声明:本文为weixin_40789566原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。