Endpoints Framework Maven 플러그인은 Endpoints Framework 프로젝트를 빌드하기 위한 작업 및 구성을 제공합니다. 이 플러그인은 서버 측 및 클라이언트 측 지원을 제공합니다. 서버 측 목표는 주석 처리된 Endpoints Framework 자바 프로젝트 및 클라이언트 라이브러리에서 검색 문서 및 OpenAPI 사양을 생성합니다. 클라이언트 측 목표는 검색 문서를 사용할 수 있을 때 클라이언트 라이브러리를 생성합니다.
Endpoints Framework Maven 플러그인 추가
다음 플러그인 스니펫을 사용하여 pom.xml에 Endpoints Framework Maven 플러그인을 추가합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[[["\u003cp\u003eThe Endpoints Framework Maven plugin is used to build Endpoints Framework projects, offering both server-side and client-side support.\u003c/p\u003e\n"],["\u003cp\u003eServer-side goals of the plugin generate Discovery documents, OpenAPI specifications, and client libraries from an annotated Endpoints Framework Java project.\u003c/p\u003e\n"],["\u003cp\u003eClient-side goals provided by the plugin allow the generation of client libraries when a discovery document is available.\u003c/p\u003e\n"],["\u003cp\u003eThe plugin can be added to a \u003ccode\u003epom.xml\u003c/code\u003e file using a specific plugin snippet, including configuration settings like the hostname.\u003c/p\u003e\n"],["\u003cp\u003eEach plugin goal (\u003ccode\u003eclientLibs\u003c/code\u003e, \u003ccode\u003ediscoveryDocs\u003c/code\u003e, \u003ccode\u003eopenApiDocs\u003c/code\u003e, \u003ccode\u003egenerateSrc\u003c/code\u003e) has configurable parameters that can be set in the \u003ccode\u003epom.xml\u003c/code\u003e or the command line, allowing control over output directories and other options.\u003c/p\u003e\n"]]],[],null,["# Endpoints Framework Maven plugin\n\nThe Endpoints Framework Maven plugin provides tasks and configurations to build\nEndpoints Framework projects. This plugin provides server-side and client-side\nsupport. The *server-side* goals generate Discovery documents and OpenAPI\nspecifications from an annotated Endpoints Framework Java project and client\nlibraries. The *client-side* goal generates client libraries when a\ndiscovery document is available.\n\nAdd the Endpoints Framework Maven plugin\n----------------------------------------\n\nAdd the Endpoints Framework Maven plugin by using the following plugin\nsnippet to your `pom.xml`: \n\n \u003cplugin\u003e\n \u003cgroupId\u003ecom.google.cloud.tools\u003c/groupId\u003e\n \u003cartifactId\u003eendpoints-framework-maven-plugin\u003c/artifactId\u003e\n \u003cversion\u003e1.0.2\u003c/version\u003e\n \u003cconfiguration\u003e\n \u003c!-- plugin configuration --\u003e\n \u003chostname\u003e${endpoints.project.id}.appspot.com\u003c/hostname\u003e\n \u003c/configuration\u003e\n \u003c/plugin\u003e\n\nPlugin goals\n------------\n\nAfter you add the Endpoints Framework Maven plugin, the\nfollowing Endpoints Framework-specific Maven goals are available:\n\n### Server-side\n\n### Client-side\n\nGoal parameters\n---------------\n\nEach goal has associated parameters that you can use. You can specify these\nsettings in the `pom.xml` or in the command line.\n\nTo configure these settings in the `pom.xml`, add the parameter name in the\n`\u003cconfiguration\u003e` section.\n\nAlternatively, to configure these settings in the command line, follow the pattern\n`-D[USER_PROPERTY]=[PARAMETER_VALUE]`.\n\nSee the following sections for a list of the parameters that are available for\neach goal.\n\n### `endpoints-framework:clientLibs`\n\nThis goal generates client libraries from the server-side.\n\n### `endpoints-framework:discoveryDocs`\n\nThis goal generates discovery documents.\n\n### `endpoints-framework:openApiDocs`\n\nThis goal generates OpenAPI documents.\n\n### `endpoints-framework:generateSrc`\n\nThis goal generates client sources from discovery documents.\n\nWhat's next\n-----------\n\n- Explore the plugin code and report issues on [GitHub](https://github.com/GoogleCloudPlatform/endpoints-framework-maven-plugin)."]]