build: build시 javadoc 추가

dev
gitea-관리자 1 year ago
parent 779f341d36
commit 5e15968543

@ -148,16 +148,7 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

@ -148,16 +148,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

@ -451,29 +451,6 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<excludes>
<exclude>**/BouncyUtils.java</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

@ -18,8 +18,7 @@
</modules>
<properties>
<maven.test.skip>true</maven.test.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spring.boot.version>2.7.14</spring.boot.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<spring.maven.artifact.version>5.3.20</spring.maven.artifact.version>
@ -32,8 +31,17 @@
<proguard-core-version>9.0.10</proguard-core-version> <!-- 9.0.10 -->
<!-- excel poi -->
<apache.poi.version>5.0.0</apache.poi.version> <!-- 4.1.2 -->
<maven.test.skip>true</maven.test.skip>
<project.encoding>UTF-8</project.encoding>
</properties>
<!-- spring Boot Parent 설정 -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.14</version>
</parent>
<repositories>
<repository>
<id>mvn2s</id>
@ -73,13 +81,6 @@
</repositories>
<!-- spring Boot Parent 설정 -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.14</version>
</parent>
<distributionManagement>
<snapshotRepository>
<id>maven-snapshot</id>
@ -152,7 +153,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<!--
<executions>
<execution>
<id>attach-javadocs</id>
@ -161,31 +162,112 @@
</goals>
</execution>
</executions>
-->
<configuration>
<!-- Java 8 은 Javadoc 에 대해서도 lint 를 수행 : 잘못된 doc이 있을 경우 warning이 아닌 error로 처리해서 javadoc 생성을 중지 -->
<doclint>none</doclint>
<minmemory>128m</minmemory>
<maxmemory>512m</maxmemory>
<encoding>${project.encoding}</encoding>
<docencoding>${project.encoding}</docencoding>
<charset>${project.encoding}</charset>
<failOnError>false</failOnError>
<sourceFileExcludes>
<sourceFileExclude>**/module-info.java</sourceFileExclude>
</sourceFileExcludes>
<stylesheetfile>openframework.css</stylesheetfile>
<quiet>true</quiet>
<verbose>false</verbose>
<locale>ko_KR</locale>
<show>private</show>
<nohelp>true</nohelp>
<charset>UTF-8</charset>
<!--
<outputDirectory>${basedir}/javadoc</outputDirectory>
<reportOutputDirectory>${basedir}/javadoc</reportOutputDirectory>
-->
<outputDirectory>${project.build.directory}/javadoc</outputDirectory>
<reportOutputDirectory>${project.build.directory}</reportOutputDirectory>
<!-- Java 8 은 Javadoc 에 대해서도 lint 를 수행 : 잘못된 doc이 있을 경우 warning이 아닌 error로 처리해서 javadoc 생성을 중지 -->
<doclint>none</doclint>
<excludePackageNames>xit.core.init.custom.*</excludePackageNames>
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</build>
<reporting>
<!--outputDirectory>${basedir}/target/site</outputDirectory-->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<!--version>3.3.0</version-->
<reportSets>
<reportSet>
<id>sunlink</id>
<reports>
<report>javadoc</report>
</reports>
<inherited>true</inherited>
<configuration>
<links>
<link>https://docs.oracle.com/javase/8/docs/api/</link>
</links>
</configuration>
</reportSet>
</reportSets>
</plugin>
<!-- JUnit Test Results & EMMA Coverage Reporting -->
<!--
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>emma-maven-plugin</artifactId>
<inherited>true</inherited>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>surefire-report-maven-plugin</artifactId>
<inherited>true</inherited>
<reportSets>
<reportSet>
<reports>
<report>report-only</report>
</reports>
</reportSet>
</reportSets>
</plugin>
-->
<!-- Generating JavaDoc Report -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<!-- Generating Java Source in HTML -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<configuration>
<inputEncoding>${project.encoding}</inputEncoding>
<outputEncoding>${project.encoding}</outputEncoding>
<linkJavadoc>true</linkJavadoc>
<javadocDir>apidocs</javadocDir>
</configuration>
</plugin>
</plugins>
</reporting>
<profiles>
<!-- default : local configuration -->
<profile>

Loading…
Cancel
Save