Re: [Dev] Getting failure during release:perform operation in ESB 490 M7

2015-09-17 Thread Nirmal Fernando
I think the correct approach should be; mvn release:perform -Darguments="-D
clean.skip=true"

On Thu, Mar 5, 2015 at 7:37 PM, Harsha Kumara  wrote:

> Hi Chanaka,
>
> I think the above exception also encountered in SS release also. Please
> refer "[SS-1.5.0-RC1 Release] Release:perform fails due to a non-existing
> directory"
>
> The suggestion given by the Kishanthan as follow.
>
> Check whether you have maven-clean-plugin defined in this module or its
> parent? If yes, remove that from the build and try again.
>
> Seems the integration/pom.xml has the clean plugin.
>
> Thanks,
> Harsha
>
> On Thu, Mar 5, 2015 at 6:56 PM, Chanaka Fernando 
> wrote:
>
>> Hi Devs,
>>
>> I am getting the below error during the release:perform operation of the
>> ESB 490 M7. Did anybody faced a similar issue before?
>>
>> [INFO] [INFO] WSO2 ESB - Aggregator Module ...
>> SUCCESS [  5.254 s]
>> [INFO] [INFO] WSO2 ESB - Styles Parent ...
>> SUCCESS [  0.461 s]
>> [INFO] [INFO] WSO2 ESB - Styles ..
>> SUCCESS [ 11.103 s]
>> [INFO] [INFO] WSO2 ESB - Samples Parent ..
>> SUCCESS [  0.387 s]
>> [INFO] [INFO] WSO2 ESB - Samples .
>> SUCCESS [01:50 min]
>> [INFO] [INFO] WSO2 ESB - Features Parent .
>> SUCCESS [  0.540 s]
>> [INFO] [INFO] WSO2 ESB - Features Aggregator Module ..
>> SUCCESS [  0.457 s]
>> [INFO] [INFO] WSO2 ESB - Styles Features .
>> SUCCESS [  8.485 s]
>> [INFO] [INFO] WSO2 ESB - Samples Features 
>> SUCCESS [ 46.188 s]
>> [INFO] [INFO] WSO2 ESB - P2 Profile Generation ...
>> SUCCESS [01:12 min]
>> [INFO] [INFO] WSO2 ESB - Distribution 
>> SUCCESS [  01:53 h]
>> [INFO] [INFO] WSO2 ESB - Integration Parent ..
>> SUCCESS [  0.619 s]
>> [INFO] [INFO] integration-test-common 
>> SUCCESS [  8.673 s]
>> [INFO] [INFO] ESB Integration Test Admin Clients .
>> FAILURE [  4.971 s]
>> [INFO] [INFO] ESB Integration Test UI Pages .. SKIPPED
>> [INFO] [INFO] ESB Integration Test Common Utils .. SKIPPED
>> [INFO] [INFO] ESB Integration Extensions . SKIPPED
>> [INFO] [INFO] ESB Test Service Module  SKIPPED
>> [INFO] [INFO] ESB test Module-Transport .. SKIPPED
>> [INFO] [INFO] ESB test Module-Service  SKIPPED
>> [INFO] [INFO] ESB test Module-mediator-1 . SKIPPED
>> [INFO] [INFO] ESB test Module-mediator-2 . SKIPPED
>> [INFO] [INFO] ESB test Module - Test Patches . SKIPPED
>> [INFO] [INFO] ESB test Module - Sample ... SKIPPED
>> [INFO] [INFO] Integration Test Reporting . SKIPPED
>> [INFO] [INFO] ESB test Module - Sample ... SKIPPED
>> [INFO] [INFO]
>> 
>> [INFO] [INFO] BUILD FAILURE
>> [INFO] [INFO]
>> 
>> [INFO] [INFO] Total time: 01:58 h
>> [INFO] [INFO] Finished at: 2015-03-05T18:43:24+05:30
>> [INFO] [INFO] Final Memory: 107M/929M
>> [INFO] [INFO]
>> 
>> [INFO] [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-source-plugin:2.4:jar (attach-sources) on
>> project admin-clients: Error adding directory to source archive.
>> /home/wso2builder/ESB490-M7/product-esb/target/checkout/modules/integration/test-common/admin-clients/target/maven-shared-archive-resources
>> isn't a directory. -> [Help 1]
>> [INFO] [ERROR]
>> [INFO] [ERROR] To see the full stack trace of the errors, re-run Maven
>> with the -e switch.
>> [INFO] [ERROR] Re-run Maven using the -X switch to enable full debug
>> logging.
>> [INFO] [ERROR]
>> [INFO] [ERROR] For more information about the errors and possible
>> solutions, please read the following articles:
>> [INFO] [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>> [INFO] [ERROR]
>> [INFO] [ERROR] After correcting the problems, you can resume the build
>> with the command
>> [INFO] [ERROR]   mvn  -rf :admin-clients
>> [INFO]
>> 
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] WSO2 ESB - Aggregator Module ... FAILURE [
>> 02:06 h]
>> [INFO] WSO2 ESB - Styles Parent ... SKIPPED
>> [INFO] WSO2 ESB - Styles .. SKIPPED
>> [INFO] WSO2 ESB - Samples Parent .. SKIPPED
>> [INFO] WSO2 ESB - Samples . SKIPPED
>> [INFO] WSO2 ESB - Features Parent .

Re: [Dev] Getting failure during release:perform operation in ESB 490 M7

2015-03-05 Thread Harsha Kumara
Hi Chanaka,

I think the above exception also encountered in SS release also. Please
refer "[SS-1.5.0-RC1 Release] Release:perform fails due to a non-existing
directory"

The suggestion given by the Kishanthan as follow.

Check whether you have maven-clean-plugin defined in this module or its
parent? If yes, remove that from the build and try again.

Seems the integration/pom.xml has the clean plugin.

Thanks,
Harsha

On Thu, Mar 5, 2015 at 6:56 PM, Chanaka Fernando  wrote:

> Hi Devs,
>
> I am getting the below error during the release:perform operation of the
> ESB 490 M7. Did anybody faced a similar issue before?
>
> [INFO] [INFO] WSO2 ESB - Aggregator Module ... SUCCESS
> [  5.254 s]
> [INFO] [INFO] WSO2 ESB - Styles Parent ... SUCCESS
> [  0.461 s]
> [INFO] [INFO] WSO2 ESB - Styles .. SUCCESS
> [ 11.103 s]
> [INFO] [INFO] WSO2 ESB - Samples Parent .. SUCCESS
> [  0.387 s]
> [INFO] [INFO] WSO2 ESB - Samples . SUCCESS
> [01:50 min]
> [INFO] [INFO] WSO2 ESB - Features Parent . SUCCESS
> [  0.540 s]
> [INFO] [INFO] WSO2 ESB - Features Aggregator Module .. SUCCESS
> [  0.457 s]
> [INFO] [INFO] WSO2 ESB - Styles Features . SUCCESS
> [  8.485 s]
> [INFO] [INFO] WSO2 ESB - Samples Features  SUCCESS
> [ 46.188 s]
> [INFO] [INFO] WSO2 ESB - P2 Profile Generation ... SUCCESS
> [01:12 min]
> [INFO] [INFO] WSO2 ESB - Distribution  SUCCESS
> [  01:53 h]
> [INFO] [INFO] WSO2 ESB - Integration Parent .. SUCCESS
> [  0.619 s]
> [INFO] [INFO] integration-test-common  SUCCESS
> [  8.673 s]
> [INFO] [INFO] ESB Integration Test Admin Clients . FAILURE
> [  4.971 s]
> [INFO] [INFO] ESB Integration Test UI Pages .. SKIPPED
> [INFO] [INFO] ESB Integration Test Common Utils .. SKIPPED
> [INFO] [INFO] ESB Integration Extensions . SKIPPED
> [INFO] [INFO] ESB Test Service Module  SKIPPED
> [INFO] [INFO] ESB test Module-Transport .. SKIPPED
> [INFO] [INFO] ESB test Module-Service  SKIPPED
> [INFO] [INFO] ESB test Module-mediator-1 . SKIPPED
> [INFO] [INFO] ESB test Module-mediator-2 . SKIPPED
> [INFO] [INFO] ESB test Module - Test Patches . SKIPPED
> [INFO] [INFO] ESB test Module - Sample ... SKIPPED
> [INFO] [INFO] Integration Test Reporting . SKIPPED
> [INFO] [INFO] ESB test Module - Sample ... SKIPPED
> [INFO] [INFO]
> 
> [INFO] [INFO] BUILD FAILURE
> [INFO] [INFO]
> 
> [INFO] [INFO] Total time: 01:58 h
> [INFO] [INFO] Finished at: 2015-03-05T18:43:24+05:30
> [INFO] [INFO] Final Memory: 107M/929M
> [INFO] [INFO]
> 
> [INFO] [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-source-plugin:2.4:jar (attach-sources) on
> project admin-clients: Error adding directory to source archive.
> /home/wso2builder/ESB490-M7/product-esb/target/checkout/modules/integration/test-common/admin-clients/target/maven-shared-archive-resources
> isn't a directory. -> [Help 1]
> [INFO] [ERROR]
> [INFO] [ERROR] To see the full stack trace of the errors, re-run Maven
> with the -e switch.
> [INFO] [ERROR] Re-run Maven using the -X switch to enable full debug
> logging.
> [INFO] [ERROR]
> [INFO] [ERROR] For more information about the errors and possible
> solutions, please read the following articles:
> [INFO] [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [INFO] [ERROR]
> [INFO] [ERROR] After correcting the problems, you can resume the build
> with the command
> [INFO] [ERROR]   mvn  -rf :admin-clients
> [INFO]
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] WSO2 ESB - Aggregator Module ... FAILURE [
> 02:06 h]
> [INFO] WSO2 ESB - Styles Parent ... SKIPPED
> [INFO] WSO2 ESB - Styles .. SKIPPED
> [INFO] WSO2 ESB - Samples Parent .. SKIPPED
> [INFO] WSO2 ESB - Samples . SKIPPED
> [INFO] WSO2 ESB - Features Parent . SKIPPED
> [INFO] WSO2 ESB - Features Aggregator Module .. SKIPPED
> [INFO] WSO2 ESB - Styles Features . SKIPPED
> [INFO] WSO2 ESB - Samples Features  SKIPPED
> [INFO] WSO2 ESB - P2 Profile Generation 

[Dev] Getting failure during release:perform operation in ESB 490 M7

2015-03-05 Thread Chanaka Fernando
Hi Devs,

I am getting the below error during the release:perform operation of the
ESB 490 M7. Did anybody faced a similar issue before?

[INFO] [INFO] WSO2 ESB - Aggregator Module ... SUCCESS
[  5.254 s]
[INFO] [INFO] WSO2 ESB - Styles Parent ... SUCCESS
[  0.461 s]
[INFO] [INFO] WSO2 ESB - Styles .. SUCCESS
[ 11.103 s]
[INFO] [INFO] WSO2 ESB - Samples Parent .. SUCCESS
[  0.387 s]
[INFO] [INFO] WSO2 ESB - Samples . SUCCESS
[01:50 min]
[INFO] [INFO] WSO2 ESB - Features Parent . SUCCESS
[  0.540 s]
[INFO] [INFO] WSO2 ESB - Features Aggregator Module .. SUCCESS
[  0.457 s]
[INFO] [INFO] WSO2 ESB - Styles Features . SUCCESS
[  8.485 s]
[INFO] [INFO] WSO2 ESB - Samples Features  SUCCESS
[ 46.188 s]
[INFO] [INFO] WSO2 ESB - P2 Profile Generation ... SUCCESS
[01:12 min]
[INFO] [INFO] WSO2 ESB - Distribution  SUCCESS
[  01:53 h]
[INFO] [INFO] WSO2 ESB - Integration Parent .. SUCCESS
[  0.619 s]
[INFO] [INFO] integration-test-common  SUCCESS
[  8.673 s]
[INFO] [INFO] ESB Integration Test Admin Clients . FAILURE
[  4.971 s]
[INFO] [INFO] ESB Integration Test UI Pages .. SKIPPED
[INFO] [INFO] ESB Integration Test Common Utils .. SKIPPED
[INFO] [INFO] ESB Integration Extensions . SKIPPED
[INFO] [INFO] ESB Test Service Module  SKIPPED
[INFO] [INFO] ESB test Module-Transport .. SKIPPED
[INFO] [INFO] ESB test Module-Service  SKIPPED
[INFO] [INFO] ESB test Module-mediator-1 . SKIPPED
[INFO] [INFO] ESB test Module-mediator-2 . SKIPPED
[INFO] [INFO] ESB test Module - Test Patches . SKIPPED
[INFO] [INFO] ESB test Module - Sample ... SKIPPED
[INFO] [INFO] Integration Test Reporting . SKIPPED
[INFO] [INFO] ESB test Module - Sample ... SKIPPED
[INFO] [INFO]

[INFO] [INFO] BUILD FAILURE
[INFO] [INFO]

[INFO] [INFO] Total time: 01:58 h
[INFO] [INFO] Finished at: 2015-03-05T18:43:24+05:30
[INFO] [INFO] Final Memory: 107M/929M
[INFO] [INFO]

[INFO] [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-source-plugin:2.4:jar (attach-sources) on
project admin-clients: Error adding directory to source archive.
/home/wso2builder/ESB490-M7/product-esb/target/checkout/modules/integration/test-common/admin-clients/target/maven-shared-archive-resources
isn't a directory. -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug
logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible
solutions, please read the following articles:
[INFO] [ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO] [ERROR]
[INFO] [ERROR] After correcting the problems, you can resume the build with
the command
[INFO] [ERROR]   mvn  -rf :admin-clients
[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] WSO2 ESB - Aggregator Module ... FAILURE [
02:06 h]
[INFO] WSO2 ESB - Styles Parent ... SKIPPED
[INFO] WSO2 ESB - Styles .. SKIPPED
[INFO] WSO2 ESB - Samples Parent .. SKIPPED
[INFO] WSO2 ESB - Samples . SKIPPED
[INFO] WSO2 ESB - Features Parent . SKIPPED
[INFO] WSO2 ESB - Features Aggregator Module .. SKIPPED
[INFO] WSO2 ESB - Styles Features . SKIPPED
[INFO] WSO2 ESB - Samples Features  SKIPPED
[INFO] WSO2 ESB - P2 Profile Generation ... SKIPPED
[INFO] WSO2 ESB - Distribution  SKIPPED
[INFO] WSO2 ESB - Integration Parent .. SKIPPED
[INFO] integration-test-common  SKIPPED
[INFO] ESB Integration Test Admin Clients . SKIPPED
[INFO] ESB Integration Test UI Pages .. SKIPPED
[INFO] ESB Integration Test Common Utils .. SKIPPED
[INFO] ESB Integration Extensions . SKIPPED
[INFO] ESB Test Service Module  SKIPPED
[INFO] ESB test Module-Transport .. SKIPPED
[INFO] ESB test