I think you have to configure plugin repositories as well.

add nexus repo to plugin repositories..

the artifact is availble in the dist/nexus repos
http://dist.wso2.org/maven2/org/wso2/maven/carbon-p2-plugin/1.5.3/


On Wed, Apr 9, 2014 at 1:40 PM, Punnadi Gunarathna <punn...@wso2.com> wrote:

> Hi All,
>
> I restructured App Factory code base in order to commit to GitHub project.
> I am getting this error when features are built in this new structure.
>
> [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: Could not find artifact
> org.wso2.maven:carbon-p2-plugin:pom:1.5.3 in central (
> http://repo.maven.apache.org/maven2) -> [Help 1]
>
> I have configured below repositories in root parent.
>
>    <repositories>
>       <!-- Before adding ANYTHING in here, please start a discussion on
> the dev list.
>     Ideally the Axis2 build should only use Maven central (which is
> available
>     by default) and nothing else. We had troubles with other repositories
> in
>     the past. Therefore configuring additional repositories here should be
>     considered very carefully. -->
>       <repository>
>          <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>
>       </repository>
>       <repository>
>          <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>
>       </repository>
>       <repository>
>          <id>wso2.snapshots</id>
>          <name>WSO2 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>
>       </repository>
>    </repositories>
>
> I have noted the simillar kind of error in below link also.
> http://builder4.us1.wso2.org:8888/bamboo/browse/WCB007-KER001-10/log
>
> "org.wso2.carbon.appfactory.server.feature feature" pom file is attached
> herewith.
>
> Please share your thought if you are familiar with this error.
>
>
> --
> Thanks and Regards,
>
> Punnadi Gunarathna
> Senior Software Engineer,
> WSO2, Inc.; http://wso2.com <http://wso2>
> Blog: http://hi-my-world.blogspot.com/
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
>
>
>  <http://lalajisureshika.blogspot.com/>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Pradeep Fernando*
Associate Technical Lead;WSO2 Inc.; http://wso2.com

blog: http://pradeepfernando.blogspot.com
m: +94776603662
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to