Skip to content

Commit f92667d

Browse files
committed
release 7.0.3
1 parent 13b87da commit f92667d

File tree

7 files changed

+20
-20
lines changed

7 files changed

+20
-20
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
![Logo](assets/github1280x640.png)
22

33
[![License Apache 2.0](https://img.shields.io/badge/license-Apache%20License%202.0-green.svg)](http://www.apache.org/licenses/LICENSE-2.0)
4-
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/jcp/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|jcp|7.0.2|jar)
4+
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/jcp/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|jcp|7.0.3|jar)
55
[![Java 1.8+](https://img.shields.io/badge/java-1.8%2b-green.svg)](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
66
[![Maven 3.0+](https://img.shields.io/badge/maven-3.0%2b-green.svg)](https://maven.apache.org/)
77
[![Gradle 3.0+](https://img.shields.io/badge/gradle-3.0%2b-green.svg)](https://gradle.org/)
@@ -10,7 +10,7 @@
1010
[![Yandex.Money donation](https://img.shields.io/badge/donation-Я.деньги-yellow.svg)](http://yasobe.ru/na/iamoss)
1111

1212
# Changelog
13-
__7.0.3 (SNAPSHOT)__
13+
__7.0.3 (13-sep-2020)__
1414
- added way to get info about all input and produced files from preprocessor context
1515
- reworked Gradle plug-in
1616
- refactoring, removed some auxiliary plugins from build process and extra code
@@ -46,7 +46,7 @@ The Preprocessor is published in the Maven Central (it is not published in Gradl
4646
<plugin>
4747
<groupId>com.igormaznitsa</groupId>
4848
<artifactId>jcp</artifactId>
49-
<version>7.0.2</version>
49+
<version>7.0.3</version>
5050
<executions>
5151
<execution>
5252
<id>preprocessSources</id>
@@ -65,13 +65,13 @@ The Preprocessor is published in the Maven Central (it is not published in Gradl
6565
# How to use from command line
6666
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:
6767
```
68-
java -jar jcp-7.0.2.jar --i:./test --o:./result
68+
java -jar jcp-7.0.3.jar --i:./test --o:./result
6969
```
7070
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)
7171

7272
More complex example:
7373
```
74-
java -jar jcp-7.0.2.jar --c --r --v --f:java,xml --ef:none --i:./test --o:./result '--p:HelloWorld=$Hello world$'
74+
java -jar jcp-7.0.3.jar --c --r --v --f:java,xml --ef:none --i:./test --o:./result '--p:HelloWorld=$Hello world$'
7575
```
7676
- --c clear the destination folder before work
7777
- --r remove all Java-style comments from preprocessed result files
@@ -130,5 +130,5 @@ In opposite a regular document, a Java document has as minimum two sections - pr
130130
# How to remove all coments from sources
131131
Sometime it is very useful to remove totally all comments from sources, such possiblitiy was included into JCP and can be activated through special flag or command line switcher. The Example of use for comment removing through CLI interface
132132
```
133-
java -jar ./jcp-7.0.2.jar --i:/sourceFolder --o:/resultFolder -ef:none --r
133+
java -jar ./jcp-7.0.3.jar --i:/sourceFolder --o:/resultFolder -ef:none --r
134134
```

changelog.txt

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
7.0.3 (SNAPSHOT)
1+
7.0.3 (13-sep-2020)
22
- added way to get info about all input and produced files from preprocessor context
33
- reworked Gradle plug-in
44
- refactoring, removed some auxiliary plugins from build process and extra code
55

6-
7.0.2 (15 jul 2019)
6+
7.0.2 (15-jul-2019)
77
- fixed leaks of system scoped dependencies in generated pom.xml
88

9-
7.0.1 (19 apr 2019)
9+
7.0.1 (19-apr-2019)
1010
- minor refactoring
1111

12-
7.0.0 (31 mar 2019)
12+
7.0.0 (31-mar-2019)
1313
- reworked some parameters for Maven and ANT plug-ins
1414
- added embedded Gradle plugin `com.igormaznitsa.jcp`
1515
- removed maven `clear` goal
@@ -20,21 +20,21 @@
2020
- minimal needed Java version changed to 1.8
2121
- refactoring
2222

23-
6.1.4 (16 jun 2018)
23+
6.1.4 (16-jun-2018)
2424
- removed dependencies to meta packages (their sources moved into project) #19
2525

26-
6.1.3 (29 apr 2018)
26+
6.1.3 (29-apr-2018)
2727
- added automatic module name `igormaznitsa.jcp`
2828
- 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)
2929

30-
6.1.2 (02 apr 2017)
30+
6.1.2 (02-apr-2017)
3131
- CORE: added STR TRIMLINES(STR) function to trim lines represented as string and removing empty lines
3232
- CORE: added `/A` command line option (`copyFileAttributes` in Maven and ANT) to copy file attributes
3333
- CORE: added `/ED:` command line option to exclude sub-folders from preprocessing (`excludedFolders` in Maven and ANT) with ANT pattern support.
3434
- CORE: added `/PI` command line flag (`preserveIndent` in Maven and ANT), turn on mode to preserve indent when removing `//$` and `//$$`, thanks to @jamuir
3535
- CORE: comma in split lines in BINFILE function moved from the start of line to the end of the previous line (to increase compatibility with Go)
3636

37-
6.1.1 (11 feb 2017)
37+
6.1.1 (11-feb-2017)
3838
- MAVEN: information about imported maven properties will be shown only in either verbose mode or debug mode
3939
- MAVEN: added auxiliary goal `preprocessTests` which provides flag `useTestSources` as true and activated by default in GENERATE_TEST_SOURCES phase #14
4040
- MAVEN: added 'ignoreMissingSources' boolean parameter, allows to skip preprocessing if source folders not found or not provided #12
@@ -43,7 +43,7 @@
4343
- CORE: added `STR str2go(STR)` function to escape strings to be represented in Golang sources
4444
- CORE: improved the BINFILE function, it allows `base64|byte[]|uint8[]|int8` and modifiers `s|d|ds|sd` where s - means splitting to lines and d - means deflate compression
4545

46-
6.1.0 (03 jul 2016)
46+
6.1.0 (03-jul-2016)
4747
- implemented request #9, added support of whitespace between directive and comment, in command line it is `--es` option and in MAVEN and ANT it is boolean parameter `allowWhitespace`, by default it is turned off
4848
- added function STR binfile(STR,STR) to load a bin file as encoded base64 or java byte array string
4949
- changes in Preprocessor API, removed usage of null instead of PreprocessorContext or PreprocessingState as argument for many methods, improved tests

jcp-tests/jcp-test-gradle/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
flatDir dirs: "../../jcp/target"
44
}
55
dependencies {
6-
classpath "com.igormaznitsa:jcp:7.0.3-SNAPSHOT"
6+
classpath "com.igormaznitsa:jcp:7.0.3"
77
}
88
}
99

jcp-tests/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<properties>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12-
<jcp.test.version>7.0.3-SNAPSHOT</jcp.test.version>
12+
<jcp.test.version>7.0.3</jcp.test.version>
1313
<junit.version>5.4.2</junit.version>
1414
<maven.compiler.source>1.8</maven.compiler.source>
1515
<maven.compiler.target>1.8</maven.compiler.target>

jcp/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.igormaznitsa</groupId>
77
<artifactId>jcp-pom</artifactId>
8-
<version>7.0.3-SNAPSHOT</version>
8+
<version>7.0.3</version>
99
</parent>
1010

1111
<artifactId>jcp</artifactId>

jcp/src/test/resources/com/igormaznitsa/jcp/maven/test.pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<plugin>
2121
<groupId>com.igormaznitsa</groupId>
2222
<artifactId>jcp</artifactId>
23-
<version>7.0.3-SNAPSHOT</version>
23+
<version>7.0.3</version>
2424
<goals>
2525
<goal>preprocess</goal>
2626
</goals>

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.igormaznitsa</groupId>
77
<artifactId>jcp-pom</artifactId>
8-
<version>7.0.3-SNAPSHOT</version>
8+
<version>7.0.3</version>
99
<packaging>pom</packaging>
1010

1111
<url>https://github.com/raydac/java-comment-preprocessor</url>

0 commit comments

Comments
 (0)