File tree Expand file tree Collapse file tree 13 files changed +23
-14
lines changed
src/test/resources/com/igormaznitsa/jbbp/plugin/mvn Expand file tree Collapse file tree 13 files changed +23
-14
lines changed Original file line number Diff line number Diff line change 1- def jbbpVersion = project. hasProperty(' jbbp_version' ) ? project. getProperty(' jbbp_version' ) : " 1.3.0-SNAPSHOT"
2- def metaLibVersion = project. hasProperty(' meta_lib_version' ) ? project. getProperty(' meta_lib_version' ) : " 1.1.2"
1+ def getProp (name ,dflt ) {
2+ if (project. hasProperty(name)) {
3+ return project. getProperty(name)
4+ } else {
5+ logger. warn(' Can not find property "' + name+ ' " is not found' )
6+ return dflt
7+ }
8+ }
9+
10+ def jbbpVersion = getProp(' jbbp_plugin_version' ,' 1.3.0-SNAPSHOT' )
11+ def metaLibVersion = getProp(' meta_lib_version' ,' 1.1.2' )
312
413group = ' com.igormaznitsa'
514version = jbbpVersion
Original file line number Diff line number Diff line change 66 <parent >
77 <groupId >com.igormaznitsa</groupId >
88 <artifactId >jbbp-main-plugin-pom</artifactId >
9- <version >1.3.0-SNAPSHOT </version >
9+ <version >1.3.0</version >
1010 <relativePath >../pom.xml</relativePath >
1111 </parent >
1212
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >com.igormaznitsa</groupId >
77 <artifactId >jbbp-maven-plugin-tests</artifactId >
8- <version >1.3.0-SNAPSHOT </version >
8+ <version >1.3.0</version >
99 <relativePath >../pom.xml</relativePath >
1010 </parent >
1111
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >com.igormaznitsa</groupId >
77 <artifactId >jbbp-maven-plugin-tests</artifactId >
8- <version >1.3.0-SNAPSHOT </version >
8+ <version >1.3.0</version >
99 <relativePath >../pom.xml</relativePath >
1010 </parent >
1111
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >com.igormaznitsa</groupId >
77 <artifactId >jbbp-maven-plugin-tests</artifactId >
8- <version >1.3.0-SNAPSHOT </version >
8+ <version >1.3.0</version >
99 <relativePath >../pom.xml</relativePath >
1010 </parent >
1111
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >com.igormaznitsa</groupId >
77 <artifactId >jbbp-maven-plugin-pom</artifactId >
8- <version >1.3.0-SNAPSHOT </version >
8+ <version >1.3.0</version >
99 <relativePath >../pom.xml</relativePath >
1010 </parent >
1111
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >com.igormaznitsa</groupId >
77 <artifactId >jbbp-maven-plugin-pom</artifactId >
8- <version >1.3.0-SNAPSHOT </version >
8+ <version >1.3.0</version >
99 <relativePath >../pom.xml</relativePath >
1010 </parent >
1111
Original file line number Diff line number Diff line change 1414 <plugin >
1515 <groupId >com.igormaznitsa</groupId >
1616 <artifactId >jbbp-maven-plugin</artifactId >
17- <version >1.3.0-SNAPSHOT </version >
17+ <version >1.3.0</version >
1818 <goals >
1919 <goal >generate</goal >
2020 </goals >
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >com.igormaznitsa</groupId >
77 <artifactId >jbbp-main-plugin-pom</artifactId >
8- <version >1.3.0-SNAPSHOT </version >
8+ <version >1.3.0</version >
99 <relativePath >../pom.xml</relativePath >
1010 </parent >
1111
Original file line number Diff line number Diff line change 66 <parent >
77 <groupId >com.igormaznitsa</groupId >
88 <artifactId >jbbp-main-plugin-pom</artifactId >
9- <version >1.3.0-SNAPSHOT </version >
9+ <version >1.3.0</version >
1010 <relativePath >../pom.xml</relativePath >
1111 </parent >
1212
You can’t perform that action at this time.
0 commit comments