GeezerVison is showing github.com — Auto version submodules · chrishantha/sample-java-programs@2391fda
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: pom.xml +9-1Lines changed: 9 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
15 | 15 | # limitations under the License. |
16 | 16 | --> |
17 | 17 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
18 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 18 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
19 | 19 | <parent> |
20 | 20 | <groupId>org.apache</groupId> |
21 | 21 | <artifactId>apache</artifactId> |
|
125 | 125 | <target>1.8</target> |
126 | 126 | </configuration> |
127 | 127 | </plugin> |
| 128 | + <plugin> |
| 129 | + <groupId>org.apache.maven.plugins</groupId> |
| 130 | + <artifactId>maven-release-plugin</artifactId> |
| 131 | + <configuration> |
| 132 | + <preparationGoals>clean install</preparationGoals> |
| 133 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 134 | + </configuration> |
| 135 | + </plugin> |
128 | 136 | <plugin> |
129 | 137 | <groupId>org.apache.maven.plugins</groupId> |
130 | 138 | <artifactId>maven-dependency-plugin</artifactId> |
|