Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 61411 invoked from network); 1 Mar 2011 03:15:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Mar 2011 03:15:34 -0000 Received: (qmail 87745 invoked by uid 500); 1 Mar 2011 03:15:32 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 87377 invoked by uid 500); 1 Mar 2011 03:15:28 -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 87369 invoked by uid 99); 1 Mar 2011 03:15:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 03:15:27 +0000 X-ASF-Spam-Status: No, hits=3.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hujy11@gmail.com designates 209.85.210.171 as permitted sender) Received: from [209.85.210.171] (HELO mail-iy0-f171.google.com) (209.85.210.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 03:15:21 +0000 Received: by iyf40 with SMTP id 40so4019753iyf.30 for ; Mon, 28 Feb 2011 19:15:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=HtiQ+jtxo8V7Ob5h1odg6sze6shiE6DW4kuC97wlVqw=; b=IQ4kfoMVsp5mNWuJ5/LzxyWW3iRPwGxOY4R4Ub52RcnrLCPRE6FgSw4a7fLYRxe9T4 okldGJK5Mp2rHfuJzKLlfJqjlFsQIAG6bSX8DvBLYEe1sJXMLcIZswH9o8KMhByTeSs8 hQtLfJZxf1bMDp9FNFzQaC1Fqgr7eHTc2EDGo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=lJx392sMjuMXqIsudwy8/YOl3cCvMcssYPafe10hQtn0D5Ux5mTFURtpp4clj+DflC nGB05ZXWIue1O3Mopug22mmNjmz1JNJ4JPx0X3ME2q0HRCLSY/b9FwD8LMcr1w1xBK5d TyjQAc8gbn77Q/j2ho5m8Ir2wrtrkpmTjVYXw= MIME-Version: 1.0 Received: by 10.42.227.133 with SMTP id ja5mr5974153icb.509.1298949300973; Mon, 28 Feb 2011 19:15:00 -0800 (PST) Received: by 10.42.219.194 with HTTP; Mon, 28 Feb 2011 19:15:00 -0800 (PST) Date: Tue, 1 Mar 2011 11:15:00 +0800 Message-ID: Subject: How to gain the new class every time? From: jy hu To: Maven Users List Content-Type: multipart/alternative; boundary=20cf30434644aa7081049d633325 --20cf30434644aa7081049d633325 Content-Type: text/plain; charset=ISO-8859-1 Hi everyone, I met a problem in maven. for example , there is a project including 7 java files. I will gain 7 class files after executing the Mvn compile in cmd. and then I deleted or removed a java file of all, the rest 6 java files had not been changed in the project. I executed Mvn compile again, ' Nothing to compile - all classes are up to date' was gaven. 7 class files which came from the first time were in Class folder. I would have 6 new class files of course If executing the Mvn clean before running the Mvn compile. So my question is how can I gain the new class every time without Mvn clean. Does any hint? many thanks! -- ** *Warm wishes,* *Jaina(hu jun ying)* --20cf30434644aa7081049d633325--