Execute maven plugins

Answered

In am using Intellij 2017. In 2016 this configurations works wit no problem.

I am trying to run a plugin using the option "Create Run/Debug Configuration" using:

Directory: .../thedirectory/....

Command Line: 

axis2-wsdl2code:wsdl2code@serviceOperations

Profile: <empty>

 

But I have this error all time:

[ERROR] Could not find goal 'wsdl2code@serviceOperations' in plugin org.apache.axis2:axis2-wsdl2code-maven-plugin:1.7.0 among available goals wsdl2code -> [Help 1]
org.apache.maven.plugin.MojoNotFoundException: Could not find goal 'wsdl2code@serviceOperations' in plugin org.apache.axis2:axis2-wsdl2code-maven-plugin:1.7.0 among available goals wsdl2code

I try also to use the full plugin name and full command. Here is the part of the pom.xml:

<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<id>serviceOperations</id>
<goals>
<goal>wsdl2code</goal>
</goals>
<configuration>
<packageName>xxx</packageName>
<wsdlFile>${basedir}/xxx</wsdlFile>
<databindingName>xmlbeans</databindingName>
<generateServerSide>true</generateServerSide>
<generateServerSideInterface>true</generateServerSideInterface>
<generateServicesXml>true</generateServicesXml>
</configuration>
</execution>
</executions>
</plugin>
0
1 comment

You should be able to run it from the Maven Projects tool window:

0

Please sign in to leave a comment.