Skip to content

Commit

Permalink
Prepare switch plexus-container-default to org.eclipse.sisu.plexus
Browse files Browse the repository at this point in the history
  • Loading branch information
slachiewicz committed May 30, 2021
1 parent 35b96ae commit baa05cf
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class MacroManagerTest
public void testMacroManager()
throws Exception
{
MacroManager mm = lookup( MacroManager.ROLE );
MacroManager mm = lookup( MacroManager.class );

assertNotNull( mm );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected void setUp()
{
super.setUp();

parser = lookup( Parser.ROLE, "apt" );
parser = (AptParser) lookup( Parser.class, "apt" );
}

protected Parser createParser()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ protected void setUp()
{
super.setUp();

parser = lookup( Parser.ROLE, "confluence" );
parser = (ConfluenceParser) lookup( Parser.class, "confluence" );

output = null;
reader = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ protected void setUp()
{
super.setUp();

parser = lookup( Parser.ROLE, "docbook" );
parser = (DocBookParser) lookup( Parser.class, "docbook" );
}

/** {@inheritDoc} */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected void setUp()
{
super.setUp();

parser = lookup( Parser.ROLE, "fml" );
parser = (FmlParser) lookup( Parser.class, "fml" );

// AbstractXmlParser.CachedFileEntityResolver downloads DTD/XSD files in ${java.io.tmpdir}
// Be sure to delete them
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected void setUp()
throws Exception
{
super.setUp();
parser = lookup( Parser.ROLE, MarkdownParser.ROLE_HINT );
parser = (MarkdownParser) lookup( Parser.class, MarkdownParser.ROLE_HINT );
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected void setUp()
{
super.setUp();

this.parser = lookup( Parser.ROLE, id );
this.parser = (TWikiParser) lookup( Parser.class, id );
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected void setUp()
{
super.setUp();

parser = lookup( Parser.ROLE, "xdoc" );
parser = (XdocParser) lookup( Parser.class, "xdoc" );

// AbstractXmlParser.CachedFileEntityResolver downloads DTD/XSD files in ${java.io.tmpdir}
// Be sure to delete them
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ protected void setUp()
{
super.setUp();

parser = lookup( Parser.ROLE, "xhtml" );
parser = (XhtmlParser) lookup( Parser.class, "xhtml" );

// AbstractXmlParser.CachedFileEntityResolver downloads DTD/XSD files in ${java.io.tmpdir}
// Be sure to delete them
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
/**
* Parse an xhtml model and emit events into a Doxia Sink.
*/
@Component( role = Parser.class, hint = "xhtml5" )
@Component( role = Parser.class, hint = Xhtml5Parser.ROLE_HINT )
public class Xhtml5Parser
extends Xhtml5BaseParser
implements Xhtml5Markup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected void setUp()
{
super.setUp();

parser = lookup( Parser.ROLE, Xhtml5Parser.ROLE_HINT );
parser = (Xhtml5Parser) lookup( Parser.class, Xhtml5Parser.ROLE_HINT );

// AbstractXmlParser.CachedFileEntityResolver downloads DTD/XSD files in ${java.io.tmpdir}
// Be sure to delete them
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ under the License.
<groupId>org.apache.maven</groupId>
<artifactId>maven-parent</artifactId>
<version>34</version>
<relativePath>../../pom/maven/pom.xml</relativePath>
<relativePath />
</parent>

<groupId>org.apache.maven.doxia</groupId>
Expand Down

0 comments on commit baa05cf

Please sign in to comment.