zoukankan      html  css  js  c++  java
  • Jira插件安装

    以下操作需要反编译

    1、反编译的jar包

    1)E:JIRA安装路径atlassian-jiraWEB-INFatlassian-bundled-pluginsatlassian-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、关闭服务并重启,即可破解完成

  • 相关阅读:
    react按钮防抖
    mac解决 gyp: No Xcode or CLT version detected!
    offsetTop、getBoundingClientRect().top
    纯前端实现微信自定义分享
    redux概念
    数字验证码多个输入框实现一个输入框效果
    使用vue-cli脚手架工具搭建vue工程项目以及配置路由
    jq实现广告栏单行或者多行上下无缝接滚动
    ant pagination分页
    小程序广告位上下滚动的效果
  • 原文地址:https://www.cnblogs.com/xxsl/p/10818405.html
Copyright © 2011-2022 走看看