我正在尝试使用cxf-codegen-plugin从我的wsdl文件生成源代码.在调用wsdl2java手册时,会生成所需的类,但在使用mvn generate-sources时没有任何反应,我收到消息"项目无需目标".直接调用插件没有帮助.
我朋友的提取物如下:
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>2.5.2</version>
<executions>
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<configuration>
<sourceRoot>${project.build.directory}/generated/cxf</sourceRoot>
<wsdlOptions>
<wsdlOption>
<wsdl>${basedir}/src/main/MyServiceInterface.wsdl</wsdl>
</wsdlOption>
</wsdlOptions>
</configuration>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
</executions>
</plugin>
Run Code Online (Sandbox Code Playgroud) 目前我正在使用build in function dist来计算我在R中的距离矩阵.
dist(featureVector,method="manhattan")
Run Code Online (Sandbox Code Playgroud)
这是目前应用程序的瓶颈,因此我们的想法是平衡这项任务(概念上这应该是可能的)
搜索谷歌和这个论坛没有成功.
有人有想法吗?