Knowledge points Supplement
build jar exclude configuration file
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId> maven-jar-plugin</artifactid>
<version>3.0.2</version>
<configuration>
<excludes>
<exclude>logback.xml</exclude>
<exclude>disconf.properties</ exclude>
</excludes>
</configuration>
<executions>
</executions>
</plugin>
Maven-assembly-plugin Package Please add version number
as follows: 3.0.0
If there's a problem with packing dependencies, I'm not going to find Httpcore. The latest version of horse teacher hit 4.2 In fact, the project relies on 4.5
<plugin> <artifactId>maven-assembly-plugin</artifactId> <version> ;3.0.0</version> <configuration> <appendassemblyid>false</appenda
Ssemblyid> <outputDirectory>${project.build.directory}/releases/</outputDirectory> <descriptors> <descriptor>${project.basedir}/src/main/assembly/plugin.
Xml</descriptor> </descriptors> <archive>
<manifest> <mainClass>com.alibaba.dubbo.container.Main</mainClass>
</manifest> </archive> </configuration>
<executions> <execution> <phase>package</phase> ≪goals> <goal>single</goal> </goals> </execution> </executions> </plugin>
website Information
Skeleton Project Self Structure:
Material: http://maven.apache.org/archetype/maven-archetype-plugin/