gliffy-confluence-plugin-9.1.2安装
1、下载gliffy-confluence-plugin-9.1.2.obr
2、解压后找到GliffyLicenseManager.class
3、反编译GliffyLicenseManager.class,替换原来的实现,重新编译成class后替换进去
package com.gliffy.plugin.confluence.license;import com.atlassian.confluence.setup.BootstrapManager;
import com.atlassian.confluence.setup.settings.CoreFeaturesManager;
import com.atlassian.upm.api.license.PluginLicenseManager;
import com.atlassian.upm.api.license.entity.LicenseError;
import com.atlassian.upm.api.license.entity.LicenseType;
import com.atlassian.upm.api.license.entity.PluginLicense;
import com.atlassian.upm.api.util.Option;
import org.joda.time.DateTime;
import org.joda.time.Days;
import org.joda.time.ReadableInstant;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;public class GliffyLicenseManager {private static final Logger logger = LoggerFactory.getLogger(GliffyLicenseManager.class);private PluginLicenseManager licenseManager;private CoreFeaturesManager coreFeaturesManager;private BootstrapManager bootstrapManager;public GliffyLicenseManager(PluginLicenseManager licenseManager, CoreFeaturesManager coreFeaturesManager, BootstrapManager bootstrapManager) {this.licenseManager = licenseManager;this.coreFeaturesManager = coreFeaturesManager;this.bootstrapManager = bootstrapManager;}/*private PluginLicense fetchLicense() {PluginLicense license = null;Option<PluginLicense> licenseOption = this.licenseManager.getLicense();if (licenseOption.isDefined()) {license = (PluginLicense)licenseOption.get();} else {logger.debug("no Gliffy license found");}return license;}*/public boolean isValid() {/*PluginLicense license = this.fetchLicense();return license != null ? license.isValid() : false;*/return true;}public boolean isSupported() {/*PluginLicense license = this.fetchLicense();if (license != null) {return !license.isMaintenanceExpired();} else {return false;}*/return true;}public boolean isEvaluation() {/*PluginLicense license = this.fetchLicense();return license != null ? license.isEvaluation() : false;*/return false;}public String getLicenseError() {/*PluginLicense license = this.fetchLicense();if (license != null) {Option<LicenseError> errorOption = license.getError();if (errorOption.isDefined()) {return ((LicenseError)errorOption.get()).toString();}}return null;*/return null;}public String getSEN() {/*PluginLicense license = this.fetchLicense();if (license != null) {Option<String> customerIdOption = license.getSupportEntitlementNumber();if (customerIdOption.isDefined()) {return (String)customerIdOption.get();}}return null;*/return null;}public boolean isCloud() {/*return this.coreFeaturesManager.isOnDemand();*/return false;}public LicenseType getLicenseType() {/*PluginLicense license = this.fetchLicense();return license != null ? license.getLicenseType() : null;*/return LicenseType.COMMERCIAL;}public int getDaysToExpiration() {/*PluginLicense license = this.fetchLicense();if (license != null) {Option<DateTime> expiryDateOption = license.getExpiryDate();if (expiryDateOption.isDefined()) {return Days.daysBetween(new DateTime(), (ReadableInstant)expiryDateOption.get()).getDays();}}return 0;*/return Integer.MAX_VALUE;}public Integer getUserCount() {/*PluginLicense license = this.fetchLicense();if (license != null) {Option<Integer> qtyUsersOption = license.getEdition();if (qtyUsersOption.isDefined()) {return (Integer)qtyUsersOption.get();}}return null;*/return Integer.MAX_VALUE;}public boolean isFree() {/*if (this.fetchLicense() == null) {return false;} else {LicenseType type = this.getLicenseType();return type.equals(LicenseType.COMMUNITY) || type.equals(LicenseType.NON_PROFIT) || type.equals(LicenseType.OPEN_SOURCE);}*/return false;}public boolean isCommercial() {return this.isValid() && this.isSupported() && !this.isEvaluation() && !this.isFree();}public long getLicenseInstallUnixTimestamp() {/*PluginLicense license = this.fetchLicense();return license != null ? license.getCreationDate().getMillis() / 1000L : 0L;*/return 0L;}public String getLicenseManagementURL() {/*return this.bootstrapManager.getWebAppContextPath() + "/plugins/servlet/upm#manage/com.gliffy.integration.confluence";*/return "";}public boolean isNonAnalyticsLicenseType() {/*LicenseType licenseType = this.getLicenseType();boolean isEvalCloudInstance = this.isCloud() && (this.isEvaluation() || licenseType == null);return isEvalCloudInstance || LicenseType.DEVELOPER.equals(licenseType) || LicenseType.TESTING.equals(licenseType) || LicenseType.DEMONSTRATION.equals(licenseType);*/return false;}
}
gliffy-confluence-plugin-9.1.2安装相关推荐
- [原创] debian 9.3 搭建Jira+Confluence+Bitbucket项目管理工具(四) -- 安装bitbucket 5.7.0
[原创] debian 9.3 搭建Jira+Confluence+Bitbucket项目管理工具(四) -- 安装bitbucket 5.7.0 安装Bitbucket的教程, 网上能找见的不多, ...
- [原创] debian 9.3 搭建Jira+Confluence+Bitbucket项目管理工具(三) -- 安装confluence 6.6.1
[原创] debian 9.3 搭建Jira+Confluence+Bitbucket项目管理工具(三) -- 安装confluence 6.6.1 有了安装Jira的经验, 这次再安装conflue ...
- Confluence 6 已经存在的安装配置数据库字符集编码
2019独角兽企业重金招聘Python工程师标准>>> 针对已经存在的 Confluence 安装,如果你安装的 Confluence 版本是 6.4 或者早期的版本,我们在安装的时 ...
- Confluence 文档协作平台安装部署笔记
文章目录 一.下载并安装 1.下载地址 2.赋予运行权限 3.执行安装 二.初始化配置Confluence 1.访问 Confluence 页面 2.激活 Confluence 3.配置数据库(使用M ...
- 服务器没有plugin文件,服务器上安装插件
服务器安装插件可以通过fs的插件管理完成,或者手动拷贝jar包和文件夹.下面分别介绍. 1.1服务器上fs插件管理安装插件 更新2016-5-31号及以后的jar,服务器上可以通过fs的插件管理来对服 ...
- confluence 5 mysql_Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之一 数据库篇(MySQL5.1)...
软件准备 1.数据库软件 mysql 5.1 主程序 mysql clinet 连接客户端 mysql-devel 驱动程序 安装步骤安装操作系统 配置主机名称 修改IP地址 修改系统时间 保持时间准 ...
- Atlassian 系列软件安装(Crowd、jira、confluence、bitbucket、bamboo)
参考文章:软件项目开发环境构建之五:Confluence.Jira.Bitbucket统一账户管理_坚强的技术交流blog的技术博客_51CTO博客 [原创]Jira设置Windows AD为用户目录 ...
- Jira 和 Confluence 安装和使用
Jira 和 Confluence 安装和使用 文章目录 Jira 和 Confluence 安装和使用 JIRA 介绍 JIRA的主要功能 confluence 介绍 Confluence 特点 C ...
- Atlassian 系列软件安装(Crowd+JIRA+Confluence+Bitbucket+Bamboo)
公司使用的软件开发和协作工具为 Atlassian 系列软件,近期需要从腾讯云迁移到阿里云环境,简单记录下安装和配置过程.(Atlassian 的文档非常详尽,过程中碰见的问题都可以找到解决办法.) ...
- Gerrit plugin安装和删除
2019独角兽企业重金招聘Python工程师标准>>> 对Gerrit的plugin安装和删除需要通过它的sshd来管理. 如:ssh -p 8418 admin@localhost ...
最新文章
- rmd转换html怎么换页,如何在由RStudiomarkdown生成的单词文档中添加分页符
- iOS使用 xcconfig配置文件的若干坑
- CSS3菜单栏透明兼容问题
- [ZJOI2007] 时态同步
- 用c语言程序算自己的年龄,新手编的小程序:计算年龄和出生后经历的天数的小程序...
- java数组的初始化方式
- Android Studio 导入/导出项目以及Android Device Monitor导出文件
- python3生成验证码_Python3实现生成验证码图片
- linux下python、django框架的配置
- QQ浏览器如何把m3u8转换为mp4等其他格式
- 3点15分夹角多少度
- 云原生小课堂|Envoy请求流程源码解析(三):请求解析
- python语言编程是什么意思_python中的“//”是什么意思
- java学习之LinkedList(链表)
- Python——图片与视频互转(亲测有效)
- 如何查看Mac电脑的操作系统是32位还是64位?
- socket.io不错的websocket
- Matlab信号添加噪声及信噪比SNR的计算
- url中传递中文参数时的转码与解码
- Matrix矩阵的基础案例与分析