PR: MNG-359

Allow .. in module names to support a flat layout for eclipse


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178621 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-05-26 08:40:05 +00:00
parent 47bc2425db
commit 84269d34fa

View File

@ -214,11 +214,6 @@ private List collectProjects( List files, ArtifactRepository localRepository, bo
for ( Iterator i = project.getModules().iterator(); i.hasNext(); )
{
String name = (String) i.next();
if ( name.indexOf( ".." ) >= 0 )
{
String message = "Illegal module name: " + name + " (cannot contain path characters)";
throw new ReactorException( message );
}
moduleFiles.add( new File( basedir, name + "/pom.xml" ) );
}