일요일, 6월 23, 2024
HomeLanguageExclude META-INF/maven folder from the generated jar file

Exclude META-INF/maven folder from the generated jar file

Exclude META-INF/maven folder from the generated jar file

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<configuration>
		            <excludes>
						<exclude>**/META-INF/maven/**</exclude>
						<exclude>log4j.xml</exclude>
		            </excludes>
	                <archive>
						<manifestEntries>
							<SCM-Revision>${artifactId}-${version}-${build.number}</SCM-Revision>
						</manifestEntries>
	                    <addMavenDescriptor>false</addMavenDescriptor>
	                </archive>
            	</configuration>
			</plugin>

 

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Time limit exceeded. Please complete the captcha once again.

Most Popular