Skip to content

Commit

Permalink
Workaround for issue mojohaus#648: temporarily removing Doxia site su…
Browse files Browse the repository at this point in the history
…pport
  • Loading branch information
jarmoniuk committed Aug 25, 2022
1 parent 6123652 commit b165625
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
Expand Up @@ -33,8 +33,6 @@
import org.apache.maven.artifact.versioning.DefaultArtifactVersion;
import org.apache.maven.doxia.module.xhtml5.Xhtml5SinkFactory;
import org.apache.maven.doxia.sink.SinkFactory;
import org.apache.maven.doxia.tools.SiteTool;
import org.apache.maven.doxia.tools.SiteToolException;
import org.apache.maven.model.Dependency;
import org.apache.maven.model.DependencyManagement;
import org.apache.maven.model.Model;
Expand Down Expand Up @@ -173,15 +171,6 @@ private void mockPlexusComponents()

Artifact skinArtifact = mock( Artifact.class );
when( skinArtifact.getId() ).thenReturn( "" );
siteTool = mock( SiteTool.class );
try
{
when( siteTool.getSkinArtifactFromRepository( any(), any(), any() ) ).thenReturn( skinArtifact );
}
catch ( SiteToolException e )
{
throw new RuntimeException( e );
}
}
}

Expand Down
Expand Up @@ -33,8 +33,6 @@
import org.apache.maven.artifact.versioning.DefaultArtifactVersion;
import org.apache.maven.doxia.module.xhtml5.Xhtml5SinkFactory;
import org.apache.maven.doxia.sink.SinkFactory;
import org.apache.maven.doxia.tools.SiteTool;
import org.apache.maven.doxia.tools.SiteToolException;
import org.apache.maven.model.Build;
import org.apache.maven.model.Plugin;
import org.apache.maven.model.PluginManagement;
Expand Down Expand Up @@ -149,15 +147,6 @@ private void mockPlexusComponents()

Artifact skinArtifact = mock( Artifact.class );
when( skinArtifact.getId() ).thenReturn( "" );
siteTool = mock( SiteTool.class );
try
{
when( siteTool.getSkinArtifactFromRepository( any(), any(), any() ) ).thenReturn( skinArtifact );
}
catch ( SiteToolException e )
{
throw new RuntimeException( e );
}
}
}

Expand Down

0 comments on commit b165625

Please sign in to comment.