Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 43525 invoked from network); 28 Jan 2010 09:12:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Jan 2010 09:12:16 -0000 Received: (qmail 2960 invoked by uid 500); 28 Jan 2010 09:12:14 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 2837 invoked by uid 500); 28 Jan 2010 09:12:14 -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 2827 invoked by uid 99); 28 Jan 2010 09:12:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2010 09:12:13 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of anders.g.hammar@gmail.com designates 209.85.219.227 as permitted sender) Received: from [209.85.219.227] (HELO mail-ew0-f227.google.com) (209.85.219.227) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2010 09:12:04 +0000 Received: by ewy27 with SMTP id 27so541505ewy.36 for ; Thu, 28 Jan 2010 01:11:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=EhT1+Or7ulee+4jhxe+4hq6NkTK7n0Z+fR+lv9AlvmM=; b=T1KBuHvC6DLgkPMuxgHxyuzlV7rJpx6YNn5glX/OJL9tcj4CFiy3mENybhh9Ax+3fk k0Kv6g8ReN0IAREJuuc+rNr3c7i3vFYEUx/h5JEQoHvnH9jTwEKCkgh32WjEIyVB/M+N v0VQpDQfAAEN8QZxEVUIsgl8sQHPqWuucMTRE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=JfFVzUhr214cV82hLKSawo6x0BAiibfx8oYWCEt9c4zMhGTOSA74zAx6GqVKfwlbHY /8TwRuAuXmsnpwAsN6w7frcir6P31OlIBld64aXXWNsHLjM6KvB5vVnV8VJvwnB7zJA5 phUYA/xEhrt7uD17OPO5rl1HuRM7Jd46H3pqE= MIME-Version: 1.0 Sender: anders.g.hammar@gmail.com Received: by 10.216.89.12 with SMTP id b12mr2125689wef.93.1264669903668; Thu, 28 Jan 2010 01:11:43 -0800 (PST) In-Reply-To: <88c1b41001280105t1a839552pea78610fc6dedc9@mail.gmail.com> References: <88c1b41001280105t1a839552pea78610fc6dedc9@mail.gmail.com> Date: Thu, 28 Jan 2010 10:11:43 +0100 X-Google-Sender-Auth: 1bf645a5022b7377 Message-ID: Subject: Re: maven download the dependency of a error version? From: Anders Hammar To: Maven Users List Content-Type: multipart/alternative; boundary=0016e6da2e7e5dc853047e35e890 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6da2e7e5dc853047e35e890 Content-Type: text/plain; charset=ISO-8859-1 I also see that they add other repositories in their pom. A total mess... /A On Thu, Jan 28, 2010 at 10:05, Stephen Connolly < stephen.alan.connolly@gmail.com> wrote: > Correct, based on their pom.... this is one of those examples of why it is > a > bad plan to add dependencies in a profile that is activated based on the > build JDK and/or OS > > 2010/1/28 maven apache > > > 2010/1/28 Anders Hammar > > > > > Here you go: > > > > > > > > > http://repo1.maven.org/maven2/org/apache/rampart/rampart-project/1.4/rampart-project-1.4.pom > > > > > > I didn't look closely enough. The JDK1.4 profile is active by default, > do > > > as > > > you're NOT using JDK 1.5 that profile is not going to kick in. > > > > > Oh, my fault, I did not check it clearly enouth. > > You mean not matter which jdk I use( configed in the compile version?), > as > > long as the version is not 1.5(for my case , it is 1.6), the jdk14 > profile > > will be actived? > > > > > > > > /Anders > > > > > > On Thu, Jan 28, 2010 at 09:30, maven apache > > > wrote: > > > > > > > 2010/1/28 Anders Hammar > > > > > > > > > You're building with JDK 1.4, not JDK 1.5. > > > > > > > > How? I did not sepcify 1.4 or .1.5. > > > > In the parent pom of my project I config the compile version to 1.6, > > and > > > my > > > > eclipse are using jdk1.6_18 > > > > > > > > > > > > > There are profiles in the pom of > > > > > > > > > > org.apache.rampart:rampart-policy:jar:1.4 > > > > > > > > > > (Actually, the profiles are in the parent of that project). > > > > > > > > > Yes, I know this, I have check the pom. > > > > > > > > > > > > > > The homepage which you refer to isn't telling the complete truth... > > > > > > > > > > /Anders > > > > > On Thu, Jan 28, 2010 at 09:15, maven apache < > apachemaven0@gmail.com> > > > > > wrote: > > > > > > > > > > > Hi: > > > > > > I found a strange problem, it seems that maven may download a > wrong > > > > > version > > > > > > for a transitive dependency. > > > > > > Details can be found here : > > > > > > http://dpaste.com/151511/ > > > > > > > > > > > > > > > > > > > > > --0016e6da2e7e5dc853047e35e890--