Modified: maven/doxia/doxia-tools/trunk/doxia-converter/src/test/java/org/apache/maven/doxia/ConverterTest.java URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-converter/src/test/java/org/apache/maven/doxia/ConverterTest.java?rev=697523&r1=697522&r2=697523&view=diff ============================================================================== --- maven/doxia/doxia-tools/trunk/doxia-converter/src/test/java/org/apache/maven/doxia/ConverterTest.java (original) +++ maven/doxia/doxia-tools/trunk/doxia-converter/src/test/java/org/apache/maven/doxia/ConverterTest.java Sun Sep 21 07:29:09 2008 @@ -24,6 +24,8 @@ import java.io.FileWriter; import java.io.StringWriter; +import junitx.util.PrivateAccessor; + import org.apache.maven.doxia.wrapper.InputFileWrapper; import org.apache.maven.doxia.wrapper.InputReaderWrapper; import org.apache.maven.doxia.wrapper.OutputFileWrapper; @@ -93,8 +95,10 @@ String out = getBasedir() + "/target/unit/"; String to = "apt"; - InputFileWrapper input = InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); - OutputFileWrapper output = OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); + InputFileWrapper input = + InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); + OutputFileWrapper output = + OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); converter.convert( input, output ); assertTrue( new File( out, "Doxia.htm.apt" ).exists() ); @@ -116,8 +120,10 @@ String out = getBasedir() + "/target/unit/Doxia.apt"; String to = "apt"; - InputFileWrapper input = InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); - OutputFileWrapper output = OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); + InputFileWrapper input = + InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); + OutputFileWrapper output = + OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); converter.convert( input, output ); assertTrue( new File( out ).exists() ); @@ -139,8 +145,10 @@ String out = getBasedir() + "/target/unit/file/apt/test.apt.xhtml"; String to = "xhtml"; - InputFileWrapper input = InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); - OutputFileWrapper output = OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); + InputFileWrapper input = + InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); + OutputFileWrapper output = + OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); converter.convert( input, output ); assertTrue( new File( out ).exists() ); @@ -171,8 +179,10 @@ String out = getBasedir() + "/target/unit/file/confluence/test.confluence.xhtml"; String to = "xhtml"; - InputFileWrapper input = InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); - OutputFileWrapper output = OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); + InputFileWrapper input = + InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); + OutputFileWrapper output = + OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); converter.convert( input, output ); assertTrue( new File( out ).exists() ); @@ -211,23 +221,25 @@ String out = getBasedir() + "/target/unit/file/docbook/test.docbook.xhtml"; String to = "xhtml"; - InputFileWrapper input = InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); - OutputFileWrapper output = OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); + InputFileWrapper input = + InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); + OutputFileWrapper output = + OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); converter.convert( input, output ); assertTrue( new File( out ).exists() ); // TODO: docbook output is still crap, see DOXIA-184 - // in = getBasedir() + "/target/unit/file/docbook/test.docbook.xhtml"; - // from = "xhtml"; - // out = getBasedir() + "/target/unit/file/docbook/test.docbook"; - // to = "docbook"; + // in = getBasedir() + "/target/unit/file/docbook/test.docbook.xhtml"; + // from = "xhtml"; + // out = getBasedir() + "/target/unit/file/docbook/test.docbook"; + // to = "docbook"; // - // input = InputFileWrapper.valueOf( in, from, converter.getInputFormats() ); - // output = OutputFileWrapper.valueOf( out, to, converter.getOutputFormats() ); + // input = InputFileWrapper.valueOf( in, from, converter.getInputFormats() ); + // output = OutputFileWrapper.valueOf( out, to, converter.getOutputFormats() ); // - // converter.convert( input, output ); - // assertTrue( new File( out ).exists() ); + // converter.convert( input, output ); + // assertTrue( new File( out ).exists() ); } /** @@ -244,8 +256,10 @@ String out = getBasedir() + "/target/unit/file/fml/test.fml.xhtml"; String to = "xhtml"; - InputFileWrapper input = InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); - OutputFileWrapper output = OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); + InputFileWrapper input = + InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); + OutputFileWrapper output = + OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); converter.convert( input, output ); assertTrue( new File( out ).exists() ); @@ -284,8 +298,10 @@ String out = getBasedir() + "/target/unit/file/twiki/test.twiki.xhtml"; String to = "xhtml"; - InputFileWrapper input = InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); - OutputFileWrapper output = OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); + InputFileWrapper input = + InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); + OutputFileWrapper output = + OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); converter.convert( input, output ); assertTrue( new File( out ).exists() ); @@ -324,8 +340,10 @@ String out = getBasedir() + "/target/unit/file/xdoc/test.xdoc.xhtml"; String to = "xhtml"; - InputFileWrapper input = InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); - OutputFileWrapper output = OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); + InputFileWrapper input = + InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); + OutputFileWrapper output = + OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); converter.convert( input, output ); assertTrue( new File( out ).exists() ); @@ -356,8 +374,10 @@ String out = getBasedir() + "/target/unit/file/xhtml/test.xhtml.xhtml"; String to = "xhtml"; - InputFileWrapper input = InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); - OutputFileWrapper output = OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); + InputFileWrapper input = + InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() ); + OutputFileWrapper output = + OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() ); converter.convert( input, output ); assertTrue( new File( out ).exists() ); @@ -391,21 +411,28 @@ File inFile = new File( in ); File outFile = new File( out ); outFile.getParentFile().mkdirs(); - FileWriter fw = new FileWriter( outFile ); - StringWriter writer = new StringWriter(); + FileWriter fw = null; + try + { + fw = new FileWriter( outFile ); - InputReaderWrapper input = InputReaderWrapper.valueOf( new FileReader( inFile ), from, converter - .getInputFormats() ); - OutputWriterWrapper output = OutputWriterWrapper.valueOf( writer, to, converter - .getOutputFormats() ); + StringWriter writer = new StringWriter(); - converter.convert( input, output ); + InputReaderWrapper input = + InputReaderWrapper.valueOf( new FileReader( inFile ), from, converter.getInputFormats() ); + OutputWriterWrapper output = OutputWriterWrapper.valueOf( writer, to, converter.getOutputFormats() ); - IOUtil.copy( writer.toString(), fw ); - IOUtil.close( fw ); + converter.convert( input, output ); + + IOUtil.copy( writer.toString(), fw ); - assertTrue( outFile.exists() ); + assertTrue( outFile.exists() ); + } + finally + { + IOUtil.close( fw ); + } } /** @@ -425,20 +452,300 @@ File inFile = new File( in ); File outFile = new File( out ); outFile.getParentFile().mkdirs(); - FileWriter fw = new FileWriter( outFile ); - StringWriter writer = new StringWriter(); + FileWriter fw = null; + try + { + fw = new FileWriter( outFile ); - InputReaderWrapper input = InputReaderWrapper.valueOf( new FileReader( inFile ), from, converter - .getInputFormats() ); - OutputWriterWrapper output = OutputWriterWrapper.valueOf( new FileWriter( outFile ), to, converter - .getOutputFormats() ); + StringWriter writer = new StringWriter(); - converter.convert( input, output ); + InputReaderWrapper input = + InputReaderWrapper.valueOf( new FileReader( inFile ), from, converter.getInputFormats() ); + OutputWriterWrapper output = + OutputWriterWrapper.valueOf( new FileWriter( outFile ), to, converter.getOutputFormats() ); + + converter.convert( input, output ); + + IOUtil.copy( writer.toString(), fw ); + + assertTrue( outFile.exists() ); + } + finally + { + IOUtil.close( fw ); + } + } + + /** + * Input xdoc (autodetect) reader / output writer + * + * @see Converter#convert(InputReaderWrapper, OutputWriterWrapper) + * @throws Exception if any + */ + public void testAutoDetectConverter() + throws Exception + { + String in = getBasedir() + "/src/test/resources/unit/xdoc/test.xml"; + String from = null; + String out = getBasedir() + "/target/unit/writer/apt/test.xdoc.apt"; + String to = "xhtml"; + + File inFile = new File( in ); + File outFile = new File( out ); + outFile.getParentFile().mkdirs(); + + FileWriter fw = null; + try + { + fw = new FileWriter( outFile ); + + StringWriter writer = new StringWriter(); + + InputFileWrapper input = + InputFileWrapper.valueOf( inFile.getAbsolutePath(), from, converter.getInputFormats() ); + OutputFileWrapper output = + OutputFileWrapper.valueOf( outFile.getAbsolutePath(), to, converter.getOutputFormats() ); + + converter.convert( input, output ); + + IOUtil.copy( writer.toString(), fw ); + + assertTrue( outFile.exists() ); + } + finally + { + IOUtil.close( fw ); + } + + in = getBasedir() + "/src/test/resources/unit/apt/test.apt"; + from = null; + out = getBasedir() + "/target/unit/writer/apt/test.apt.xhtml"; + to = "xhtml"; + + inFile = new File( in ); + outFile = new File( out ); + outFile.getParentFile().mkdirs(); + + try + { + fw = new FileWriter( outFile ); + + StringWriter writer = new StringWriter(); + + InputFileWrapper input = + InputFileWrapper.valueOf( inFile.getAbsolutePath(), from, converter.getInputFormats() ); + OutputFileWrapper output = + OutputFileWrapper.valueOf( outFile.getAbsolutePath(), to, converter.getOutputFormats() ); - IOUtil.copy( writer.toString(), fw ); - IOUtil.close( fw ); + converter.convert( input, output ); + + IOUtil.copy( writer.toString(), fw ); + + assertTrue( outFile.exists() ); + } + finally + { + IOUtil.close( fw ); + } + + in = getBasedir() + "/src/test/resources/unit/apt/test.unknown"; + from = null; + out = getBasedir() + "/target/unit/writer/apt/test.apt.xhtml"; + to = "xhtml"; + + inFile = new File( in ); + outFile = new File( out ); + outFile.getParentFile().mkdirs(); + + try + { + fw = new FileWriter( outFile ); + + InputFileWrapper input = + InputFileWrapper.valueOf( inFile.getAbsolutePath(), from, converter.getInputFormats() ); + OutputFileWrapper output = + OutputFileWrapper.valueOf( outFile.getAbsolutePath(), to, converter.getOutputFormats() ); + + converter.convert( input, output ); + + assertFalse( true ); + } + catch ( UnsupportedOperationException e ) + { + assertTrue( true ); + } + finally + { + IOUtil.close( fw ); + } + } + + /** + * Test [EMAIL PROTECTED] DefaultConverter#autoDetectEncoding( f )} + * + * @throws Throwable + */ + public void testAutodetectEncoding() + throws Throwable + { + String in = getBasedir() + "/src/test/resources/unit/apt/test.apt"; + File f = new File( in ); + String result = + (String) PrivateAccessor.invoke( DefaultConverter.class, "autoDetectEncoding", + new Class[] { File.class }, new Object[] { f } ); + assertEquals( result, "ISO-8859-1" ); + + in = getBasedir() + "/src/test/resources/unit/confluence/test.confluence"; + f = new File( in ); + result = + (String) PrivateAccessor.invoke( DefaultConverter.class, "autoDetectEncoding", + new Class[] { File.class }, new Object[] { f } ); + assertEquals( result, "ISO-8859-1" ); + + in = getBasedir() + "/src/test/resources/unit/docbook/test.xml"; + f = new File( in ); + result = + (String) PrivateAccessor.invoke( DefaultConverter.class, "autoDetectEncoding", + new Class[] { File.class }, new Object[] { f } ); + assertEquals( result, "UTF-8" ); + + in = getBasedir() + "/src/test/resources/unit/fml/test.fml"; + f = new File( in ); + result = + (String) PrivateAccessor.invoke( DefaultConverter.class, "autoDetectEncoding", + new Class[] { File.class }, new Object[] { f } ); + assertEquals( result, "ISO-8859-1" ); + + in = getBasedir() + "/src/test/resources/unit/twiki/test.twiki"; + f = new File( in ); + result = + (String) PrivateAccessor.invoke( DefaultConverter.class, "autoDetectEncoding", + new Class[] { File.class }, new Object[] { f } ); + assertEquals( result, "ISO-8859-1" ); + + in = getBasedir() + "/src/test/resources/unit/xhtml/test.xhtml"; + f = new File( in ); + result = + (String) PrivateAccessor.invoke( DefaultConverter.class, "autoDetectEncoding", + new Class[] { File.class }, new Object[] { f } ); + assertEquals( result, "UTF-8" ); + } + + /** + * Test [EMAIL PROTECTED] DefaultConverter#isXML( f )} + * + * @throws Throwable + */ + public void testIsXML() + throws Throwable + { + String in = getBasedir() + "/src/test/resources/unit/apt/test.apt"; + File f = new File( in ); + Boolean result = + (Boolean) PrivateAccessor.invoke( DefaultConverter.class, "isXML", new Class[] { File.class }, + new Object[] { f } ); + assertEquals( result, Boolean.FALSE ); + + in = getBasedir() + "/src/test/resources/unit/confluence/test.confluence"; + f = new File( in ); + result = + (Boolean) PrivateAccessor.invoke( DefaultConverter.class, "isXML", new Class[] { File.class }, + new Object[] { f } ); + assertEquals( result, Boolean.FALSE ); + + in = getBasedir() + "/src/test/resources/unit/docbook/test.xml"; + f = new File( in ); + result = + (Boolean) PrivateAccessor.invoke( DefaultConverter.class, "isXML", new Class[] { File.class }, + new Object[] { f } ); + assertEquals( result, Boolean.TRUE ); + + in = getBasedir() + "/src/test/resources/unit/fml/test.fml"; + f = new File( in ); + result = + (Boolean) PrivateAccessor.invoke( DefaultConverter.class, "isXML", new Class[] { File.class }, + new Object[] { f } ); + assertEquals( result, Boolean.TRUE ); + + in = getBasedir() + "/src/test/resources/unit/twiki/test.twiki"; + f = new File( in ); + result = + (Boolean) PrivateAccessor.invoke( DefaultConverter.class, "isXML", new Class[] { File.class }, + new Object[] { f } ); + assertEquals( result, Boolean.FALSE ); + + in = getBasedir() + "/src/test/resources/unit/xhtml/test.xhtml"; + f = new File( in ); + result = + (Boolean) PrivateAccessor.invoke( DefaultConverter.class, "isXML", new Class[] { File.class }, + new Object[] { f } ); + assertEquals( result, Boolean.TRUE ); + } + + /** + * Test [EMAIL PROTECTED] DefaultConverter#autoDetectFormat( f, encoding )} + * + * @throws Throwable + */ + public void testAutodetectFormat() + throws Throwable + { + String in = getBasedir() + "/src/test/resources/unit/apt/test.apt"; + File f = new File( in ); + String result = + (String) PrivateAccessor.invoke( DefaultConverter.class, "autoDetectFormat", new Class[] { File.class, + String.class }, new Object[] { f, "UTF-8" } ); + assertEquals( result, "apt" ); + + in = getBasedir() + "/src/test/resources/unit/apt/test.unknown"; + f = new File( in ); + try + { + result = + (String) PrivateAccessor.invoke( DefaultConverter.class, "autoDetectFormat", new Class[] { File.class, + String.class }, new Object[] { f, "UTF-8" } ); + + assertFalse( true ); + } + catch ( UnsupportedOperationException e ) + { + assertTrue( true ); + } - assertTrue( outFile.exists() ); + in = getBasedir() + "/src/test/resources/unit/confluence/test.confluence"; + f = new File( in ); + result = + (String) PrivateAccessor.invoke( DefaultConverter.class, "autoDetectFormat", new Class[] { File.class, + String.class }, new Object[] { f, "UTF-8" } ); + assertEquals( result, "confluence" ); + + in = getBasedir() + "/src/test/resources/unit/docbook/test.xml"; + f = new File( in ); + result = + (String) PrivateAccessor.invoke( DefaultConverter.class, "autoDetectFormat", new Class[] { File.class, + String.class }, new Object[] { f, "UTF-8" } ); + assertEquals( result, "docbook" ); + + in = getBasedir() + "/src/test/resources/unit/fml/test.fml"; + f = new File( in ); + result = + (String) PrivateAccessor.invoke( DefaultConverter.class, "autoDetectFormat", new Class[] { File.class, + String.class }, new Object[] { f, "UTF-8" } ); + assertEquals( result, "fml" ); + + in = getBasedir() + "/src/test/resources/unit/twiki/test.twiki"; + f = new File( in ); + result = + (String) PrivateAccessor.invoke( DefaultConverter.class, "autoDetectFormat", new Class[] { File.class, + String.class }, new Object[] { f, "UTF-8" } ); + assertEquals( result, "twiki" ); + + in = getBasedir() + "/src/test/resources/unit/xhtml/test.xhtml"; + f = new File( in ); + result = + (String) PrivateAccessor.invoke( DefaultConverter.class, "autoDetectFormat", new Class[] { File.class, + String.class }, new Object[] { f, "UTF-8" } ); + assertEquals( result, "xhtml" ); } }
Added: maven/doxia/doxia-tools/trunk/doxia-converter/src/test/resources/unit/apt/test.unknown URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-converter/src/test/resources/unit/apt/test.unknown?rev=697523&view=auto ============================================================================== --- maven/doxia/doxia-tools/trunk/doxia-converter/src/test/resources/unit/apt/test.unknown (added) +++ maven/doxia/doxia-tools/trunk/doxia-converter/src/test/resources/unit/apt/test.unknown Sun Sep 21 07:29:09 2008 @@ -0,0 +1,86 @@ + ------ + Title + ------ + Author + ------ + Date + + Paragraph 1, line 1. + Paragraph 1, line 2. + + Paragraph 2, line 1. + Paragraph 2, line 2. + +Section title + +* Sub-section title + +** Sub-sub-section title + +*** Sub-sub-sub-section title + +**** Sub-sub-sub-sub-section title + + * List item 1. + + * List item 2. + + Paragraph contained in list item 2. + + * Sub-list item 1. + + * Sub-list item 2. + + * List item 3. + Force end of list: + + [] + ++------------------------------------------+ +Verbatim text not contained in list item 3 ++------------------------------------------+ + + [[1]] Numbered item 1. + + [[A]] Numbered item A. + + [[B]] Numbered item B. + + [[2]] Numbered item 2. + + List numbering schemes: [[1]], [[a]], [[A]], [[i]], [[I]]. + + [Defined term 1] of definition list. + + [Defined term 2] of definition list. + ++-------------------------------+ +Verbatim text + in a box ++-------------------------------+ + + --- instead of +-- suppresses the box around verbatim text. + + Horizontal line: + +======================================================================= + + + New page. + + <Italic> font. <<Bold>> font. <<<Monospaced>>> font. + + {Anchor}. Link to {{Anchor}}. Link to {{http://www.pixware.fr}}. + Link to {{{Anchor}showing alternate text}}. + Link to {{{http://www.pixware.fr}Pixware home page}}. + + Force line\ + break. + + Non\ breaking\ space. + + Escaped special characters: \~, \=, \-, \+, \*, \[, \], \<, \>, \{, \}, \\. + + Copyright symbol: \251, \xA9, \u00a9. + +~~Commented out. Modified: maven/doxia/doxia-tools/trunk/doxia-converter/src/test/resources/unit/confluence/test.confluence URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-converter/src/test/resources/unit/confluence/test.confluence?rev=697523&r1=697522&r2=697523&view=diff ============================================================================== --- maven/doxia/doxia-tools/trunk/doxia-converter/src/test/resources/unit/confluence/test.confluence (original) +++ maven/doxia/doxia-tools/trunk/doxia-converter/src/test/resources/unit/confluence/test.confluence Sun Sep 21 07:29:09 2008 @@ -1 +1,98 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head></head><body></body></html> \ No newline at end of file +This the way that we would like to *translate* sites that are primarily +authored in confluence while at the same time having the site be rendered in +a _standard way on a static website_. + +---- + +Here is a link to [JIRA|http://jira.codehaus.org] + +Here is a link with no text [http://jira.codehaus.org] + +This is some {{monospaced}} text. + +* item one +** foo +** bar +* item two +* item three + +Some more text + +# number one +# number two +# number three + +||one||two||three|| +|foo|bar|baz| + +h1. I am h1 + +this is how you would code a mojo! + +{code} +public class MyMojo + extends AbstractMojo +{ + /** + * @parameter expression="${plugin.artifacts}" + * @required + */ + private List pluginArtifacts; + + public void execute() + throws MojoExecutionException + { + ... + for ( Iterator i = pluginArtifacts.iterator(); i.hasNext(); ) + { + Artifact pluginArtifact = (Artifact) i.next(); + } + ... + } +} +{code} + +h2. I am h2 + +this is the way of the world + +{noformat} +public class MyMojo + extends AbstractMojo +{ + /** + * @parameter expression="${plugin.artifacts}" + * @required + */ + private List pluginArtifacts; + + public void execute() + throws MojoExecutionException + { + ... + for ( Iterator i = pluginArtifacts.iterator(); i.hasNext(); ) + { + Artifact pluginArtifact = (Artifact) i.next(); + } + ... + } +} +{noformat} + +h3. I am h3 + +this is the way of the world + +h4. I am h4 + +this is the way of the world + +h5. I am h5 + +this is the way of the world + +h1. Answered Questions + +h3. What can I do to get the Maven love? + +Well, you just have to be calm and the maven love will come your way.
