You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Davy Toch (JIRA)" <ji...@codehaus.org> on 2005/08/28 23:27:03 UTC
[jira] Commented: (MAVEN-1644) Running Maven in a directory not containing a POM file always results in 'Build Successful'.
[ http://jira.codehaus.org/browse/MAVEN-1644?page=comments#action_45377 ]
Davy Toch commented on MAVEN-1644:
----------------------------------
Just a small correction : an error should be generated when no POM is found and when no maven.xml is found, because it is sometimes useful to have a Maven project with just a maven.xml script. The latter is similar to an ANT project with just a build.xml file but has the additional advantage that Jelly scripting is available (thus avoiding stupid restrictions in ANT like : no variables, no logical constructs like if, foreach, ...).
> Running Maven in a directory not containing a POM file always results in 'Build Successful'.
> --------------------------------------------------------------------------------------------
>
> Key: MAVEN-1644
> URL: http://jira.codehaus.org/browse/MAVEN-1644
> Project: Maven
> Type: Improvement
> Components: core
> Versions: 1.1-beta-1, 1.0.2
> Environment: Not of importance.
> Reporter: Davy Toch
> Priority: Minor
> Fix For: 1.1-beta-2
>
>
> In maven 1.0.2 and 1.1-beta-1, running 'maven' in a directory that doesn't contain a POM file always results in 'Build Succesful'.
> ======================================================
> $.\maven.bat
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-1
> BUILD SUCCESSFUL
> Total time : 1 seconds
> Finished at : vrijdag 8 juli 2005 13:32:35 CEST
> ======================================================
> This could be confusing for novice users of Maven and it would be better to generate an error stating
> that no POM file was found.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org