Skip to content

Dependency packages have source code packages in 'nexus', but annotations cannot be extracted #8

Description

@skyflym

Contact Details

1243287326@qq.com

Version

3.1.2

Plugin

smart-doc-maven-plugin

Build tool version

maven3.5 & maven3.9

Jdk version

1.8

Describe the bug (Bug描述,社区已开启国际化推广,请用千问、星火等免费大模型工具辅助翻译成英文,减少社区开发者的工作)

common

common-api

pom1.xml

common-core

pom2.xml

common-inter

pom3.xml

pom4.xml

Pom4.xml is the 'parent pom', with definitions of 'common-api', 'common-core', and 'common-inner' as submodules

The 'common-api' module also depend on the 'base' module, which has source code packages in the snapshot library of the nexus. The snapshot library is configured as the repository in 'setting. xml'

The 'common-api' module has an rest-api method,has parameter of Class A, which also extend from Class B in the 'base' module. The generated document can display Class B fields, but cannot extract Javadoc annotations

Expected Behavior (您期望的结果,社区已开启国际化推广,请用千问、星火等免费大模型工具辅助翻译成英文,减少社区开发者的工作)

extract Javadoc annotations of Class B

Current Behavior (当前结果,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)

The generated document can display B-class fields, but cannot extract Javadoc annotations

Steps to Reproduce (Bug产生步骤,请尽量提供用例代码。社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)

public class BaseBean implements Serializable {

/**
 * 分页序号
 */
private Integer seq;

}

this is some field at Class B ;

public class OrgInfoBean extends BaseBean {
/**
* 单位编号
*/
private String orgNo;
}
this is some field at Class A ;

Possible Solution (Bug解决建议,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)

No response

Context (Bug影响描述,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)

No response

Validations

  • Check if you're on the latest smart-doc version. (请检查是否为最新版本)
  • Read the docs. (请先阅读官方文档)
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. (检查是否存在报告相同错误的问题,以避免产生重复)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions