diff --git a/README.md b/README.md index 5737400..8cd8744 100644 --- a/README.md +++ b/README.md @@ -54,9 +54,9 @@ Once you [installed the lib](https://maven.apache.org/guides/mini/guide-3rd-part - it.eomm.tools + com.github.eomm dolm-maven-plugin - LATEST + 1.0.0 build-nice-docs @@ -122,7 +122,7 @@ Simply run `mvn clean test` ### Next steps + :white_check_mark: JUnit + :white_check_mark: Better integration in the maven lifecycle -+ :hourglass_flowing_sand: Deploy on [mvn-repository](http://central.sonatype.org/) ++ :white_check_mark: Deploy on [Sonatype's Open Source Software Repository Hosting (OSSRH)](https://oss.sonatype.org/content/groups/public/com/github/eomm/dolm-maven-plugin/) + :white_medium_square: Add a template system to the `.md` files + :white_medium_square: Customize the output file format (`docx`, `odt`, ecc...) diff --git a/pom.xml b/pom.xml index 0c16f7c..fd8bd50 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - it.eomm.tools + com.github.eomm dolm-maven-plugin 1.0.0 maven-plugin @@ -220,7 +220,7 @@ ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ + https://oss.sonatype.org/service/local/staging/deploy/maven2 diff --git a/src/main/java/it/eomm/tools/dolm/Dolm.java b/src/main/java/com/github/eomm/tools/dolm/Dolm.java similarity index 98% rename from src/main/java/it/eomm/tools/dolm/Dolm.java rename to src/main/java/com/github/eomm/tools/dolm/Dolm.java index 50bc8bd..07ecf6b 100644 --- a/src/main/java/it/eomm/tools/dolm/Dolm.java +++ b/src/main/java/com/github/eomm/tools/dolm/Dolm.java @@ -1,4 +1,4 @@ -package it.eomm.tools.dolm; +package com.github.eomm.tools.dolm; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.logging.Log; diff --git a/src/main/java/it/eomm/tools/dolm/IDolm.java b/src/main/java/com/github/eomm/tools/dolm/IDolm.java similarity index 91% rename from src/main/java/it/eomm/tools/dolm/IDolm.java rename to src/main/java/com/github/eomm/tools/dolm/IDolm.java index 4131ed2..321a01d 100644 --- a/src/main/java/it/eomm/tools/dolm/IDolm.java +++ b/src/main/java/com/github/eomm/tools/dolm/IDolm.java @@ -1,4 +1,4 @@ -package it.eomm.tools.dolm; +package com.github.eomm.tools.dolm; import org.apache.maven.plugin.Mojo; diff --git a/src/main/java/it/eomm/tools/dolm/bean/Converted.java b/src/main/java/com/github/eomm/tools/dolm/bean/Converted.java similarity index 94% rename from src/main/java/it/eomm/tools/dolm/bean/Converted.java rename to src/main/java/com/github/eomm/tools/dolm/bean/Converted.java index 11908e8..ebc1cf2 100644 --- a/src/main/java/it/eomm/tools/dolm/bean/Converted.java +++ b/src/main/java/com/github/eomm/tools/dolm/bean/Converted.java @@ -1,4 +1,4 @@ -package it.eomm.tools.dolm.bean; +package com.github.eomm.tools.dolm.bean; import java.io.Serializable; diff --git a/src/main/java/it/eomm/tools/dolm/exceptions/ConvertException.java b/src/main/java/com/github/eomm/tools/dolm/exceptions/ConvertException.java similarity index 90% rename from src/main/java/it/eomm/tools/dolm/exceptions/ConvertException.java rename to src/main/java/com/github/eomm/tools/dolm/exceptions/ConvertException.java index 1dea9fe..5327df3 100644 --- a/src/main/java/it/eomm/tools/dolm/exceptions/ConvertException.java +++ b/src/main/java/com/github/eomm/tools/dolm/exceptions/ConvertException.java @@ -1,4 +1,4 @@ -package it.eomm.tools.dolm.exceptions; +package com.github.eomm.tools.dolm.exceptions; public class ConvertException extends Exception { /** diff --git a/src/main/java/it/eomm/tools/dolm/exceptions/PipeException.java b/src/main/java/com/github/eomm/tools/dolm/exceptions/PipeException.java similarity index 90% rename from src/main/java/it/eomm/tools/dolm/exceptions/PipeException.java rename to src/main/java/com/github/eomm/tools/dolm/exceptions/PipeException.java index f7f920c..fef92cf 100644 --- a/src/main/java/it/eomm/tools/dolm/exceptions/PipeException.java +++ b/src/main/java/com/github/eomm/tools/dolm/exceptions/PipeException.java @@ -1,4 +1,4 @@ -package it.eomm.tools.dolm.exceptions; +package com.github.eomm.tools.dolm.exceptions; public class PipeException extends Exception { /** diff --git a/src/main/java/it/eomm/tools/dolm/goals/BuildMojo.java b/src/main/java/com/github/eomm/tools/dolm/goals/BuildMojo.java similarity index 82% rename from src/main/java/it/eomm/tools/dolm/goals/BuildMojo.java rename to src/main/java/com/github/eomm/tools/dolm/goals/BuildMojo.java index 6116073..21240fe 100644 --- a/src/main/java/it/eomm/tools/dolm/goals/BuildMojo.java +++ b/src/main/java/com/github/eomm/tools/dolm/goals/BuildMojo.java @@ -1,13 +1,13 @@ -package it.eomm.tools.dolm.goals; +package com.github.eomm.tools.dolm.goals; -import it.eomm.tools.dolm.Dolm; -import it.eomm.tools.dolm.bean.Converted; -import it.eomm.tools.dolm.logic.PipelineConverter; -import it.eomm.tools.dolm.logic.converter.MarkdownFileConverter; -import it.eomm.tools.dolm.logic.converter.OutPdf; -import it.eomm.tools.dolm.utils.ConvertFactory; -import it.eomm.tools.dolm.utils.FileNamePatternFilter; -import it.eomm.tools.dolm.utils.FileSystemIterator; +import com.github.eomm.tools.dolm.Dolm; +import com.github.eomm.tools.dolm.bean.Converted; +import com.github.eomm.tools.dolm.logic.PipelineConverter; +import com.github.eomm.tools.dolm.logic.converter.MarkdownFileConverter; +import com.github.eomm.tools.dolm.logic.converter.OutPdf; +import com.github.eomm.tools.dolm.utils.FileNamePatternFilter; +import com.github.eomm.tools.dolm.utils.FileSystemIterator; +import com.github.eomm.tools.dolm.utils.ConvertFactory; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; import org.apache.maven.plugins.annotations.LifecyclePhase; diff --git a/src/main/java/it/eomm/tools/dolm/logic/IConverter.java b/src/main/java/com/github/eomm/tools/dolm/logic/IConverter.java similarity index 58% rename from src/main/java/it/eomm/tools/dolm/logic/IConverter.java rename to src/main/java/com/github/eomm/tools/dolm/logic/IConverter.java index 69b6fdc..067579b 100644 --- a/src/main/java/it/eomm/tools/dolm/logic/IConverter.java +++ b/src/main/java/com/github/eomm/tools/dolm/logic/IConverter.java @@ -1,6 +1,6 @@ -package it.eomm.tools.dolm.logic; +package com.github.eomm.tools.dolm.logic; -import it.eomm.tools.dolm.exceptions.ConvertException; +import com.github.eomm.tools.dolm.exceptions.ConvertException; /** * Created by Manuel Spigolon on 02/07/2017. diff --git a/src/main/java/it/eomm/tools/dolm/logic/PipelineConverter.java b/src/main/java/com/github/eomm/tools/dolm/logic/PipelineConverter.java similarity index 86% rename from src/main/java/it/eomm/tools/dolm/logic/PipelineConverter.java rename to src/main/java/com/github/eomm/tools/dolm/logic/PipelineConverter.java index f218332..8fad0bc 100644 --- a/src/main/java/it/eomm/tools/dolm/logic/PipelineConverter.java +++ b/src/main/java/com/github/eomm/tools/dolm/logic/PipelineConverter.java @@ -1,6 +1,6 @@ -package it.eomm.tools.dolm.logic; +package com.github.eomm.tools.dolm.logic; -import it.eomm.tools.dolm.exceptions.PipeException; +import com.github.eomm.tools.dolm.exceptions.PipeException; import java.util.ArrayList; import java.util.List; diff --git a/src/main/java/it/eomm/tools/dolm/logic/converter/MarkdownFileConverter.java b/src/main/java/com/github/eomm/tools/dolm/logic/converter/MarkdownFileConverter.java similarity index 81% rename from src/main/java/it/eomm/tools/dolm/logic/converter/MarkdownFileConverter.java rename to src/main/java/com/github/eomm/tools/dolm/logic/converter/MarkdownFileConverter.java index b50c388..7654f14 100644 --- a/src/main/java/it/eomm/tools/dolm/logic/converter/MarkdownFileConverter.java +++ b/src/main/java/com/github/eomm/tools/dolm/logic/converter/MarkdownFileConverter.java @@ -1,9 +1,9 @@ -package it.eomm.tools.dolm.logic.converter; +package com.github.eomm.tools.dolm.logic.converter; -import it.eomm.tools.dolm.bean.Converted; -import it.eomm.tools.dolm.exceptions.ConvertException; -import it.eomm.tools.dolm.logic.IConverter; -import it.eomm.tools.dolm.utils.ConvertFactory; +import com.github.eomm.tools.dolm.bean.Converted; +import com.github.eomm.tools.dolm.logic.IConverter; +import com.github.eomm.tools.dolm.exceptions.ConvertException; +import com.github.eomm.tools.dolm.utils.ConvertFactory; import org.commonmark.node.Node; import org.commonmark.parser.Parser; diff --git a/src/main/java/it/eomm/tools/dolm/logic/converter/OutPdf.java b/src/main/java/com/github/eomm/tools/dolm/logic/converter/OutPdf.java similarity index 91% rename from src/main/java/it/eomm/tools/dolm/logic/converter/OutPdf.java rename to src/main/java/com/github/eomm/tools/dolm/logic/converter/OutPdf.java index 7c4cf2b..32b6d8c 100644 --- a/src/main/java/it/eomm/tools/dolm/logic/converter/OutPdf.java +++ b/src/main/java/com/github/eomm/tools/dolm/logic/converter/OutPdf.java @@ -1,12 +1,12 @@ -package it.eomm.tools.dolm.logic.converter; +package com.github.eomm.tools.dolm.logic.converter; +import com.github.eomm.tools.dolm.bean.Converted; +import com.github.eomm.tools.dolm.logic.IConverter; import com.itextpdf.text.Document; import com.itextpdf.text.pdf.PdfWriter; import com.itextpdf.tool.xml.XMLWorkerHelper; -import it.eomm.tools.dolm.bean.Converted; -import it.eomm.tools.dolm.exceptions.ConvertException; -import it.eomm.tools.dolm.logic.IConverter; -import it.eomm.tools.dolm.utils.ConvertFactory; +import com.github.eomm.tools.dolm.exceptions.ConvertException; +import com.github.eomm.tools.dolm.utils.ConvertFactory; import org.commonmark.node.Node; import java.io.ByteArrayInputStream; diff --git a/src/main/java/it/eomm/tools/dolm/utils/ConvertFactory.java b/src/main/java/com/github/eomm/tools/dolm/utils/ConvertFactory.java similarity index 95% rename from src/main/java/it/eomm/tools/dolm/utils/ConvertFactory.java rename to src/main/java/com/github/eomm/tools/dolm/utils/ConvertFactory.java index f1b9c0d..9226c1c 100644 --- a/src/main/java/it/eomm/tools/dolm/utils/ConvertFactory.java +++ b/src/main/java/com/github/eomm/tools/dolm/utils/ConvertFactory.java @@ -1,4 +1,4 @@ -package it.eomm.tools.dolm.utils; +package com.github.eomm.tools.dolm.utils; import org.commonmark.Extension; import org.commonmark.parser.Parser; diff --git a/src/main/java/it/eomm/tools/dolm/utils/FileNamePatternFilter.java b/src/main/java/com/github/eomm/tools/dolm/utils/FileNamePatternFilter.java similarity index 93% rename from src/main/java/it/eomm/tools/dolm/utils/FileNamePatternFilter.java rename to src/main/java/com/github/eomm/tools/dolm/utils/FileNamePatternFilter.java index e01edd6..54e97c5 100644 --- a/src/main/java/it/eomm/tools/dolm/utils/FileNamePatternFilter.java +++ b/src/main/java/com/github/eomm/tools/dolm/utils/FileNamePatternFilter.java @@ -1,4 +1,4 @@ -package it.eomm.tools.dolm.utils; +package com.github.eomm.tools.dolm.utils; import java.io.File; import java.io.FilenameFilter; diff --git a/src/main/java/it/eomm/tools/dolm/utils/FileSystemIterator.java b/src/main/java/com/github/eomm/tools/dolm/utils/FileSystemIterator.java similarity index 98% rename from src/main/java/it/eomm/tools/dolm/utils/FileSystemIterator.java rename to src/main/java/com/github/eomm/tools/dolm/utils/FileSystemIterator.java index 0933640..2598b8a 100644 --- a/src/main/java/it/eomm/tools/dolm/utils/FileSystemIterator.java +++ b/src/main/java/com/github/eomm/tools/dolm/utils/FileSystemIterator.java @@ -1,4 +1,4 @@ -package it.eomm.tools.dolm.utils; +package com.github.eomm.tools.dolm.utils; import java.io.File; import java.io.FilenameFilter; diff --git a/src/test/java/it/eomm/tools/dolm/test/DolmTest.java b/src/test/java/com/github/eomm/tools/dolm/test/DolmTest.java similarity index 97% rename from src/test/java/it/eomm/tools/dolm/test/DolmTest.java rename to src/test/java/com/github/eomm/tools/dolm/test/DolmTest.java index c624350..f541c46 100644 --- a/src/test/java/it/eomm/tools/dolm/test/DolmTest.java +++ b/src/test/java/com/github/eomm/tools/dolm/test/DolmTest.java @@ -1,6 +1,6 @@ -package it.eomm.tools.dolm.test; +package com.github.eomm.tools.dolm.test; -import it.eomm.tools.dolm.IDolm; +import com.github.eomm.tools.dolm.IDolm; import org.apache.maven.plugin.testing.AbstractMojoTestCase; import java.io.File; diff --git a/src/test/resources/pom-test.xml b/src/test/resources/pom-test.xml index 713e3cf..bc27c22 100644 --- a/src/test/resources/pom-test.xml +++ b/src/test/resources/pom-test.xml @@ -19,7 +19,7 @@ - it.eomm.tools + com.github.eomm dolm-maven-plugin