Hi all, This issue comes when we define source plug-in in stratos parent pom. Otherwise it deploys source packs in zip format. Only issue with that is it contains target directory in it(disclaimer is included now). I think it is an issue to have target directory in source packs. Any <exclude> configurations did not work.
Adding source plug-in deploys source in jar format correctly but seems causing erroneous jars. If there is anyone who got this kind of experience with source plugin, please help since this become a blocker for the release. Thanks in advance. On Wed, Oct 9, 2013 at 12:19 PM, Lahiru Sandaruwan <[email protected]> wrote: > Hi all, > > We are facing an osgi bundle issue with the Stratos Controller pack in > RC3. If you test with binary packs for testing, please use RC2 packs. We > tried fixing it but it seems this is due to apache-source-plugin that is > introduced to stratos parent pom in RC3. If we remove that plugin it fails > to deploy source-jars to nexus. > Seems this is a bug reported at[1] when it co-exist osgi-bundle plugin and > source-plugin. > > We can see and error "[WARNING] NOT adding sources to artifacts with > classifier as Maven only supports one classifier per artifact. Current > artifact [ ........." while nexus deploying. > > [2] suggests to remove "<classifier></classifier>" from components.xml, > but we do not have compoments.xml in our components. > > Any help would be greatly appreciated. > > [1] > http://jira.codehaus.org/browse/MSOURCES-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > [2] https://issues.apache.org/jira/browse/FELIX-3058 > > Thanks. > > > On Thu, Oct 3, 2013 at 1:21 PM, Lahiru Sandaruwan <[email protected]>wrote: > >> Hi all, >> >> This thread is for discussion of the third release candidate for Apache >> Stratos 3.0.0-incubating [1]. Please use this thread for discussion of >> issues uncovered in the RC, questions you may have about the RC, etc. >> >> RC release packs are at[1]. A git tag is created for this release as you >> can see at[2] and [3](tree view). >> >> [1] >> https://dist.apache.org/repos/dist/dev/incubator/stratos/3.0.0-incubating-rc3/ >> [2] >> https://git-wip-us.apache.org/repos/asf?p=incubator-stratos.git;a=tag;h=9962ce65ef67d253a9212f3e1cae1ee2c17a4375 >> [3] >> https://git-wip-us.apache.org/repos/asf?p=incubator-stratos.git;a=tree;h=f5e72855cf3d1b39021ac96fc538d2a6df0fe0a6;hb=0ba9ee04ac2d9e38585bb4cd979c0a2612b84668 >> >> -- >> -- >> Lahiru Sandaruwan >> Software Engineer, >> Platform Technologies, >> WSO2 Inc., http://wso2.com >> lean.enterprise.middleware >> >> email: [email protected] cell: (+94) 773 325 954 >> blog: http://lahiruwrites.blogspot.com/ >> twitter: http://twitter.com/lahirus >> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >> >> > > > -- > -- > Lahiru Sandaruwan > Software Engineer, > Platform Technologies, > WSO2 Inc., http://wso2.com > lean.enterprise.middleware > > email: [email protected] cell: (+94) 773 325 954 > blog: http://lahiruwrites.blogspot.com/ > twitter: http://twitter.com/lahirus > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 > > -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: [email protected] cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
