Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 16383 invoked from network); 29 Mar 2011 02:57:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Mar 2011 02:57:29 -0000 Received: (qmail 13113 invoked by uid 500); 29 Mar 2011 02:57:27 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 13047 invoked by uid 500); 29 Mar 2011 02:57:27 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 13038 invoked by uid 99); 29 Mar 2011 02:57:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Mar 2011 02:57:27 +0000 X-ASF-Spam-Status: No, hits=4.4 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.138.91.58] (HELO nm17-vm0.bullet.mail.ne1.yahoo.com) (98.138.91.58) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 29 Mar 2011 02:57:20 +0000 Received: from [98.138.90.50] by nm17.bullet.mail.ne1.yahoo.com with NNFMP; 29 Mar 2011 02:56:59 -0000 Received: from [98.138.87.3] by tm3.bullet.mail.ne1.yahoo.com with NNFMP; 29 Mar 2011 02:56:59 -0000 Received: from [127.0.0.1] by omp1003.mail.ne1.yahoo.com with NNFMP; 29 Mar 2011 02:56:59 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 384235.59271.bm@omp1003.mail.ne1.yahoo.com Received: (qmail 45030 invoked by uid 60001); 29 Mar 2011 02:56:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1301367419; bh=aEfNBNNZw1ATgoUEH+kHjoY0mEsnJ4qhthvsos7/PNo=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=OOL7z0nwpRynvjjRKLRmuZfA98ZhXlFznDhHY02UHRMinuAyBX771f4asiGyfJlCf1OJ7LOYECjRdvHwOD26PRlduncgkoddszR+rqfc6zHioFkDWn+0XbDrph2XHOxe9Zpe8yIk43rRyZYI7xzusGo9ug1rMl6NEoY9TlnqYx0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=5cvg8/7Q5CenBEKPi1vetxs05KhcU/AiO6fyrUU8qKNC6n6mHRS66PJkexOE6MDR25hfsNwdoRlU3qsVzCgMwP+aiha8gMgkpEf3gKzFQaO/g9qES6nd1gkmfLHNQd2F6KZ2XqbUIBV0yjS9ZIBSdNr7nNDJ6Xgp4DP6wclAPq4=; Message-ID: <267846.72114.qm@web120304.mail.ne1.yahoo.com> X-YMail-OSG: OnhSi24VM1kKUQxqvTqv.csvG_bPKLfTRwuBdgYV6NH0pIE eOoT3DBfcab_O0srIVD4DNEuNVMdlOoeK4aPCkkgCr6ZVXonRyZC2UIvaKG1 t7BtSRRnxJD_dsEf9DUBNVYd1EPxWE2sNFtJli3WeR.p1VHleoYXmN94Sdbz r5814PtKmOFHo3ycpyiQCoT1HuNn_xCRfNaXclc_j2sMgGv8FkLoYc84Y5aA PzIT51X9eE.A5hG342IsSnKwUlvbuXLC9A6Rif65TPspii84.SKjZc7t6LrF RUefGKLuXb49cDg3oLi19yqCnF_AC0fx7Aa4Z2yFXMao6EQ8SfIg1Zk.imTu 0ZGHD_MMQV5szdFG4x79sh_v0TXgoSifdrnBiXLTAYfJYcq3N0CoeYAas Received: from [82.121.110.225] by web120304.mail.ne1.yahoo.com via HTTP; Mon, 28 Mar 2011 19:56:58 PDT X-Mailer: YahooMailClassic/12.0.2 YahooMailWebService/0.8.109.295617 Date: Mon, 28 Mar 2011 19:56:58 -0700 (PDT) From: Celinio Fernandes Subject: Re: Could not find artifact javax.transaction:jta:jar:1.0.1B in central (http://repo1.maven.org/maven2) To: Maven Users List In-Reply-To: <543981.73375.qm@web120313.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-402302362-1301367418=:72114" --0-402302362-1301367418=:72114 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I fixed my problem by adding the following repository in the project.core/p= om.xml file : maven2-repository.dev.java.net Java.net Repository for Maven http://download.java.net/maven/2/ default false true However, I would like to know / understand why installing the indirectly re= ferenced jta-1.0.1B.jar library in my local repository did not work. It kee= ps looking in the global repository. Isn't Maven supposed to first check the libraries that are available in the= local repository and then eventually check the global repository (or any o= ther repository) ? Thanks. --- On Mon, 3/28/11, Celinio Fernandes wrote: From: Celinio Fernandes Subject: Re: Could not find artifact javax.transaction:jta:jar:1.0.1B in ce= ntral (http://repo1.maven.org/maven2) To: "Maven Users List" Date: Monday, March 28, 2011, 1:13 PM I would like to add more information : 1) C:\Users\userbob\.m2\=A0 does not have a settings.xml file.=20 2) Rebuilding the index of the local repository in Eclipse (Repositories vi= ew) did not change anything Does anyone have an idea ? Thanks. --- On Mon, 3/28/11, Celinio Fernandes wrote: From: Celinio Fernandes Subject: Could not find artifact javax.transaction:jta:jar:1.0.1B in centra= l (http://repo1.maven.org/maven2) To: "Maven Users List" Date: Monday, March 28, 2011, 1:07 PM Hi, I have a small problem with some dependency. First a word about my environment : Eclipse Helios Maven with the M2Eclipse plugin Maven 3.0.2 jdk 1.6 Windows 7 My project is made of 1 parent project and 2 other projects (modules). First i had a problem with the ojdbc14 library. It was complaining that it = could not find the ojdbc14.jar : com.oracle:ojdbc14:jar:10.2.0.2.0 So I fixed it with the following command : mvn install:install-file -Dfile=3DD:\Dev\oracle\oracleexpress\app\oracle\pr= oduct\10.2.0\server\jdbc\lib\ojdbc14.jar -Dpackaging=3Djar=20 -DgroupId=3Dcom.oracle -DartifactId=3Dojdbc14 -Dversion=3D10.2.0.1.0 I added it to the local repository.=20 But then i get another error when i run "mvn install" from Eclipse, using t= he M2eclipse plugin : [ERROR] Failed to execute goal on project projet.core: Could not resolve de= pendencies for project=20 fr.celinio.gwt:projet.core:jar:0.0.1-SNAPSHOT: Could not find artifact java= x.transaction:jta:jar:1.0.1B in central (http://repo1.maven.org/maven2) -> = [Help 1] So I installed the jta:jar in my local repository, like i did for the ojdbc= .jar library : =A0mvn install:install-file -DgroupId=3Djavax.transaction -DartifactId=3Djt= a -Dversion=3D1.0.1B -Dpackaging=3Djar -Dfile=3DD:\Temp\jta-1_1-classes.jar= =A0 =A0 =A0 But why does it keep looking into the central repository (http://repo1.mave= n.org/maven2) ? Shouldn't Maven look first in the local repository, find the library and th= en skip looking in the central repository ? Here is the pom.xml of my parent project : =A0 4.0.0 =A0 fr.celinio.gwt =A0 projet.parent =A0 0.0.1-SNAPSHOT =A0 pom =A0 projet.parent =A0 http://maven.apache.org =A0 =A0=A0=A0 UTF-8 =A0 =A0 =A0=A0=A0 =A0=A0=A0=A0=A0 junit =A0=A0=A0=A0=A0 junit =A0=A0=A0=A0=A0 3.8.1 =A0=A0=A0=A0=A0 test =A0=A0=A0 =A0 =A0 =A0 =A0=A0 =A0projet.core =A0 =A0=A0 =A0../projet.gwt =A0 =A0=20 Here is the pom.xml of the projet.core module (the project with the ojdbc14= .jar dependency) : =A0 4.0.0 =A0 =A0=A0=A0 projet.parent =A0=A0=A0 fr.celinio.gwt =A0=A0=A0 0.0.1-SNAPSHOT =A0 =A0 fr.celinio.gwt =A0 projet.core =A0 0.0.1-SNAPSHOT =A0 projet.core =A0 jar =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A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A0=A0 ojdbc14 =A0=A0 =A0=A0=A0=A0 10.2.0.1.0 =A0=A0 =A0 =A0=A0 =A0 =A0 And here is the pom.xml of the other module : =A0 =A0 4.0.0 =A0=A0=A0 =A0=A0=A0 projet.parent =A0=A0=A0 fr.celinio.gwt =A0=A0=A0 0.0.1-SNAPSHOT =A0=A0=A0=A0=A0 ../projet.parent/pom.xml =A0=A0 =A0 =A0 =A0=20 =A0 fr.celinio.gwt =A0 projet.gwt =A0 war =A0 0.0.1-SNAPSHOT =A0 GWT Maven Archetype =A0 =A0 =A0=A0 =A0 =A0 =A0=A0 =A0=A0=A0 =A0 =A0 =A0=A0 =A0=A0=A0 =A0=A0=A0 =A0fr.celinio.gwt =A0 =A0=A0 =A0=A0=A0 =A0=A0=A0 =A0projet.core =A0 =A0=A0 =A0=A0=A0 =A0=A0=A0 =A00.0.1-SNAPSHOT =A0 =A0=A0 =A0=A0=A0 =A0=A0=A0 =A0jar =A0 =A0=A0 =A0=A0=A0 =A0=A0=A0 =A0compile =A0 =A0=A0 =A0=A0=A0 =A0 =A0 =A0=A0 =A0 =A0 =A0 =A0=A0=A0 =A0=A0=A0 2.1.0 =A0=A0=A0 =A0=A0=A0 1.5 =A0=A0=A0 1.5 =A0=A0=A0 ${project.build.directory}/${project.build.final= Name} =A0 =A0 =A0=A0=A0 =A0=A0=A0=A0=A0 com.google.gwt =A0=A0=A0=A0=A0 gwt-servlet =A0=A0=A0=A0=A0 2.2.0 =A0=A0=A0=A0=A0 runtime =A0=A0=A0 =A0=A0=A0 =A0=A0=A0=A0=A0 com.google.gwt =A0=A0=A0=A0=A0 gwt-user =A0=A0=A0=A0=A0 2.2.0 =A0=A0=A0=A0=A0 provided =A0=A0=A0 =A0 =A0=A0=A0 =A0=A0=A0=A0=A0 junit =A0=A0=A0=A0=A0 junit =A0=A0=A0=A0=A0 4.7 =A0=A0=A0=A0=A0 test =A0=A0=A0 =A0 =A0 =A0=A0=A0 =A0=A0=A0 ${webappDirectory}/WEB-INF/classes =A0=A0=A0 =A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 org.codehaus.mojo =A0=A0=A0=A0=A0=A0=A0 gwt-maven-plugin =A0=A0=A0=A0=A0=A0=A0 2.2.0 =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 compile =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 test =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 i18n =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 generateAsync =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0 Application.html =A0=A0=A0=A0=A0=A0=A0=A0=A0 ${webappDirectory} =A0=A0=A0=A0=A0=A0=A0=A0=A0 fr.celinio.gwt.projet.gwt.c= lient.Messages =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 org.apache.maven.plugins =A0=A0=A0=A0=A0=A0=A0 maven-war-plugin =A0=A0=A0=A0=A0=A0=A0 2.1.1 =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 compile =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 exploded =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0 ${webappDirectory} =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0 =A0=A0=A0 =A0 Thanks for helping. =A0 =A0 =A0=20 =A0 =A0 =A0 =0A=0A=0A --0-402302362-1301367418=:72114--