Folks who are in SL from AS team, KasunG/SupunM etc. please fix these POMs properly ASAP, and make it available to all users. Shipping samples that don't work is a cardinal sin! Shipping samples that don't even build is much worse!
On Sat, Dec 14, 2013 at 2:37 AM, Kasun Gajasinghe <kas...@wso2.com> wrote: > Hi Azeez, > > You can also use the ant scripts that is provided with each sample to > build them for the moment. We need to fix this issue ASAP. I think we can > deploy the missing poms to nexus to fix this issue. I guess this issue > was not surfaced during smoke testing because the missing poms gets copied > to local m2 repo during the platform build. I think we need to test the > samples with a clean repo too. > > We have done some more isolation of samples like Jaxws-Jaxrs to reduce > this kind of errors, and to provide the users a clear idea about > dependencies of samples (seems those have gotten lost too). > > Hi Sagara, > > I was able to re-produce the issue [1]. Will fix it for the next release. > > [1] https://wso2.org/jira/browse/WSAS-1641 > > > On Fri, Dec 13, 2013 at 11:57 PM, Sagara Gunathunga <sag...@wso2.com>wrote: > >> >> >> Following parent POM entry has been added to the top level sample POM >> file that cause this issue ( we didn't have this entry on earlier versions) >> . I think top level sample POM file should not refer to any other parents >> POMs. >> >> <parent> >> <groupId>org.wso2.appserver</groupId> >> <artifactId>wso2appserver-samples-parent</artifactId> >> <version>5.2.1</version> >> </parent> >> >> >> Corrected POM file is attached here, please replace >> "wso2as-5.2.1/samples/pom.xml" file and this will solve your issue. >> >> >> Thanks ! >> >> >> >> >> On Fri, Dec 13, 2013 at 10:52 AM, Sagara Gunathunga <sag...@wso2.com>wrote: >> >>> >>> >>> >>> On Fri, Dec 13, 2013 at 10:42 AM, Afkham Azeez <az...@wso2.com> wrote: >>> >>>> >>>> >>>> >>>> On Fri, Dec 13, 2013 at 11:08 PM, Afkham Azeez <az...@wso2.com> wrote: >>>> >>>>> >>>>> >>>>> >>>>> On Fri, Dec 13, 2013 at 11:06 PM, Sagara Gunathunga >>>>> <sag...@wso2.com>wrote: >>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Fri, Dec 13, 2013 at 10:34 AM, Afkham Azeez <az...@wso2.com>wrote: >>>>>> >>>>>>> Looks like the pom files in the sample directories are pointing to >>>>>>> invalid parents. Please take a look at the samples/pom.xml file. >>>>>>> >>>>>> >>>>>> >>>>>> It seems we have missed some other sample issues as well >>>>>> https://wso2.org/jira/browse/WSAS-1641 :( >>>>>> >>>>> >>>>> So even basic testing of samples is not before releasing? No automated >>>>> tests that cover all the samples? >>>>> >>>> >>>> If the POMs are in error, please provide me with the correct POMs. I >>>> need to try out some stuff urgently. >>>> >>> >>> Could you please try with DevS JAX-RS wizard for the time being ? it's >>> easy and quicker. As I'm in middle of a workshop can't attend to fix POM >>> file myself for next few hours. >>> >>> Thanks ! >>> >>>> >>>> >>>>> >>>>>> Thanks ! >>>>>> >>>>>>> >>>>>>> >>>>>>> On Fri, Dec 13, 2013 at 10:58 PM, Afkham Azeez <az...@wso2.com>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: **az...@wso2.com* <az...@wso2.com> >>>>>>>> * 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: **az...@wso2.com* <az...@wso2.com> >>>>>>> * 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* >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Sagara Gunathunga >>>>>> >>>>>> Senior Technical Lead; WSO2, Inc.; http://wso2.com >>>>>> V.P Apache Web Services; http://ws.apache.org/ >>>>>> Linkedin; http://www.linkedin.com/in/ssagara >>>>>> Blog ; http://ssagara.blogspot.com >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> *Afkham Azeez* >>>>> Director of Architecture; WSO2, Inc.; http://wso2.com >>>>> Member; Apache Software Foundation; http://www.apache.org/ >>>>> * <http://www.apache.org/>* >>>>> *email: **az...@wso2.com* <az...@wso2.com> >>>>> * 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: **az...@wso2.com* <az...@wso2.com> >>>> * 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* >>>> >>> >>> >>> >>> -- >>> Sagara Gunathunga >>> >>> Senior Technical Lead; WSO2, Inc.; http://wso2.com >>> V.P Apache Web Services; http://ws.apache.org/ >>> Linkedin; http://www.linkedin.com/in/ssagara >>> Blog ; http://ssagara.blogspot.com >>> >>> >> >> >> -- >> Sagara Gunathunga >> >> Senior Technical Lead; WSO2, Inc.; http://wso2.com >> V.P Apache Web Services; http://ws.apache.org/ >> Linkedin; http://www.linkedin.com/in/ssagara >> Blog ; http://ssagara.blogspot.com >> >> > > > -- > *Kasun Gajasinghe* > Software Engineer; > WSO2 Inc.; http://wso2.com > > > , > *email: * > *kasung AT spamfree wso2.com <http://wso2.com> ** cell: **+94 (77) > 678-0813 <%2B94%20%2877%29%20678-0813>* > *linked-in: *http://lk.linkedin.com/in/gajasinghe > > > > *blog: **http://kasunbg.org* <http://kasunbg.org> > > > > *twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg> > > > > -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * <http://www.apache.org/>* *email: **az...@wso2.com* <az...@wso2.com> * 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 Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev