Return-Path: Delivered-To: apmail-incubator-aries-dev-archive@minotaur.apache.org Received: (qmail 2258 invoked from network); 14 Apr 2010 19:41:11 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Apr 2010 19:41:11 -0000 Received: (qmail 49270 invoked by uid 500); 14 Apr 2010 19:41:11 -0000 Delivered-To: apmail-incubator-aries-dev-archive@incubator.apache.org Received: (qmail 49207 invoked by uid 500); 14 Apr 2010 19:41:11 -0000 Mailing-List: contact aries-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: aries-dev@incubator.apache.org Delivered-To: mailing list aries-dev@incubator.apache.org Received: (qmail 49195 invoked by uid 99); 14 Apr 2010 19:41:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Apr 2010 19:41:11 +0000 X-ASF-Spam-Status: No, hits=-1288.6 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Apr 2010 19:41:09 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3EJenWw009510 for ; Wed, 14 Apr 2010 15:40:49 -0400 (EDT) Message-ID: <5065251.122901271274049459.JavaMail.jira@thor> Date: Wed, 14 Apr 2010 15:40:49 -0400 (EDT) From: "Guillaume Nodet (JIRA)" To: aries-dev@incubator.apache.org Subject: [jira] Commented: (ARIES-283) Provide an implementation of ResourceResolver that can find/resolve resources in local .m2 repo or any other specified repo In-Reply-To: <13397730.118701271264812316.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ARIES-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857047#action_12857047 ] Guillaume Nodet commented on ARIES-283: --------------------------------------- I may be wrong, but the code to look at the maven repository seems to support the old maven 1 layout, not the now common maven 2 layout. That's what I asked how you planned to handle that. Also I don't fully understand why you overwrite the existing ~/.m2/repository/repository.xml That should not be done in that code imho. We should just access the RepositoryAdmin and this service will be registered with any repository the user want to configure. In addition I already have a tool to index the whole repository. Just try the follwoing command in a console: {code} mvn org.apache.felix:maven-bundle-plugin:2.1.0-SNAPSHOT:index -DurlTemplate=maven {code} > Provide an implementation of ResourceResolver that can find/resolve resources in local .m2 repo or any other specified repo > --------------------------------------------------------------------------------------------------------------------------- > > Key: ARIES-283 > URL: https://issues.apache.org/jira/browse/ARIES-283 > Project: Aries > Issue Type: Improvement > Components: Subsystem > Affects Versions: Incubation > Reporter: Lin Sun > Assignee: Lin Sun > Fix For: Incubation > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira