Hi Sithumini,
I think you have to add plugin repository in your pom.xml

<pluginRepositories>
        <pluginRepository>
            <id>wso2-maven-repo</id>
            
<url>http://maven.wso2.org/nexus/content/repositories/wso2maven2</url>
        </pluginRepository>
</pluginRepositories>


Regards,

Senduran




On Fri, Aug 29, 2014 at 4:59 PM, Sithumini Senevirathne <sithumi...@wso2.com
> wrote:

> Hi,
> I was creating a feature from carbon component (Sample Student Manager
> carbon component). I was working through the below article.
>
> http://wso2.com/library/tutorials/2014/03/how-to-create-a-feature-from-wso2-carbon-component/
> Maven build was a failure. can somebody help me with this?
>
> Below is the log trace.
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Building WSO2 Carbon - Student Manager Server Feature 4.2.0
>
> [INFO]
> ------------------------------------------------------------------------
>
> [WARNING] The POM for org.wso2.maven:carbon-p2-plugin:jar:1.5.3 is
> missing, no dependency information available
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Reactor Summary:
>
> [INFO]
>
> [INFO] WSO2 Carbon - Student Manager ..................... SUCCESS [0.119s]
>
> [INFO] WSO2 Carbon - Student Manager Components .......... SUCCESS [0.004s]
>
> [INFO] WSO2 Carbon - Student Manager Stub ................ SUCCESS [3.710s]
>
> [INFO] WSO2 Carbon - Student Manager Server Component .... SUCCESS [0.130s]
>
> [INFO] WSO2 Carbon - Student Manager Features ............ SUCCESS [0.004s]
>
> [INFO] WSO2 Carbon - Student Manager Server Feature ...... FAILURE [0.004s]
>
> [INFO] WSO2 Carbon - Student Manager UI Feature .......... SKIPPED
>
> [INFO] WSO2 Carbon - Student Manager Aggregate Feature ... SKIPPED
>
> [INFO] WSO2 Carbon - Student Manager Feature Repository .. SKIPPED
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 4.804s
>
> [INFO] Finished at: Fri Aug 29 16:17:21 IST 2014
>
> [INFO] Final Memory: 20M/49M
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Plugin org.wso2.maven:carbon-p2-plugin:1.5.3 or one of its
> dependencies could not be resolved: Failed to read artifact descriptor for
> org.wso2.maven:carbon-p2-plugin:jar:1.5.3: Failure to find
> org.wso2.maven:carbon-p2-plugin:pom:1.5.3 in
> http://repo.maven.apache.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central has
> elapsed or updates are forced -> [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/PluginResolutionException
>
> Piyums-MacBook-Pro:student-manager sithumini$
>
> Thank you,
> Regards,
> Sithumini
> --
> --
> Sithumini Senevirathne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> email: sithumi...@wso2.com,   mobile: +94 756977999
>



-- 
*Senduran *
Software Engineer,
WSO2, Inc.;  http://wso2.com/ <http://wso2.com/>
Mobile: +94 77 952 6548
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to