Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4CF471853A for ; Thu, 14 May 2015 03:15:07 +0000 (UTC) Received: (qmail 87486 invoked by uid 500); 14 May 2015 03:15:05 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 87410 invoked by uid 500); 14 May 2015 03:15:04 -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 86112 invoked by uid 99); 14 May 2015 03:15:03 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2015 03:15:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 7AC71C0DF2 for ; Thu, 14 May 2015 03:15:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.78 X-Spam-Level: * X-Spam-Status: No, score=1.78 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 5NgMMTjZn9Qt for ; Thu, 14 May 2015 03:14:53 +0000 (UTC) Received: from mx0a-0000bf01.pphosted.com (mx0a-0000bf01.pphosted.com [67.231.144.145]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 6F1702497F for ; Thu, 14 May 2015 03:14:53 +0000 (UTC) Received: from pps.filterd (m0042281 [127.0.0.1]) by mx0a-0000bf01.pphosted.com (8.14.5/8.14.5) with SMTP id t4E3DGts002648 for ; Wed, 13 May 2015 22:14:47 -0500 Received: from np1exhc004.corp.halliburton.com ([34.254.246.203]) by mx0a-0000bf01.pphosted.com with ESMTP id 1uchfvrheg-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Wed, 13 May 2015 22:14:47 -0500 Received: from NP1EXHC005.corp.halliburton.com (34.34.138.68) by NP1EXHC004.corp.halliburton.com (34.34.138.67) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 13 May 2015 22:14:46 -0500 Received: from NP1EXMB033.corp.halliburton.com ([169.254.4.88]) by NP1EXHC005.corp.halliburton.com ([34.34.138.68]) with mapi id 14.03.0224.002; Wed, 13 May 2015 22:14:46 -0500 From: Justin Georgeson To: Maven Users List Subject: RE: [EXTERNAL] dependency management with ant quick question Thread-Topic: [EXTERNAL] dependency management with ant quick question Thread-Index: AQHQjfIbQvIdoknQz0KTQfRnLqx4jp16yims Date: Thu, 14 May 2015 03:14:45 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [34.34.118.33] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-HALSTAMP: TRUE X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-05-14_01:2015-05-13,2015-05-14,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1505140045 https://maven.apache.org/ant-tasks/=20 1. There is a task to resolve/retrieve dependencies. 2. The dependency task can create classpath and fileset refids for the depe= ndencies, and per-dependency properties, so you shouldn't have to worry abo= ut copy jars to and fro. 3. There are examples at the link above. ________________________________________ From: Zk W [mpc8250@gmail.com] Sent: Wednesday, May 13, 2015 10:00 PM To: users@maven.apache.org Subject: [EXTERNAL] dependency management with ant quick question Hi All We are new to Maven and we are an ant shop. We like to use Maven's dependency management feature, not ivy. 1- Can we just use Maven's dependency management feature to work with our ant build script ? 2- Since .m2 is the default folder for all the jars, do we use ant copy task to copy jars from .m2 folder to different project folders to compile properly ? 3. Are there examples out there that use ant for build purpose in conjunction with maven's dependency management ? Thank you. ---------------------------------------------------------------------- This e-mail, including any attached files, may contain confidential and pri= vileged information for the sole use of the intended recipient. Any review= , use, distribution, or disclosure by others is strictly prohibited. If yo= u are not the intended recipient (or authorized to receive information for = the intended recipient), please contact the sender by reply e-mail and dele= te all copies of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org