나는 이에 게 대답 할 수있는 유일한 대답은 Configuring Custom Javadoc Tags입니다.
예는 다음과 같을 수
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<tags>
<tag>
<name>uml.property</name>
<!-- The value X makes javadoc ignoring the tag -->
<placement>X</placement>
</tag>
<tag>
<name>some.other.property</name>
<placement>X</placement>
</tag>
<tag>
<name>some.third.property</name>
<placement>X</placement>
</tag>
</tags>
</configuration>
</plugin>
</plugins>
</build>
를 사용하면 출력이 표시됩니다 실행하는 경우 :
mvn javadoc:javadoc
<lots of output>
Note: Custom tags that were not seen: @uml.property
<maybe more output>
그리고 당신이를 사용하여 비 오류와 비 경고 메시지를 비활성화 할 수 있습니다 명령
mvn javadoc:javadoc -Dquiet
태그를 모두 정의하는 것은 힘든 일이지만 일단 완료되면 더 이상 경고가 표시되지 않습니다.
그리고 모든 사용자가 모든 작업에 도움이되는 상위 태그에 이러한 맞춤 태그를 정의해야합니다.
이 사용자 정의 태그를 추가해야하나요? – Radon8472
@ Radon8472 pom.xml 파일에 있습니다. – maba