Return-Path: Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: (qmail 29258 invoked from network); 18 Apr 2009 12:46:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Apr 2009 12:46:10 -0000 Received: (qmail 58750 invoked by uid 500); 18 Apr 2009 12:46:10 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 58700 invoked by uid 500); 18 Apr 2009 12:46:10 -0000 Mailing-List: contact issues-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list issues@continuum.apache.org Received: (qmail 58685 invoked by uid 99); 18 Apr 2009 12:46:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Apr 2009 12:46:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Apr 2009 12:46:01 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id E683D14A81A1 for ; Sat, 18 Apr 2009 07:45:44 -0500 (CDT) Message-ID: <9858491.901240058744924.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Sat, 18 Apr 2009 07:45:44 -0500 (CDT) From: "Jose Morales Martinez (JIRA)" To: issues@continuum.apache.org Subject: [jira] Closed: (CONTINUUM-2175) Error when add a Maven 2 Project with file url In-Reply-To: <14038947.1239933417306.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/CONTINUUM-2175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jose Morales Martinez closed CONTINUUM-2175. -------------------------------------------- Resolution: Fixed Fix Version/s: 1.4.0 This issue was fixed in 766272. > Error when add a Maven 2 Project with file url > ---------------------------------------------- > > Key: CONTINUUM-2175 > URL: http://jira.codehaus.org/browse/CONTINUUM-2175 > Project: Continuum > Issue Type: Bug > Components: Web - UI > Affects Versions: 1.4.0 > Environment: Firefox 3 > Ubuntu 8.10 > Reporter: Jose Morales Martinez > Fix For: 1.4.0 > > > In pom url dont allow pattern file:///, but if file does not exist I get an error and if path is correct I get 'The specified resource isn't a file or the protocol used isn't allowed' (correct) > Error > {noformat} > org.apache.maven.continuum.ContinuumException: Error reading POM > Show/hide Stack Trace > org.apache.maven.continuum.ContinuumException: Error reading POM > at org.apache.maven.continuum.web.action.AddMavenTwoProjectAction.doExecute(AddMavenTwoProjectAction.java:109) > at org.apache.maven.continuum.web.action.AddMavenProjectAction.execute(AddMavenProjectAction.java:189) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404) > at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267) > at org.apache.struts2.interceptor.BackgroundProcess$1.run(BackgroundProcess.java:56) > at java.lang.Thread.run(Thread.java:619) > Caused by: java.io.FileNotFoundException: / (Is a directory) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.(FileInputStream.java:106) > at java.io.FileInputStream.(FileInputStream.java:66) > at java.io.FileReader.(FileReader.java:41) > at org.apache.maven.continuum.web.action.AddMavenTwoProjectAction.doExecute(AddMavenTwoProjectAction.java:93) > ... 9 more > {noformat} > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira