mirror of
https://github.com/apache/maven.git
synced 2025-03-03 07:09:29 +00:00
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:
parent
47bc2425db
commit
84269d34fa
@ -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" ) );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user