From ftpserver-dev-return-498-apmail-incubator-ftpserver-dev-archive=incubator.apache.org@incubator.apache.org Fri Feb 23 16:41:31 2007 Return-Path: Delivered-To: apmail-incubator-ftpserver-dev-archive@www.apache.org Received: (qmail 29108 invoked from network); 23 Feb 2007 16:41:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2007 16:41:31 -0000 Received: (qmail 45137 invoked by uid 500); 23 Feb 2007 16:41:40 -0000 Delivered-To: apmail-incubator-ftpserver-dev-archive@incubator.apache.org Received: (qmail 45129 invoked by uid 500); 23 Feb 2007 16:41:40 -0000 Mailing-List: contact ftpserver-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ftpserver-dev@incubator.apache.org Delivered-To: mailing list ftpserver-dev@incubator.apache.org Received: (qmail 45117 invoked by uid 99); 23 Feb 2007 16:41:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Feb 2007 08:41:39 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gcjfd-ftpserver-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Feb 2007 08:41:27 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HKdTO-0003H1-1n for ftpserver-dev@incubator.apache.org; Fri, 23 Feb 2007 17:40:42 +0100 Received: from c-2fffe155.177-11-64736c12.cust.bredbandsbolaget.se ([85.225.255.47]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Feb 2007 17:40:42 +0100 Received: from niklas by c-2fffe155.177-11-64736c12.cust.bredbandsbolaget.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Feb 2007 17:40:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ftpserver-dev@incubator.apache.org From: Niklas Gustavsson Subject: Re: cannot build ftpserver from trunk Date: Fri, 23 Feb 2007 17:39:51 +0100 Lines: 69 Message-ID: References: <5383752342FE1743BEAE2C937CBE951F31E076@CLUEXC1.jysk.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-2fffe155.177-11-64736c12.cust.bredbandsbolaget.se User-Agent: Thunderbird 2.0b2 (Windows/20070116) In-Reply-To: <5383752342FE1743BEAE2C937CBE951F31E076@CLUEXC1.jysk.com> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Benny Pedersen wrote: > Hello > > I'm trying to get the apache FtpServer up and running and have some > problems. I have never used Maven, so maybe I have just overlooked > something. > > Here is what i have done so far: > > > Downloaded Maven 2.0.5 and added \bin to PATH > > C:\src>svn checkout > http://svn.apache.org/repos/asf/incubator/ftpserver/trunk ftpserver > > cd c:\src\ftpserver > > mvn -U -e test > (output from unit tests) > > After the section 'Apache Incubator FtpServer Admin GUI' i get the > following error: > org.apache.maven.lifecycle.LifecycleExecutionException: No Java test > frameworks > found I belive this might be due to a bug in the Maven Surefire plugin. I've added to our POM to specify the latest released version of Surefire to make sure you get the right version when building. Could you please try again with the latest from trunk? Also, what Maven version are you using? > After Googl'ing a little bit around, I added the following entry ind the > ftpserver/pom.xml: > > > org.apache.maven.plugins > maven-surefire-plugin > > true > > > > And now the test was successfull! That would disable all the unit tests which we don't really want :-) > I then did a mvn -U -e install wich also completed successfully. > > Finally, i ran > > mvn -U -e assembly > > wich gave me the following trace: > > org.apache.maven.BuildFailureException: Invalid task 'assembly': you > must specif > y a valid lifecycle phase, or a goal in the format plugin:goal or > pluginGroupId: > pluginArtifactId:pluginVersion:goal > > Now i'm stuck. I don't know what maven i trying to tell me. That me writing incorrect documentation (I'm guessing you got this from our site). I've now updated the documentation. Sorry for the confusion: http://cwiki.apache.org/FTPSERVER/building.html Please ask further if this doesn't help you! /niklas