Hi Rajika, This might be similar to https://wso2.org/jira/browse/CARBON-13592. When there is an erroneous featureArtifact defined in p2-repo-gen goal, the plugin just throws a NPE without indicating the erroneous artifact. I fixed this by indicating what featureArtifact is giving the error (this is fixed in carbon p2-plugin 1.5.1).
@Lakmali, Can you please verify by using carbon-p2-plugin 1.5.1 in DSS p2-profile Thanks, Dileepa On Mon, Oct 8, 2012 at 12:58 PM, Rajika Kumarasiri <[email protected]> wrote: > The p2 profile plugin just throw a NPE instead of giving useful error > message. > > Rajika > > > [INFO] Reactor Summary: > [INFO] > [INFO] WSO2 DataServices Parent .......................... SUCCESS [0.409s] > [INFO] WSO2 DataServices Styles Parent ................... SUCCESS [0.068s] > [INFO] DataServices UI styles ............................ SUCCESS [4.740s] > [INFO] WSO2 Stratos DSS - UI styles ...................... SUCCESS [1.032s] > [INFO] WSO2 DataServices Samples Parent .................. SUCCESS [0.315s] > [INFO] DataServices Clients .............................. SUCCESS > [25.465s] > [INFO] WSO2 DataServices Features Parent ................. SUCCESS [0.050s] > [INFO] WSO2 DataServices - Style Features ................ SUCCESS [0.967s] > [INFO] WSO2 Stratos DSS - Features Aggregator Module ..... SUCCESS [0.059s] > [INFO] WSO2 Stratos DSS - Style Features ................. SUCCESS [0.177s] > [INFO] WSO2 Stratos DSS - Login User Interface ........... SUCCESS [1.759s] > [INFO] WSO2 Stratos DSS - Deployment Features ............ SUCCESS [0.245s] > [INFO] WSO2 Stratos Data Services Server - Dashboard UI .. SUCCESS [1.613s] > [INFO] WSO2 Stratos DSS - Dashboard UI Features .......... SUCCESS [0.264s] > [INFO] WSO2 DataServices - DataServices Profile Generation FAILURE > [21.950s] > [INFO] WSO2 Data Services Server Distribution ............ SKIPPED > [INFO] WSO2 DSS - Integration Tests ...................... SKIPPED > [INFO] DataService Integration test module ............... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1:00.475s > [INFO] Finished at: Mon Oct 08 12:53:50 IST 2012 > [INFO] Final Memory: 46M/232M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.wso2.maven:carbon-p2-plugin:1.5:p2-profile-gen > (3-p2-profile-generation) on project wso2dataservices-profile-gen: null: > MojoExecutionException: NullPointerException -> [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/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :wso2dataservices-profile-gen > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Dileepa Jayakody, Software Engineer, WSO2 Inc. Lean . Enterprise . Middleware Mobile : +94777-857616
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
