I'm trying to deploy on websphere 6.1 using the *was6-maven-plugin* but I
have a trouble executing servicedeploy goal...
The error that maven describes is the following:

[ERROR] BUILD FAILED
...\was6-maven-plugin\was6plugin-build.xml:55: taskdef class
com.ibm.websphere.ant.tasks.ServiceDeployTask cannot be found

I've already read the page documentation and reviewed ant tasks and I
realized what is missing... but before I'll explain you a scenery
when I try to deploy an ear file (websphere in this case) just using ant, I
have to add a path tag which is generally defined in order to include all
needed jar files to execute some task, all those files corform the
classpath... now, the servicedeploy goal of was6-maven-plugin has a
parameter named classPath, and here is my doubt: I exactly don't know how
this works, because I tried to add it into my pom file but when I run maven
again I got the same error... and also I could notice something rare, that
I'm getting a warning:

[WARNING] Build script does not contain attribute: failonerror

Then I tried to added the <failOnError> too but the same result, I continue
getting the warning...
It looks like I'm not defining the pom well, but I'm not sure...

I have been looking for information or documentation but I didn't found
anything...

Someone know what is happening? Any idea?

Thanks.

Reply via email to