diff --git a/cms-content/src/main/java/com/condation/cms/content/markdown/rules/inline/NewlineInlineRule.java b/cms-content/src/main/java/com/condation/cms/content/markdown/rules/inline/NewlineInlineRule.java index e7361d7e..d4183805 100644 --- a/cms-content/src/main/java/com/condation/cms/content/markdown/rules/inline/NewlineInlineRule.java +++ b/cms-content/src/main/java/com/condation/cms/content/markdown/rules/inline/NewlineInlineRule.java @@ -33,10 +33,8 @@ */ public class NewlineInlineRule implements InlineElementRule { - private static final Pattern PATTERN = Pattern.compile(" {2,}\\n"); + private static final Pattern PATTERN = Pattern.compile(" {2,}$", Pattern.MULTILINE); - - @Override public InlineBlock next(String md) { var matcher = PATTERN.matcher(md); diff --git a/cms-server/nbactions-dist.xml b/cms-server/nbactions-dist.xml index d129754c..c6755fb3 100644 --- a/cms-server/nbactions-dist.xml +++ b/cms-server/nbactions-dist.xml @@ -13,7 +13,7 @@ ${exec.vmArgs} -classpath %classpath ${exec.mainClass} ${exec.appArgs} server start - com.github.thmarx.cms.cli.CMSCli + com.condation.cms.cli.CMSCli java @@ -30,7 +30,7 @@ -agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address} ${exec.vmArgs} -classpath %classpath ${exec.mainClass} ${exec.appArgs} server start - com.github.thmarx.cms.cli.CMSCli + com.condation.cms.cli.CMSCli java true @@ -47,7 +47,7 @@ ${exec.vmArgs} -classpath %classpath ${exec.mainClass} ${exec.appArgs} - com.github.thmarx.cms.cli.CMSCli + com.condation.cms.cli.CMSCli java server start @@ -63,7 +63,7 @@ ${exec.vmArgs} -classpath %classpath ${exec.mainClass} ${exec.appArgs} stop - com.github.thmarx.cms.cli.CMSCli + com.condation.cms.cli.CMSCli java diff --git a/cms-server/src/main/resources/log4j2.xml b/cms-server/src/main/resources/log4j2.xml index 0c914e3e..e688ba90 100644 --- a/cms-server/src/main/resources/log4j2.xml +++ b/cms-server/src/main/resources/log4j2.xml @@ -47,11 +47,11 @@ - + diff --git a/distribution/build.xml b/distribution/build.xml index 7f7bdb33..91ab4065 100644 --- a/distribution/build.xml +++ b/distribution/build.xml @@ -1,8 +1,8 @@ - 5.3.1 + 6.0.0 - v1.2.0 + v2.0.0 download template implementation modules diff --git a/modules-framework/manager/src/main/java/com/condation/modules/manager/ModuleAPIClassLoader.java b/modules-framework/manager/src/main/java/com/condation/modules/manager/ModuleAPIClassLoader.java index b44f2cfc..1fe454ac 100644 --- a/modules-framework/manager/src/main/java/com/condation/modules/manager/ModuleAPIClassLoader.java +++ b/modules-framework/manager/src/main/java/com/condation/modules/manager/ModuleAPIClassLoader.java @@ -50,7 +50,7 @@ public ModuleAPIClassLoader(ClassLoader classLoader, List apiPackages) { List temp = apiPackages != null ? apiPackages : new ArrayList<>(); this.apiPackages = temp.stream().map(c -> !c.endsWith(".") ? c + "." : c).collect(Collectors.toList()); - this.apiPackages.add("com.github.thmarx.modules.api."); + this.apiPackages.add("com.condation.modules.api."); this.apiPackages.add("java."); this.apiPackages.add("javax."); this.apiPackages.add("com.sun.");