diff --git a/README.md b/README.md index 75b17131..0c8541b6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![License Apache 2.0](https://img.shields.io/badge/license-Apache%20License%202.0-green.svg)](http://www.apache.org/licenses/LICENSE-2.0) -[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/jcp/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|jcp|6.1.2|jar) +[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/jcp/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|jcp|6.1.3|jar) [![Codacy Badge](https://api.codacy.com/project/badge/grade/c6acda63097a40c68d8ca8eaef6180d8)](https://www.codacy.com/app/rrg4400/java-comment-preprocessor) [![Java 6.0+](https://img.shields.io/badge/java-6.0%2b-green.svg)](http://www.oracle.com/technetwork/java/javase/downloads/index.html) [![Maven 3.0+](https://img.shields.io/badge/maven-3.0%2b-green.svg)](https://maven.apache.org/) @@ -9,7 +9,7 @@ # Changelog -- **6.1.3-SNAPSHOT** +- **6.1.3 (29 apr 2018)** - added automatic module name `igormaznitsa.jcp` - CORE: added `/U` key to turn on mode to interpret unknown variables as FALSE (in Maven and ANT `unknownVarAsFalse`), [#17](https://github.com/raydac/java-comment-preprocessor/issues/17) @@ -44,7 +44,7 @@ The Preprocessor is published in the Maven Central so that can be added in Maven com.igormaznitsa jcp - 6.1.2 + 6.1.3 preprocessSources @@ -69,13 +69,13 @@ The Preprocessor is published in the Maven Central so that can be added in Maven # How to use from command line The Preprocessor jar can be started under Java as a console application. Let's take a look at short example below how to start in command line under Linux The Easy variant of usage: ``` -java -jar jcp-6.1.2.jar --i:./test --o:./result +java -jar jcp-6.1.3.jar --i:./test --o:./result ``` The Example just preprocess files from ./test folder which extensions allowed to be preprocessed by default, and places result into ./result folder, but keep in your mind that the preprocessor copies not all files, XML files will not be preprocessed by default. Files which extension are not marked for preprocessing will be just copied (of course if the extensions is not in the list of excluded file extensions) More complex example: ``` -java -jar jcp-6.1.2.jar --c --r --v --f:java,xml --ef:none --i:./test --o:./result '--p:HelloWorld=$Hello world$' +java -jar jcp-6.1.3.jar --c --r --v --f:java,xml --ef:none --i:./test --o:./result '--p:HelloWorld=$Hello world$' ``` - --c clear the destination folder before work - --r remove all Java-style comments from preprocessed result files @@ -129,5 +129,5 @@ Java sources usually have sections, there are the import section and the main se # How to remove all coments from sources Sometime it is very useful to remove all comments from my sources at all, JCP has such feature which can be turned on by special flag or command line switcher (see wiki). The Example of use for comment removing through CLI interface ``` -java -jar ./jcp-6.1.2.jar --i:/sourceFolder --o:/resultFolder -ef:none --r +java -jar ./jcp-6.1.3.jar --i:/sourceFolder --o:/resultFolder -ef:none --r ``` diff --git a/changelog.txt b/changelog.txt index 8a846f04..546d0067 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,4 @@ -6.1.3-SNAPSHOT +6.1.3 (29 apr 2018) - added automatic module name `igormaznitsa.jcp` - CORE: added `/U` key to turn on mode to interpret unknown variables as FALSE (in Maven and ANT `unknownVarAsFalse`), [#17](https://github.com/raydac/java-comment-preprocessor/issues/17) diff --git a/pom.xml b/pom.xml index 9a674eb1..ab1cfaf0 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.igormaznitsa jcp - 6.1.3-SNAPSHOT + 6.1.3 maven-plugin Java Comment Preprocessor diff --git a/src/test/resources/com/igormaznitsa/jcp/it/maven/dummy_maven_project/pom.xml b/src/test/resources/com/igormaznitsa/jcp/it/maven/dummy_maven_project/pom.xml index f1e19470..b62d923d 100644 --- a/src/test/resources/com/igormaznitsa/jcp/it/maven/dummy_maven_project/pom.xml +++ b/src/test/resources/com/igormaznitsa/jcp/it/maven/dummy_maven_project/pom.xml @@ -43,7 +43,7 @@ com.igormaznitsa jcp - 6.1.3-SNAPSHOT + 6.1.3 generateSources diff --git a/src/test/resources/com/igormaznitsa/jcp/maven/preprocessor_mojo_test_cfg.xml b/src/test/resources/com/igormaznitsa/jcp/maven/preprocessor_mojo_test_cfg.xml index a3956ac8..3d0411a4 100755 --- a/src/test/resources/com/igormaznitsa/jcp/maven/preprocessor_mojo_test_cfg.xml +++ b/src/test/resources/com/igormaznitsa/jcp/maven/preprocessor_mojo_test_cfg.xml @@ -20,7 +20,7 @@ com.igormaznitsa jcp - 6.1.3-SNAPSHOT + 6.1.3 / true