以下操作需要反编译

1、反编译的jar包

1)E:\JIRA安装路径\atlassian-jira\WEB-INF\atlassian-bundled-plugins\atlassian-universal-plugin-manager-plugin-4.0.1.jar

2)commons-codec-1.12.jar,这个需要自行下载

2、破解文件路径

1)com.atlassian.extras.decoder.v2.Version2LicenseDecoder.class

2)com.atlassian.license.LicenseManager.class

3、修改方式

1)新建com.atlassian.extras.decoder.v2.Version2LicenseDecoder.java

private Properties loadLicenseConfiguration(Reader text)
{
Properties props = new Properties();
try {
(new DefaultPropertiesPersister()).load(props, text);
if (props.containsKey("Description")) {
String desc = props.getProperty("Description");
props.put("Description",
desc.replace("Evaluation", "Commercial"));

if (desc.contains("Confluence")) {
props.put("conf.LicenseTypeName", "COMMERCIAL");
} else if (desc.contains("JIRA")) {
props.put("jira.LicenseTypeName", "COMMERCIAL");
} else if (desc.contains("FishEye")) {
props.put("fisheye.LicenseTypeName", "COMMERCIAL");
} else if (desc.contains("Bitbucket")) {
props.put("stash.LicenseTypeName", "COMMERCIAL");
}

props.put("Evaluation", "false");
props.put("MaintenanceExpiryDate", "2033-06-06");
props.put("LicenseExpiryDate", "2033-06-06");
}
return props;
} catch (IOException var3) {
throw new LicenseException("Could NOT load properties from reader", var3);
}
}

2) 新建com.atlassian.LicenseManager.java

public boolean hasValidLicense(String licenseKey) {

return true;

}

4、替换原jar包中的文件

5、关闭服务并重启,即可破解完成

最新文章

  1. Michael Schatz - 序列比对课程
  2. display的理解
  3. AlertDialog.Builder对话框类的用法
  4. Error when running Swift3 in REPL
  5. SuperMapDeskTop中去除面图层边框
  6. No application 'meetme' for extension 错误
  7. Qt之模型/视图(自定义按钮)(使用QStyleOption的子类进行drawControl,和我用的方法完全不一样)
  8. MD5校验
  9. .yml是什么文件
  10. cocos2d-x-3.1 事件分发机制 (coco2d-x 学习笔记七)
  11. C和指针 (pointers on C)——第一章:高速启动
  12. 空数组在以下三种遍历中均不可更改:forEach、map和for...in
  13. java多线程对CountDownLatch的使用实例
  14. poj 3764 The xor-longest Path (01 Trie)
  15. .NET 控件的认识。
  16. Weblogic java生成wlfullclient.jar
  17. 患者信息SQL v1
  18. ELK学习笔记之F5利用ELK进行应用数据挖掘系列(1)-HTTP
  19. Cmake 编译opengl开源库glfw工程及使用
  20. Gradle 在Eclipse中的使用

热门文章

  1. PLSQL设置数据库选项
  2. 正则表达式——POSIX字符组
  3. Python笔记(三十)_python标准异常总结
  4. arduino相关文献阅读
  5. 毒瘤阅读题 LightOJ - 1220
  6. jenkins 启动报错
  7. Nacos1.1.3小试牛刀
  8. Codeforces 601B(贪心+斜率+组合数学+单调栈)
  9. 收集慕课网讲解的border知识
  10. Log4Net 之走进Log4Net (四)