Skip to content

Commit

Permalink
Minor bug fix for newer Maven: git(All)Projects
Browse files Browse the repository at this point in the history
  • Loading branch information
kalofoli committed May 12, 2017
1 parent 81fe6c0 commit b933dad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void afterProjectsRead( MavenSession session )

Map<String, String> gavVersionMap = new HashMap<String, String>();

for ( MavenProject mavenProject : session.getAllProjects() )
for ( MavenProject mavenProject : session.getProjects() )
{
// Lookup this plugin's configuration
Plugin plugin = mavenProject.getPlugin( "org.apache.maven.plugins:maven-external-version-plugin" );
Expand Down Expand Up @@ -143,7 +143,7 @@ public void afterProjectsRead( MavenSession session )
// now we have only updated the versions of the projects, we need to update
// the references between the updated projects

for ( MavenProject mavenProject : session.getAllProjects() )
for ( MavenProject mavenProject : session.getProjects() )
{
try
{
Expand Down

0 comments on commit b933dad

Please sign in to comment.