File tree Expand file tree Collapse file tree 12 files changed +33
-25
lines changed
Expand file tree Collapse file tree 12 files changed +33
-25
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <project xmlns =" http://maven.apache.org/POM/4.0.0"
3- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0
5- http://maven.apache.org/xsd/maven-4.0.0.xsd" >
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
63 <modelVersion >4.0.0</modelVersion >
74
85 <parent >
96 <groupId >dev.nx.maven</groupId >
107 <artifactId >batch-runner-adapters</artifactId >
11- <version >0.0.13 </version >
8+ <version >0.0.14 </version >
129 </parent >
1310
1411 <artifactId >maven3-adapter</artifactId >
129126 </plugin >
130127 </plugins >
131128 </build >
132- </project >
129+ </project >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <project xmlns =" http://maven.apache.org/POM/4.0.0"
3- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0
5- http://maven.apache.org/xsd/maven-4.0.0.xsd" >
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
63 <modelVersion >4.0.0</modelVersion >
74
85 <parent >
96 <groupId >dev.nx.maven</groupId >
107 <artifactId >batch-runner-adapters</artifactId >
11- <version >0.0.13 </version >
8+ <version >0.0.14 </version >
129 <relativePath >../pom.xml</relativePath >
1310 </parent >
1411
160157 </plugins >
161158 </build >
162159
163- </project >
160+ </project >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <project xmlns =" http://maven.apache.org/POM/4.0.0"
3- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0
5- http://maven.apache.org/xsd/maven-4.0.0.xsd" >
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
63 <modelVersion >4.0.0</modelVersion >
74
85 <parent >
96 <groupId >dev.nx.maven</groupId >
107 <artifactId >nx-maven-parent</artifactId >
11- <version >0.0.13 </version >
8+ <version >0.0.14 </version >
129 <relativePath >../pom.xml</relativePath >
1310 </parent >
1411
4138 </dependencies >
4239 </dependencyManagement >
4340
44- </project >
41+ </project >
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >dev.nx.maven</groupId >
77 <artifactId >nx-maven-parent</artifactId >
8- <version >0.0.13 </version >
8+ <version >0.0.14 </version >
99 <relativePath >../pom.xml</relativePath >
1010 </parent >
1111
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >dev.nx.maven</groupId >
77 <artifactId >nx-maven-parent</artifactId >
8- <version >0.0.13 </version >
8+ <version >0.0.14 </version >
99 <relativePath >../pom.xml</relativePath >
1010 </parent >
1111
Original file line number Diff line number Diff line change 55 "projectType" : " library" ,
66 "targets" : {
77 "install" : {
8- "command" : " for i in {1..5}; do ./mvnw install && break || sleep 10; done"
8+ "command" : " for i in {1..5}; do ./mvnw install -pl dev.nx.maven:nx-maven-plugin -am && break || sleep 10; done"
99 },
1010 "_install" : {
1111 "command" : " node scripts/run-native-target.js install nx-maven-plugin"
Original file line number Diff line number Diff line change 3636 "version" : " 22.5.0-beta.4" ,
3737 "description" : " Update Maven plugin version from 0.0.12 to 0.0.13 in pom.xml files" ,
3838 "factory" : " ./dist/migrations/0-0-13/update-pom-xml-version"
39+ },
40+ "update-0-0-14" : {
41+ "cli" : " nx" ,
42+ "version" : " 22.6.0-beta.1" ,
43+ "description" : " Update Maven plugin version from 0.0.13 to 0.0.14 in pom.xml files" ,
44+ "factory" : " ./dist/migrations/0-0-14/update-pom-xml-version"
3945 }
4046 }
4147}
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >dev.nx.maven</groupId >
77 <artifactId >nx-parent</artifactId >
8- <version >0.0.13 </version >
8+ <version >0.0.14 </version >
99 <relativePath >../../pom.xml</relativePath >
1010 </parent >
1111
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >dev.nx.maven</groupId >
77 <artifactId >nx-maven-parent</artifactId >
8- <version >0.0.13 </version >
8+ <version >0.0.14 </version >
99 <relativePath >../pom.xml</relativePath >
1010 </parent >
1111
Original file line number Diff line number Diff line change 1+ import { Tree } from '@nx/devkit' ;
2+ import { updateNxMavenPluginVersion } from '../../utils/pom-xml-updater' ;
3+
4+ /**
5+ * Migration for @nx/maven v0.0.14
6+ * Updates the Maven plugin version to 0.0.14 in pom.xml files
7+ */
8+ export default async function update ( tree : Tree ) {
9+ // Update user pom.xml files
10+ updateNxMavenPluginVersion ( tree , '0.0.14' ) ;
11+ }
You can’t perform that action at this time.
0 commit comments