Hello
I've defined in my pom:
----------
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>axistools-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>java2wsdl</goal>
</goals>
<configuration><implementationClassName>NotificationsServiceImpl</implementationClassName>
<filename>notifications</filename>
<all>true</all>
<namespace>service.notifications.bs.com</namespace>
<servicePortName>NotificationsServicePort</servicePortName>
<location>http://dummy</location>
<classesDirectory>${project.build.directory}/classes</classesDirectory>
<classOfPortType>com.bs.notifications.service.NotificationService</classOfPortType>
</configuration>
</execution>
</executions>
</plugin>
-------------
When I run mvn axistools:java2wsdl I got the error:
---------------
mvn axistools:java2wsd
l -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'axistools'.
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building ws
[INFO] task-segment: [axistools:java2wsdl]
[INFO]
-------------------------------------------------------------------------
---
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] One or more required plugin parameters are invalid/missing for
'axistools
:java2wsdl'
[0] inside the definition for plugin: 'axistools-maven-plugin'specify the
follow
ing:
<configuration>
...
<filename>VALUE</filename>
</configuration>
-OR-
on the command line, specify: '-DfileName=VALUE'
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring:
org.c
odehaus.mojo:axistools-maven-plugin. Reason: Invalid or missing parameters:
[Moj
o parameter [name: 'filename'; alias: 'null']] for mojo:
org.codehaus.mojo:axist
ools-maven-plugin:1.0:java2wsdl
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:563)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:488)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:458)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.PluginParameterException: Error
configuring:
org.codehaus.mojo:axistools-maven-plugin. Reason: Invalid or missing
parameters:
[Mojo parameter [name: 'filename'; alias: 'null']] for mojo:
org.codehaus.mojo:
axistools-maven-plugin:1.0:java2wsdl
at
org.apache.maven.plugin.DefaultPluginManager.checkRequiredParameters(
DefaultPluginManager.java:809)
at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
tPluginManager.java:574)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:390)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Tue Jan 23 16:05:19 CET 2007
[INFO] Final Memory: 3M/7M
[INFO]
------------------------------------------------------------------------
-------------
I-ve tried to use -Dfilename parameter with the same result.
Am I doing something wrong ?
Thanks in advance
J
--
View this message in context:
http://www.nabble.com/Problem-with-axistools-plugin-tf3064670s177.html#a8523396
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]