Hi , I got an error while building trunk/product/carbon, "Could not find artifact org.wso2.carbon:wso2-p2-agent:zip:3.2.0-SNAPSHOT"
When I copy the "wso2-p2-agent-3.2.0-SNAPSHOT.zip" to relevant repository it builds successfully. Thanks. On Thu, Dec 8, 2011 at 12:21 AM, Harshana Martin <[email protected]> wrote: > > > On Thu, Dec 8, 2011 at 12:17 AM, Harshana Martin <[email protected]>wrote: > >> On Thu, Dec 8, 2011 at 12:09 AM, KasunG Gajasinghe <[email protected]>wrote: >> >>> >>> >>> On Wed, Dec 7, 2011 at 11:06 PM, Nirmal Fernando <[email protected]>wrote: >>> >>>> Another error in trunk/orbit/libthrift >>>> >>>> [ERROR] Failed to execute goal on project libthrift: Could not resolve >>>> dependencies for project libthrift.wso2:libthrift:bundle:0.5.wso2v1: >>>> Could not find artifact org.apache.thrift:libthrift:jar:0.5-wso2v1 in >>>> wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) >>>> -> [Help 1] >>>> [ERROR] >>>> >>> >>> Nirmal, >>> I haven't faced this issue yet after updating to the latest version. I'm >>> doing a fresh build again, and will test this. Anyway, the cause for this >>> is seems to be that the dependencies/pom.xml does not contain the >>> sub-module thrift in its 'default' profile. >>> >> >> It seems KasunG is correct. >> >> KasunW/BuddhikaC, >> >> Is there any reason not to include thrift module in to any profile in >> dependencies but to include it in orbit? >> > > I have committed the patch from KasunG to include it to default profile > and added to BAM profile too. Please include it in other required profiles > as well. > > Thanks and Regards, > Harshana > >> >> Thanks and Regards, >> Harshana >> >> The missing artifact you mentioned [1] is actually available at [2]. >>> >>> A one line patch to fix this is attached herewith. >>> >>> [1] org.apache.thrift:libthrift:jar:0.5-wso2v1 >>> [2] dependencies/thrift/lib/java/ >>> >>> Regards, >>> --Kasun >>> >>>> >>>> >>>> On Wed, Dec 7, 2011 at 8:34 PM, Harshana Martin <[email protected]> >>>> wrote: >>>> > I've already fixed commons-pool issue. Pls fix the rest. >>>> > Thanks. >>>> > /Harshana >>>> > >>>> > On Dec 7, 2011 7:38 PM, "KasunG Gajasinghe" <[email protected]> wrote: >>>> >> >>>> >> >>>> >> There's another error popped up in the latest trunk when built with >>>> fresh >>>> >> repo from carbon root. The reason is that the <parent> version >>>> >> in orbit/commons-pool/pom.xml is 3.2.0 instead of 3.2.0-SNAPSHOT. >>>> Further, >>>> >> there's some more non-resolvable parent poms in the samples/ of greg. >>>> >> >>>> >> >>>> >> [ERROR] The build could not read 10 projects -> [Help 1] >>>> >> [ERROR] >>>> >> [ERROR] The project commons-pool.wso2:commons-pool:1.5.6.wso2v1 >>>> >> >>>> (/home/carbontrunk/kasung/wso2-trunk/carbon/orbit/commons-pool/pom.xml) has >>>> >> 1 error >>>> >> [ERROR] Non-resolvable parent POM: Could not find artifact >>>> >> org.wso2.carbon:carbon-orbit-parent:pom:3.2.0 in central >>>> >> (http://repo1.maven.org/maven2) and 'parent.relativePath' points at >>>> wrong >>>> >> local POM @ line 23, column 13 -> [Help 2] >>>> >> [ERROR] >>>> >> [ERROR] The project >>>> >> org.wso2.carbon:org.wso2.governance.samples.shutterbug:3.2.0-SNAPSHOT >>>> >> >>>> (/home/carbontrunk/kasung/wso2-trunk/carbon/products/greg/modules/samples/product/shutterbug/src/org.wso2.governance.samples.shutterbug/pom.xml) >>>> >> has 1 error >>>> >> [ERROR] Non-resolvable parent POM: Could not find artifact >>>> >> org.wso2.carbon:governance:pom:3.2.0-SNAPSHOT and >>>> 'parent.relativePath' >>>> >> points at wrong local POM @ line 27, column 9 -> [Help 2] >>>> >> [ERROR] >>>> >> [ERROR] The project >>>> >> >>>> org.wso2.carbon:org.wso2.governance.samples.shutterbug.ui:3.2.0-SNAPSHOT >>>> >> >>>> (/home/carbontrunk/kasung/wso2-trunk/carbon/products/greg/modules/samples/product/shutterbug/src/org.wso2.governance.samples.shutterbug.ui/pom.xml) >>>> >> has 1 error >>>> >> [ERROR] Non-resolvable parent POM: Could not find artifact >>>> >> org.wso2.carbon:governance:pom:3.2.0-SNAPSHOT and >>>> 'parent.relativePath' >>>> >> points at wrong local POM @ line 20, column 13 -> [Help 2] >>>> >> [ERROR] >>>> >> [ERROR] The project >>>> >> org.wso2.carbon:org.wso2.carbon.governance.samples.lcm:3.2.0-SNAPSHOT >>>> >> >>>> (/home/carbontrunk/kasung/wso2-trunk/carbon/products/greg/modules/samples/product/distributed-LCM/src/org.wso2.carbon.governance.samples.lcm/pom.xml) >>>> >> has 1 error >>>> >> [ERROR] Non-resolvable parent POM: Could not find artifact >>>> >> org.wso2.carbon:governance:pom:3.2.0-SNAPSHOT and >>>> 'parent.relativePath' >>>> >> points at wrong local POM @ line 22, column 13 -> [Help 2] >>>> >> [ERROR] >>>> >> [ERROR] The project >>>> >> >>>> org.wso2.carbon:org.wso2.carbon.governance.samples.lcm.notifications:3.2.0-SNAPSHOT >>>> >> >>>> (/home/carbontrunk/kasung/wso2-trunk/carbon/products/greg/modules/samples/product/distributed-LCM/src/org.wso2.carbon.governance.samples.lcm.notifications/pom.xml) >>>> >> has 1 error >>>> >> [ERROR] Non-resolvable parent POM: Could not find artifact >>>> >> org.wso2.carbon:governance:pom:3.2.0-SNAPSHOT and >>>> 'parent.relativePath' >>>> >> points at wrong local POM @ line 22, column 13 -> [Help 2] >>>> >> [ERROR] >>>> >> [ERROR] The project >>>> >> >>>> org.wso2.carbon:org.wso2.carbon.registry.samples.custom.topics:3.2.0-SNAPSHOT >>>> >> >>>> (/home/carbontrunk/kasung/wso2-trunk/carbon/products/greg/modules/samples/product/custom-ui/src/org.wso2.carbon.registry.samples.custom.topics/pom.xml) >>>> >> has 1 error >>>> >> [ERROR] Non-resolvable parent POM: Could not find artifact >>>> >> org.wso2.carbon:registry:pom:3.2.0-SNAPSHOT in wso2-nexus >>>> >> (http://maven.wso2.org/nexus/content/groups/wso2-public/) and >>>> >> 'parent.relativePath' points at wrong local POM @ line 22, column 14 >>>> -> >>>> >> [Help 2] >>>> >> [ERROR] >>>> >> [ERROR] The project >>>> >> >>>> org.wso2.carbon:org.wso2.carbon.registry.samples.custom.topics.ui:3.2.0-SNAPSHOT >>>> >> >>>> (/home/carbontrunk/kasung/wso2-trunk/carbon/products/greg/modules/samples/product/custom-ui/src/org.wso2.carbon.registry.samples.custom.topics.ui/pom.xml) >>>> >> has 1 error >>>> >> [ERROR] Non-resolvable parent POM: Failure to find >>>> >> org.wso2.carbon:registry:pom:3.2.0-SNAPSHOT in >>>> >> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached >>>> in the >>>> >> local repository, resolution will not be reattempted until the update >>>> >> interval of wso2-nexus has elapsed or updates are forced and >>>> >> 'parent.relativePath' points at wrong local POM @ line 19, column 13 >>>> -> >>>> >> [Help 2] >>>> >> [ERROR] >>>> >> [ERROR] The project >>>> >> >>>> org.wso2.carbon:org.wso2.carbon.registry.samples.handler:3.2.0-SNAPSHOT >>>> >> >>>> (/home/carbontrunk/kasung/wso2-trunk/carbon/products/greg/modules/samples/product/handler/src/pom.xml) >>>> >> has 1 error >>>> >> [ERROR] Non-resolvable parent POM: Failure to find >>>> >> org.wso2.carbon:registry:pom:3.2.0-SNAPSHOT in >>>> >> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached >>>> in the >>>> >> local repository, resolution will not be reattempted until the update >>>> >> interval of wso2-nexus has elapsed or updates are forced and >>>> >> 'parent.relativePath' points at wrong local POM @ line 22, column 13 >>>> -> >>>> >> [Help 2] >>>> >> [ERROR] >>>> >> [ERROR] The project >>>> >> org.wso2.carbon:org.wso2.carbon.registry.jcr.client:4.0.0-SNAPSHOT >>>> >> >>>> (/home/carbontrunk/kasung/wso2-trunk/carbon/products/greg/modules/samples/product/jcr-client/src/org.wso2.carbon.registry.jcr.client/pom.xml) >>>> >> has 1 error >>>> >> [ERROR] Non-resolvable parent POM: Could not find artifact >>>> >> org.wso2.carbon:registry:pom:3.2.0-SNAPSHOT and >>>> 'parent.relativePath' points >>>> >> at wrong local POM @ line 4, column 13 -> [Help 2] >>>> >> [ERROR] >>>> >> [ERROR] The project org.wso2.carbon:SecVerifier:3.2.0-SNAPSHOT >>>> >> >>>> (/home/carbontrunk/kasung/wso2-trunk/carbon/core/integration/security-verifier/pom.xml) >>>> >> has 2 errors >>>> >> [ERROR] Unresolveable build extension: Plugin >>>> >> org.apache.axis2:axis2-aar-maven-plugin:1.6.1-wso2v4 or one of its >>>> >> dependencies could not be resolved: Could not find artifact >>>> >> org.apache.axis2:axis2-aar-maven-plugin:jar:1.6.1-wso2v4 in >>>> >> wso2-maven2-repository-1 (http://dist.wso2.org/maven2) -> [Help 3] >>>> >> [ERROR] Unknown packaging: aar @ line 30, column 16 >>>> >> [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 >>>> >> [ERROR] [Help 3] >>>> >> >>>> http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException >>>> >> carbontrunk@sr3:~/kasung/wso2-trunk/carbon$ >>>> >> >>>> >> Thanks, >>>> >> --KasunG >>>> >> >>>> >> On Thu, Dec 1, 2011 at 10:53 AM, Thilina Buddhika <[email protected] >>>> > >>>> >> wrote: >>>> >>> >>>> >>> Hi Isuru, >>>> >>> >>>> >>> We introduced slf4j orbit bundle to the trunk recently. It is not >>>> >>> released yet. It just bundles the standard slfj4-1.5.10 jar as an >>>> OSGi >>>> >>> bundle. >>>> >>> >>>> >>> Also I was able to build the trunk/orbit in a fresh repo without any >>>> >>> issue. Can you please try building this again ? >>>> >>> >>>> >>> Thanks, >>>> >>> Thilina >>>> >>> >>>> >>> On Mon, Nov 28, 2011 at 11:32 AM, Isuru Suriarachchi < >>>> [email protected]> >>>> >>> wrote: >>>> >>>> >>>> >>>> slf4j.wso2:slf4j:jar:1.5.10.wso2v1 is not getting downloaded and >>>> also >>>> >>>> it's not under trunk/dependencies. >>>> >>>> >>>> >>>> Thanks, >>>> >>>> ~Isuru >>>> >>>> >>>> >>>> [INFO] Building opensaml2.wso2 >>>> >>>> [INFO] task-segment: [clean, install] >>>> >>>> [INFO] >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> [INFO] [clean:clean {execution: default-clean}] >>>> >>>> Downloading: >>>> >>>> >>>> http://maven.wso2.org/nexus/content/groups/wso2-public//slf4j/wso2/slf4j/1.5.10.wso2v1/slf4j-1.5.10.wso2v1.pom >>>> >>>> [INFO] Unable to find resource >>>> 'slf4j.wso2:slf4j:pom:1.5.10.wso2v1' in >>>> >>>> repository wso2-nexus >>>> >>>> (http://maven.wso2.org/nexus/content/groups/wso2-public/) >>>> >>>> Downloading: >>>> >>>> >>>> http://repo1.maven.org/maven2/slf4j/wso2/slf4j/1.5.10.wso2v1/slf4j-1.5.10.wso2v1.pom >>>> >>>> [INFO] Unable to find resource >>>> 'slf4j.wso2:slf4j:pom:1.5.10.wso2v1' in >>>> >>>> repository central (http://repo1.maven.org/maven2) >>>> >>>> Downloading: >>>> >>>> >>>> http://maven.wso2.org/nexus/content/groups/wso2-public//slf4j/wso2/slf4j/1.5.10.wso2v1/slf4j-1.5.10.wso2v1.jar >>>> >>>> [INFO] Unable to find resource >>>> 'slf4j.wso2:slf4j:jar:1.5.10.wso2v1' in >>>> >>>> repository wso2-nexus >>>> >>>> (http://maven.wso2.org/nexus/content/groups/wso2-public/) >>>> >>>> Downloading: >>>> >>>> >>>> http://repo1.maven.org/maven2/slf4j/wso2/slf4j/1.5.10.wso2v1/slf4j-1.5.10.wso2v1.jar >>>> >>>> [INFO] Unable to find resource >>>> 'slf4j.wso2:slf4j:jar:1.5.10.wso2v1' in >>>> >>>> repository central (http://repo1.maven.org/maven2) >>>> >>>> [INFO] >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> [ERROR] BUILD ERROR >>>> >>>> [INFO] >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> [INFO] Failed to resolve artifact. >>>> >>>> >>>> >>>> Missing: >>>> >>>> ---------- >>>> >>>> 1) slf4j.wso2:slf4j:jar:1.5.10.wso2v1 >>>> >>>> >>>> >>>> Try downloading the file manually from the project website. >>>> >>>> >>>> >>>> Then, install it using the command: >>>> >>>> mvn install:install-file -DgroupId=slf4j.wso2 >>>> -DartifactId=slf4j >>>> >>>> -Dversion=1.5.10.wso2v1 -Dpackaging=jar -Dfile=/path/to/file >>>> >>>> >>>> >>>> Alternatively, if you host your own repository you can deploy >>>> the file >>>> >>>> there: >>>> >>>> mvn deploy:deploy-file -DgroupId=slf4j.wso2 >>>> -DartifactId=slf4j >>>> >>>> -Dversion=1.5.10.wso2v1 -Dpackaging=jar -Dfile=/path/to/file >>>> -Durl=[url] >>>> >>>> -DrepositoryId=[id] >>>> >>>> >>>> >>>> Path to dependency: >>>> >>>> 1) opensaml.wso2:opensaml2:bundle:2.4.1.wso2v1 >>>> >>>> 2) slf4j.wso2:slf4j:jar:1.5.10.wso2v1 >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> >>>> Isuru Suriarachchi >>>> >>>> Technical Lead & Product Manager, WSO2 Application Server >>>> >>>> WSO2 Inc. http://wso2.com >>>> >>>> email : [email protected] >>>> >>>> blog : http://isurues.wordpress.com/ >>>> >>>> >>>> >>>> lean . enterprise . middleware >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> >>>> Carbon-dev mailing list >>>> >>>> [email protected] >>>> >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> -- >>>> >>> Thilina Buddhika >>>> >>> Associate Technical Lead >>>> >>> WSO2 Inc. ; http://wso2.com >>>> >>> lean . enterprise . middleware >>>> >>> >>>> >>> phone : +94 77 44 88 727 >>>> >>> blog : http://blog.thilinamb.com >>>> >>> >>>> >>> _______________________________________________ >>>> >>> Carbon-dev mailing list >>>> >>> [email protected] >>>> >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>> >>>> >> >>>> >> >>>> >> _______________________________________________ >>>> >> Carbon-dev mailing list >>>> >> [email protected] >>>> >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >> >>>> > >>>> > _______________________________________________ >>>> > Carbon-dev mailing list >>>> > [email protected] >>>> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> > >>>> >>>> >>>> >>>> -- >>>> >>>> regards, >>>> Nirmal >>>> >>>> Software Engineer, WSO2 Inc. >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> [email protected] >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> >> -- >> Harshana Martin >> Software Engineer >> WSO2 Inc. >> Web:http://wso2.com >> http://wso2.org >> >> Mobile: +94 716062650 >> Blog: http://harshana05.blogspot.com >> Profile: https://www.google.com/profiles/harshana05 >> Twitter: http://twitter.com/harshana05 >> >> > > > -- > Harshana Martin > Software Engineer > WSO2 Inc. > Web:http://wso2.com > http://wso2.org > > Mobile: +94 716062650 > Blog: http://harshana05.blogspot.com > Profile: https://www.google.com/profiles/harshana05 > Twitter: http://twitter.com/harshana05 > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
