Open senthilalagesan opened 4 years ago
@senthilalagesan We are fixing it in 2.7.1. @vpawar-ai Please confirm.
@senthilalagesan 2.7.1 is available now. Please install it and let us know if you face any issues. Thanks.
Im getting this exception on latest maven build 2.7.1.
can some one share the .application content, Below is the content I used
[ERROR] Failed to execute goal com.tibco.plugins:bw6-maven-plugin:2.7.1:bwdesignUtility (default-cli) on project serviceApplication.application: Value for Tibco Home is empty -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn
below is .application content
<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Hi @yuvarajsivapragasam Please add tibco home and bw home path properties in your pom.xml. Example -
<properties>
<tibco.Home>c:\tibco</tibco.Home>
<bw.Home>\bw\6.6</bw.Home>
</properties>
@vpawar-ai Thanks it works. is there a way just to export an ear, since for completing the validation it took more time ( ~15 mins) in my scenario. mvn com.tibco.plugins:bw6-maven-plugin:bwdesignUtility -DcommandName=validate
[INFO]Validation started for the module [serviceApplication.application] [INFO]No validation errors found for the module [serviceApplication.application] [INFO]Found 0 errors and 0 warnings in module [serviceApplication.application] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 12:39 min [INFO] Finished at: 2020-09-18T11:20:09-07:00 [INFO] ------------------------------------------------------------------------
@yuvarajsivapragasam Please use mvn package
to export an ear.
@vpawar-ai - If I use mvn package to export cant remove the unused resources, my package would have redundant code.
We are not able to execute the test cases using the maven plugin 2.7.0 in TIBCO BW CE 2.5.3, when the application module has shared module used in it.
For example, we are having common logging shared module linked to all our BW CE 2.5.3 application modules . We are not able to execute the test cases against the sub processes in the application module .