Skip to content

Commit

Permalink
MSHADE-326 Remove hack
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbasjes committed Jun 28, 2021
1 parent cbaf7f7 commit b52e10c
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,16 +257,6 @@ private Model loadPom( RepositorySystemSession session, ArtifactDescriptorReques

Model model;

final WorkspaceReader workspace = session.getWorkspaceReader();
if ( workspace instanceof MavenWorkspaceReader )
{
model = ( (MavenWorkspaceReader) workspace ).findModel( pomArtifact );
if ( model != null )
{
return model;
}
}

try
{
ModelBuildingRequest modelRequest = new DefaultModelBuildingRequest();
Expand Down

0 comments on commit b52e10c

Please sign in to comment.