diff --git a/.idea/checkstyle-idea.xml b/.idea/checkstyle-idea.xml index 5d915f8..9d46599 100644 --- a/.idea/checkstyle-idea.xml +++ b/.idea/checkstyle-idea.xml @@ -1,18 +1,19 @@ - 8.7 - JavaOnlyWithTests - true + 10.10.0 + JavaOnly + true + true diff --git a/oap-mail-test/pom.xml b/oap-mail-test/pom.xml new file mode 100644 index 0000000..5fe6b93 --- /dev/null +++ b/oap-mail-test/pom.xml @@ -0,0 +1,59 @@ + + + + + 4.0.0 + oap-mail-test + oap-mail-test + + + oap + oap-mail-parent + ${oap-mail.project.version} + + + + + oap + oap-mail + ${project.version} + + + + oap + oap-stdlib-test + ${oap.deps.oap.version} + + + + org.projectlombok + lombok + ${oap.deps.lombok.version} + provided + + + diff --git a/oap-mail/src/main/java/oap/mail/test/MailBox.java b/oap-mail-test/src/main/java/oap/mail/test/MailBox.java similarity index 100% rename from oap-mail/src/main/java/oap/mail/test/MailBox.java rename to oap-mail-test/src/main/java/oap/mail/test/MailBox.java diff --git a/oap-mail/src/main/java/oap/mail/test/MessageAssertion.java b/oap-mail-test/src/main/java/oap/mail/test/MessageAssertion.java similarity index 100% rename from oap-mail/src/main/java/oap/mail/test/MessageAssertion.java rename to oap-mail-test/src/main/java/oap/mail/test/MessageAssertion.java diff --git a/oap-mail/src/main/java/oap/mail/test/MessagesAssertion.java b/oap-mail-test/src/main/java/oap/mail/test/MessagesAssertion.java similarity index 100% rename from oap-mail/src/main/java/oap/mail/test/MessagesAssertion.java rename to oap-mail-test/src/main/java/oap/mail/test/MessagesAssertion.java diff --git a/oap-mail/src/test/java/oap/mail/MailQueueTest.java b/oap-mail-test/src/test/java/oap/mail/MailQueueTest.java similarity index 100% rename from oap-mail/src/test/java/oap/mail/MailQueueTest.java rename to oap-mail-test/src/test/java/oap/mail/MailQueueTest.java diff --git a/oap-mail/src/test/java/oap/mail/TemplateTest.java b/oap-mail-test/src/test/java/oap/mail/TemplateTest.java similarity index 100% rename from oap-mail/src/test/java/oap/mail/TemplateTest.java rename to oap-mail-test/src/test/java/oap/mail/TemplateTest.java diff --git a/oap-mail/src/test/java/oap/mail/TestGMail.java b/oap-mail-test/src/test/java/oap/mail/TestGMail.java similarity index 100% rename from oap-mail/src/test/java/oap/mail/TestGMail.java rename to oap-mail-test/src/test/java/oap/mail/TestGMail.java diff --git a/oap-mail/src/test/java/oap/mail/message/TextMessageParserTest.java b/oap-mail-test/src/test/java/oap/mail/message/TextMessageParserTest.java similarity index 100% rename from oap-mail/src/test/java/oap/mail/message/TextMessageParserTest.java rename to oap-mail-test/src/test/java/oap/mail/message/TextMessageParserTest.java diff --git a/oap-mail/src/test/java/oap/mail/message/xml/XmlMessageParserTest.java b/oap-mail-test/src/test/java/oap/mail/message/xml/XmlMessageParserTest.java similarity index 100% rename from oap-mail/src/test/java/oap/mail/message/xml/XmlMessageParserTest.java rename to oap-mail-test/src/test/java/oap/mail/message/xml/XmlMessageParserTest.java diff --git a/oap-mail/src/test/java/oap/mail/velocity/FormatDateDirectiveTest.java b/oap-mail-test/src/test/java/oap/mail/velocity/FormatDateDirectiveTest.java similarity index 100% rename from oap-mail/src/test/java/oap/mail/velocity/FormatDateDirectiveTest.java rename to oap-mail-test/src/test/java/oap/mail/velocity/FormatDateDirectiveTest.java diff --git a/oap-mail/src/test/java/oap/mail/velocity/XPathDirectiveTest.java b/oap-mail-test/src/test/java/oap/mail/velocity/XPathDirectiveTest.java similarity index 100% rename from oap-mail/src/test/java/oap/mail/velocity/XPathDirectiveTest.java rename to oap-mail-test/src/test/java/oap/mail/velocity/XPathDirectiveTest.java diff --git a/oap-mail/src/test/resources/logback-test.xml b/oap-mail-test/src/test/resources/logback-test.xml similarity index 100% rename from oap-mail/src/test/resources/logback-test.xml rename to oap-mail-test/src/test/resources/logback-test.xml diff --git a/oap-mail/src/test/resources/oap/mail/TemplateTest/include.txt b/oap-mail-test/src/test/resources/oap/mail/TemplateTest/include.txt similarity index 100% rename from oap-mail/src/test/resources/oap/mail/TemplateTest/include.txt rename to oap-mail-test/src/test/resources/oap/mail/TemplateTest/include.txt diff --git a/oap-mail/src/test/resources/oap/mail/message/TextMessageParserTest/att1.mail b/oap-mail-test/src/test/resources/oap/mail/message/TextMessageParserTest/att1.mail similarity index 100% rename from oap-mail/src/test/resources/oap/mail/message/TextMessageParserTest/att1.mail rename to oap-mail-test/src/test/resources/oap/mail/message/TextMessageParserTest/att1.mail diff --git a/oap-mail/src/test/resources/oap/mail/message/TextMessageParserTest/att2.mail b/oap-mail-test/src/test/resources/oap/mail/message/TextMessageParserTest/att2.mail similarity index 100% rename from oap-mail/src/test/resources/oap/mail/message/TextMessageParserTest/att2.mail rename to oap-mail-test/src/test/resources/oap/mail/message/TextMessageParserTest/att2.mail diff --git a/oap-mail/src/test/resources/oap/mail/message/TextMessageParserTest/subject.mail b/oap-mail-test/src/test/resources/oap/mail/message/TextMessageParserTest/subject.mail similarity index 100% rename from oap-mail/src/test/resources/oap/mail/message/TextMessageParserTest/subject.mail rename to oap-mail-test/src/test/resources/oap/mail/message/TextMessageParserTest/subject.mail diff --git a/oap-mail/src/test/resources/oap/mail/message/xml/XmlMessageParserTest/mail.xmail b/oap-mail-test/src/test/resources/oap/mail/message/xml/XmlMessageParserTest/mail.xmail similarity index 100% rename from oap-mail/src/test/resources/oap/mail/message/xml/XmlMessageParserTest/mail.xmail rename to oap-mail-test/src/test/resources/oap/mail/message/xml/XmlMessageParserTest/mail.xmail diff --git a/oap-mail/src/test/resources/oap/mail/message/xml/XmlMessageParserTest/simple.xmail b/oap-mail-test/src/test/resources/oap/mail/message/xml/XmlMessageParserTest/simple.xmail similarity index 100% rename from oap-mail/src/test/resources/oap/mail/message/xml/XmlMessageParserTest/simple.xmail rename to oap-mail-test/src/test/resources/oap/mail/message/xml/XmlMessageParserTest/simple.xmail diff --git a/oap-mail/src/test/resources/oap/mail/message/xml/XmlMessageParserTest/text-attachment.xmail b/oap-mail-test/src/test/resources/oap/mail/message/xml/XmlMessageParserTest/text-attachment.xmail similarity index 100% rename from oap-mail/src/test/resources/oap/mail/message/xml/XmlMessageParserTest/text-attachment.xmail rename to oap-mail-test/src/test/resources/oap/mail/message/xml/XmlMessageParserTest/text-attachment.xmail diff --git a/oap-mail/src/test/resources/oap/mail/velocity/XPathDirectiveTest/test.xml b/oap-mail-test/src/test/resources/oap/mail/velocity/XPathDirectiveTest/test.xml similarity index 100% rename from oap-mail/src/test/resources/oap/mail/velocity/XPathDirectiveTest/test.xml rename to oap-mail-test/src/test/resources/oap/mail/velocity/XPathDirectiveTest/test.xml diff --git a/oap-mail/src/test/resources/tux.jpeg b/oap-mail-test/src/test/resources/tux.jpeg similarity index 100% rename from oap-mail/src/test/resources/tux.jpeg rename to oap-mail-test/src/test/resources/tux.jpeg diff --git a/oap-mail/src/test/resources/xjapanese.xmail b/oap-mail-test/src/test/resources/xjapanese.xmail similarity index 100% rename from oap-mail/src/test/resources/xjapanese.xmail rename to oap-mail-test/src/test/resources/xjapanese.xmail diff --git a/pom.xml b/pom.xml index 80faa7c..ab44333 100644 --- a/pom.xml +++ b/pom.xml @@ -44,13 +44,14 @@ oap-mail + oap-mail-test oap-mail-sendgrid - 21.0.1 + 21.1.0 - 21.1.2 + 21.2.0 4.9.3 1.18.30