[ 
http://jira.codehaus.org/browse/MWAS-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=170756#action_170756
 ] 

Jason Pell commented on MWAS-38:
--------------------------------

In addition I just tried your workaround in WPS 6.1.2.2 and it does not fail 
the build when an error occurs.

[INFO] [servicedeploy] Severity:        [error]
[INFO] [servicedeploy] Description:     
PortalScaComplexType.STATEMENTS_PREFERENCE_DETAILS cannot be resolved
[INFO] [servicedeploy] Resource:        UserProfileServicesImpl.java
[INFO] [servicedeploy] Location:        334
[INFO]
[INFO] [servicedeploy] Generating 
/home/jpell/sca/UserProfileServiceApp/target/UserProfileServiceApp-0.1-SNAPSHOT.ear
 despite reported errors. The application may not run correctly until the 
errors are corrected.
[INFO] [servicedeploy] Deployment has completed
[INFO] [servicedeploy] Waiting for background jobs
[INFO]
[INFO] BUILD SUCCESSFUL

And the build task has ignoreErrors="true"

 <target name="servicedeploy">
    <taskdef name="servicedeploy" 
classname="com.ibm.websphere.ant.tasks.ServiceDeployTask"/>
    <servicedeploy 
scaModule="/home/jpell/sca/UserProfileServiceApp/target/UserProfileServiceApp-0.1-SNAPSHOT-sca-assembly.zip"
 wasHome=
"/opt/IBM/WID61/runtimes/bi_v61" 
workingDirectory="/home/jpell/sca/UserProfileServiceApp/target/was6-maven-plugin"
 outputApplication="/h
ome/jpell/sca/UserProfileServiceApp/target/UserProfileServiceApp-0.1-SNAPSHOT.ear"
 noJ2EEDeploy="false" freeForm="false" cleanStagingMod
ules="false" keep="true" ignoreErrors="true" progressMonitor="none" 
clean="false" skipXsdValidate="true"/>
  </target>


> ServiceDeploy failOnError ignored
> ---------------------------------
>
>                 Key: MWAS-38
>                 URL: http://jira.codehaus.org/browse/MWAS-38
>             Project: Maven 2.x WebSphere 6 Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1, 1.1.1
>         Environment: Maven 2.0.9
> WID 6.1.2.2 
>            Reporter: Jason Pell
>            Assignee: David J. M. Karlsen
>            Priority: Critical
>         Attachments: ServiceDeployMojo.java.patch
>
>
> A servicedeploy error which fails to generate the EAR file does not cause the 
> maven build process to fail.
> [INFO] [servicedeploy] A warning message was reported during deployment:
> [INFO] 
> [INFO] [servicedeploy] Severity:        [warning]
> [INFO] [servicedeploy] Description:     CWLBS0003E: The monitored map is not 
> found.
> [INFO] [servicedeploy] Resource:        RetrieveAccountMap_map.mon
> [INFO] [servicedeploy] Folder:  AccountService
> [INFO] [servicedeploy] Location:        2
> [INFO] 
> [INFO] [servicedeploy] An error message was reported during deployment:
> [INFO] 
> [INFO] [servicedeploy] Severity:        [error]
> [INFO] [servicedeploy] Description:     The process does not implement the 
> operation 'ValidateCardNumber' of the port type 
> 'http://someurl.com/Service/0.5/AccountService:AccountServicePortType'.
> [INFO] [servicedeploy] Resource:        AccountServiceProcess.bpel
> [INFO] [servicedeploy] Folder:  AccountService
> [INFO] 
> [INFO] [servicedeploy] Due to errors, 
> /home/developr/Projects/trunk/sca/AccountServiceApp/target/AccountServiceApp-0.1-SNAPSHOT.ear
>  was not created. Run with -ignoreErrors to override.
> [INFO] [servicedeploy] Deployment has completed
> [INFO] [servicedeploy] Waiting for background jobs
> [INFO] [servicedeploy] Deleting workspace
> [ERROR] [servicedeploy] Java Result: 2
> [INFO] 
> [INFO] BUILD SUCCESSFUL
> [INFO] Total time: 1 minute 5 seconds
> [INFO] Return code: 0
> My suggestion would be to apply the same fix as for ejbdeploy
> Verify that the outputApplication exists

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to