Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Minor bug fix for newer Maven: git(All)Projects #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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