简体   繁体   中英

How to modify existing jar file?

I need to modify gwt-log.jar file which is downloaded from maven repository. I need to change log4j version in this jar.

I have unzipped this jar and trying to modify it with intellij idea but dependences are not resolved. So, how can I do it with intellij idea and build jar again?

在此处输入图像描述

  • Fork and clone https://github.com/fredsa/gwt-log using the terminal.

  • Open the IDE welcome page.

  • Click Open and select the pom.xml : 在此处输入图像描述

  • Select Open as Project and Trust Project .

  • Wait for Maven to finish the job.

  • Make changes.

  • Build a JAR file from sources.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM