Hi Sithumini,

Please refer the pom.xml file in the following svn location.

https://svn.wso2.com/wso2/interns/2013/suhanr/WSO2CarbonStudentManager/student-manager-features/org.wso2.carbon.student.mgt.server.feature/pom.xml

you might want to add the following repositories to your pom.xml file.

     <pluginRepositories>
        <pluginRepository>
            <id>central</id>
            <url>http://repo1.maven.org/maven2</url>
        </pluginRepository>
        <pluginRepository>
            <id>wso2-maven2-repository-1</id>
            <url>http://dist.wso2.org/maven2</url>
        </pluginRepository>
        <pluginRepository>
            <id>wso2-maven2-repository-2</id>
            <url>http://dist.wso2.org/snapshots/maven2</url>
        </pluginRepository>
     </pluginRepositories>



Thanks,
Suhan


On Sat, Aug 30, 2014 at 9:13 PM, Firzhan Naqash <[email protected]> wrote:

> Hi,
>
> carbon4-kernel's parent pom has the following plugin repositories. You can
> try out them based on your necessity.
>
> <pluginRepositories>
>         <pluginRepository>
>             <id>wso2.releases</id>
>             <name>WSO2 internal Repository</name>
>             <url>
> http://maven.wso2.org/nexus/content/repositories/releases/</url>
>             <releases>
>                 <enabled>true</enabled>
>                 <updatePolicy>daily</updatePolicy>
>                 <checksumPolicy>ignore</checksumPolicy>
>             </releases>
>         </pluginRepository>
>
>         <pluginRepository>
>             <id>wso2.snapshots</id>
>             <name>Apache Snapshot Repository</name>
>             <url>
> http://maven.wso2.org/nexus/content/repositories/snapshots/</url>
>             <snapshots>
>                 <enabled>true</enabled>
>                 <updatePolicy>daily</updatePolicy>
>             </snapshots>
>             <releases>
>                 <enabled>false</enabled>
>             </releases>
>         </pluginRepository>
>
>         <pluginRepository>
> <id>wso2-nexus</id>
>  <name>WSO2 internal Repository</name>
> <url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
>  <releases>
> <enabled>true</enabled>
> <updatePolicy>daily</updatePolicy>
>  <checksumPolicy>ignore</checksumPolicy>
> </releases>
> </pluginRepository>
>
>   </pluginRepositories>
>
> You can use the preferred nexus plugin repository based on your need.
>
>
>
>
>
> Regards,
> Firzhan
>
>
> On Sat, Aug 30, 2014 at 8:42 PM, Lochana Menikarachchi <[email protected]>
> wrote:
>
>> Here is what I have in my pom.xml file.. This works; but not sure what
>> repository is for what..
>>     <pluginRepositories>
>>         <pluginRepository>
>>             <id>wso2-Nexus</id>
>>             <name>WSO2 Repository</name>
>>             <url>http://dist.wso2.org/maven2/</url>
>>         </pluginRepository>
>>     </pluginRepositories>
>>
>>
>> On Fri, Aug 29, 2014 at 5:04 PM, Senduran Balasubramaniyam <
>> [email protected]> wrote:
>>
>>> 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 <
>>> [email protected]> 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: [email protected],   mobile: +94 756977999
>>>>
>>>
>>>
>>>
>>> --
>>> *Senduran *
>>> Software Engineer,
>>> WSO2, Inc.;  http://wso2.com/ <http://wso2.com/>
>>> Mobile: +94 77 952 6548
>>>
>>
>>
>>
>> --
>> Lochana Menikarachchi
>> Senior Tech Lead
>> WSO2 Inc.
>>
>
>


-- 
Suhan Dharmasuriya
Software Engineer - Test Automation

*WSO2, Inc. *

lean . enterprise . middleware
Tel: +94 112 145345
Mob: +94 779 869138
Blog: http://suhancoold.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to