Thanks Pradeeban. will try it :)

On Thu, Jul 5, 2012 at 5:28 PM, Kathiravelu Pradeeban <[email protected]>wrote:

> Dileepa,
> Can you give a try to build the feature again with -U flag set?
> mvn clean install -U
>
> The failure is cached locally for you. Force update.
>
> Regards,
> Pradeeban.
>
>
> On Thu, Jul 5, 2012 at 5:24 PM, Dileepa Jayakody <[email protected]> wrote:
>
>> Hi Azeez,
>>
>> I suspect this happens because of failing to resolve *
>> org.wso2.carbon.ndatasource.feature* featureArtifact in the repo-gen
>> phase.
>> I tried building ndatasource feature, but failed due to below;  Has
>> someone built ndatasource feature successfully?
>>
>> [INFO] WSO2 Carbon - New Datasource Feature Aggregator Module  SUCCESS
>> [1.031s]
>> [INFO] WSO2 Carbon - New Datasource Management UI Feature  FAILURE
>> [0.331s]
>> [INFO] WSO2 Carbon - New Datasource Management Feature ... SKIPPED
>>  [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 2.613s
>> [INFO] Finished at: Thu Jul 05 17:17:24 IST 2012
>> [INFO] Final Memory: 6M/490M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal on project
>> org.wso2.carbon.ndatasource.ui.feature: Could not resolve dependencies for
>> project
>> org.wso2.carbon:org.wso2.carbon.ndatasource.ui.feature:pom:4.0.0-SNAPSHOT:
>> Failure to find
>> org.wso2.carbon:org.wso2.carbon.ndatasource.ui:jar:4.0.0-SNAPSHOT in
>> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
>> the local repository, resolution will not be reattempted until the update
>> interval of wso2-nexus has elapsed or updates are forced -> [Help 1]
>>
>> Thanks,
>> Dileepa
>> On Thu, Jul 5, 2012 at 4:34 PM, Afkham Azeez <[email protected]> wrote:
>>
>>> [INFO] Scanning for projects...
>>> [INFO]
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building WSO2 Carbon - Feature Repository 4.0.0-SNAPSHOT
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO]
>>> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
>>> wso2carbon-feature-repository ---
>>> [INFO]
>>> [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @
>>> wso2carbon-feature-repository ---
>>> [INFO] Verifying module descriptor ...
>>> [INFO] Pom descriptor modification detected.
>>> [INFO] Deleting
>>> /Users/azeez/projects/wso2/org/carbon/platform/trunk/features/repository/target
>>> [INFO]
>>> [INFO] --- carbon-p2-plugin:1.5-SNAPSHOT:p2-repo-gen
>>> (2-p2-repo-generation) @ wso2carbon-feature-repository ---
>>> [ERROR]
>>> java.lang.NullPointerException
>>> at
>>> org.wso2.maven.p2.FeatureArtifact.resolveVersion(FeatureArtifact.java:91)
>>> at
>>> org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:317)
>>>  at
>>> org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java:197)
>>> at
>>> org.wso2.maven.p2.RepositoryGenMojo.execute(RepositoryGenMojo.java:191)
>>>  at
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> at
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>>  at
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>>> at
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>>>  at
>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>>> at
>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>>>  at
>>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>>> at
>>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>>>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>>  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>>  at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>  at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>  at java.lang.reflect.Method.invoke(Method.java:597)
>>> at
>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>>>  at
>>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>>> at
>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>>>  at
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 1:13.402s
>>> [INFO] Finished at: Thu Jul 05 16:31:44 IST 2012
>>> [INFO] Final Memory: 6M/81M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal
>>> org.wso2.maven:carbon-p2-plugin:1.5-SNAPSHOT:p2-repo-gen
>>> (2-p2-repo-generation) on project wso2carbon-feature-repository: 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
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * <http://www.apache.org/>**
>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
>
> --
> Kathiravelu Pradeeban.
> Cloud Technologies Team.
> WSO2 Inc.
>
> Blog: [Llovizna] http://kkpradeeban.blogspot.com/
> M: +94 776 477 976
>
>


-- 
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

Reply via email to