On Wed, Nov 11, 2015 at 1:10 PM, Afkham Azeez <[email protected]> wrote:
> Can we push that pom to Maven central? > Will that solve the problem?. AFAIU pushing mss-service-parent pom to maven central won't solve the problem, as per the inheritance tree we have to push the org.wso2.carbon.mss.parent pom to the maven central also. Shall we follow the pom structure as in product-as [1], having a root pom for samples and adding the repository there, so we can pack the samples to the distribution? [1]. https://github.com/wso2/product-as/blob/master/modules/samples/pom.xml > > On Tue, Nov 10, 2015 at 11:31 PM, Aruna Karunarathna <[email protected]> > wrote: > >> >> >> On Wed, Nov 11, 2015 at 12:46 PM, Afkham Azeez <[email protected]> wrote: >> >>> sample pom --> mss-service-parent-pom --> mss-parent-pom -> wso2-pom >>> >>> So, sample pom should inherit the WSO2 repo right? >>> >> >> Yes. the above inheritance is correct. >> >> But when building the sample, AFAIU the following artifact is searched in >> the maven central repo. So the sample pom has no idea about the mss-service >> parent? >> >> <parent> >> <artifactId>mss-service-parent</artifactId> >> <groupId>org.wso2.carbon.mss</groupId> >> <version>1.0.0-alpha</version> >> </parent> >> >> >>> On Tue, Nov 10, 2015 at 11:13 PM, Aruna Karunarathna <[email protected]> >>> wrote: >>> >>>> >>>> >>>> On Wed, Nov 11, 2015 at 12:40 PM, Afkham Azeez <[email protected]> wrote: >>>> >>>>> Since we are extending from the wso2 pom, don't we automatically >>>>> inherit the repo? >>>>> >>>> Yes, for the git repository it does. But the sample inside the >>>> distribution there is no inheritance. >>>> >>>> >>>>> On Tue, Nov 10, 2015 at 11:06 PM, Aruna Karunarathna <[email protected]> >>>>> wrote: >>>>> >>>>>> Without building the product-mss repo, can't build the helloworld >>>>>> sample. [1] >>>>>> >>>>>> After adding the wso2-nexus repo was able to build. I think we need >>>>>> to mention in the docs for alpha release and fix this properly in next >>>>>> release. >>>>>> >>>>>> Following changes required to build in clean repo. >>>>>> >>>>>> 1. Remove the relative path in the pom.xml. >>>>>> 2. add the wso2-nexus repository. >>>>>> <repositories> >>>>>> <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> >>>>>> </repositories> >>>>>> >>>>>> >>>>>> [1]. >>>>>> https://github.com/wso2/product-mss/blob/release-1.0.0-alpha/samples/helloworld/pom.xml >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Aruna Sujith Karunarathna *| Software Engineer >>>>>> WSO2, Inc | lean. enterprise. middleware. >>>>>> #20, Palm Grove, Colombo 03, Sri Lanka >>>>>> Mobile: +94 71 9040362 | Work: +94 112145345 >>>>>> Email: [email protected] | Web: www.wso2.com >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> *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* >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Aruna Sujith Karunarathna *| Software Engineer >>>> WSO2, Inc | lean. enterprise. middleware. >>>> #20, Palm Grove, Colombo 03, Sri Lanka >>>> Mobile: +94 71 9040362 | Work: +94 112145345 >>>> Email: [email protected] | Web: www.wso2.com >>>> >>>> >>> >>> >>> >>> -- >>> *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* >>> >> >> >> >> -- >> >> *Aruna Sujith Karunarathna *| Software Engineer >> WSO2, Inc | lean. enterprise. middleware. >> #20, Palm Grove, Colombo 03, Sri Lanka >> Mobile: +94 71 9040362 | Work: +94 112145345 >> Email: [email protected] | Web: www.wso2.com >> >> > > > > -- > *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* > -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: [email protected] | Web: www.wso2.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
