maven打包依赖lib与程序jar分离

maven打包 依赖lib与程序jar分离

  • 打包配置
  • 查看
  • 运行

打包配置

	<build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.pluginsgroupId>
                <artifactId>maven-jar-pluginartifactId>
                <configuration>
                    <archive>
                        
                        <manifestEntries>
                            

                            <Class-Path>lib/jave-1.0.2-1.0.jarClass-Path>
                        manifestEntries>
                        
                        <addMavenDescriptor>false

你可能感兴趣的:(maven,jar,java,spring,boot,tomcat)