Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
correct for the most common module reference, which has implied pom.x…
Browse files Browse the repository at this point in the history
…ml file and simply references the module directory.

git-svn-id: https://svn.apache.org/repos/asf/maven/sandbox/trunk/mae@1157918 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
jdcasey committed Aug 15, 2011
1 parent e7587b8 commit 65b073f
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -243,6 +243,13 @@ private void addModulePoms( final Model model, final RequestTrace trace, final L
for ( String mod : model.getModules() )
{
File modFile = new File( dir, mod );
if ( !modFile.isFile() )
{
modFile = new File( modFile, "pom.xml" );
}

modFile = modFile.getAbsoluteFile();

if ( modFile.exists() )
{
traces.put( modFile, trace.newChild( modFile ) );
Expand Down

0 comments on commit 65b073f

Please sign in to comment.