redhat-developer / redhat-developer/vscode-java
jaxws-maven-plugin not picked up for generating sources
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
We have a project which generates java classes from a .wsdl file. Our jenkins server successfully compiles the project from scratch but our Eclipse IDE configuration requires extra maven lifecycle mapping plugin com.coderplus.m2e.jaxws.
VS Code seems not to be picking up the plugin to generate the wsimport sources.
Environment
- Operating System: Windows
- JDK version: JDK 8
- Visual Studio Code version: 1.24.1
- Java extension version: 0.26
Steps To Reproduce
- Open maven project with jaxws-maven-plugin configured
- Wait until java language server finishes
- Expect target/generated-sources/ folder
Current Result
${project.build.directory}/generated-sources/wsimport is not created
Expected Result
wsimport sources are generated
Additional Informations
<plugin>
<groupId>org.jvnet.jax-ws-commons</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<id>wsimport-external-services</id>
<goals>
<goal>wsimport</goal>
</goals>
</execution>
</executions>
<configuration>
<wsdlDirectory>src/main/resources/com/a/b/c/soap</wsdlDirectory>
<wsdlFiles>
<wsdlFile>External_Service.wsdl</wsdlFile>
</wsdlFiles>
<implDestDir>${project.build.directory}/generated-sources/wsimport</implDestDir>
<packageName>com.a.b.c.soap</packageName>
<xjcArgs>
<xjcArg>-mark-generated</xjcArg>
</xjcArgs>
<keep>true</keep>
<genJWS>false</genJWS>
<!-- Needed when JDK_Version >= 8 -->
<vmArgs>
<vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
</vmArgs>
</configuration>
</plugin>
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
org.jvnet.jax-ws-commons:jaxws-maven-plugin で設定された Maven プロジェクトを開き、Java language server の完了を待って問題を再現します。target/generated-sources/wsimport パスを想定される出力先として使用し、Maven プロジェクトのインポートと wsimport ゴールのライフサイクル処理を追跡します。追加の Eclipse-only mapping なしに、VS Code で WSDL からそのディレクトリにソースが生成されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript
- 領域
- build-system, devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100