Looks like the pom files in the sample directories are pointing to invalid parents. Please take a look at the samples/pom.xml file.
On Fri, Dec 13, 2013 at 10:58 PM, Afkham Azeez <[email protected]> wrote: > I downloaded AS 5.2.1 and tried to build the samples. I get the following > error. > > [INFO] Scanning for projects... > > [ERROR] The build could not read 1 project -> [Help 1] > > [ERROR] > > [ERROR] The project org.wso2.appserver:jaxrs_basic:5.2.1 > (/Users/azeez/software/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_basic/pom.xml) > has 1 error > > [ERROR] Non-resolvable parent POM for > org.wso2.appserver:wso2appserver-samples:5.2.1: Failure to find > org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 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 and 'parent.relativePath' points at wrong > local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1, > /Users/azeez/software/wso2as-5.2.1/samples/pom.xml, line 21, column 13 -> > [Help 2] > > [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/ProjectBuildingException > > [ERROR] [Help 2] > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException > > > > Also, > http://docs.wso2.org/display/AS521/Building+and+Running+JAX-RS+Samples, > has several minor mistakes > > -- > *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 <%2B94%2077%203320919> 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 > <http://lk.linkedin.com/in/afkhamazeez>* > > *Lean . Enterprise . Middleware* > -- *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 <http://lk.linkedin.com/in/afkhamazeez>* *Lean . Enterprise . Middleware*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
