File tree Expand file tree Collapse file tree 3 files changed +28
-0
lines changed
versions-maven-plugin/src/it/it-display-dependency-updates-issue-1001-groupid Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates
2+ invoker.mavenOpts = -Dversions.outputFile =./output.txt -DoutputEncoding =UTF-8
Original file line number Diff line number Diff line change 1+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3+ <modelVersion >4.0.0</modelVersion >
4+
5+ <groupId >localhost</groupId >
6+ <artifactId >it-display-dependency-updates-issue-1001-groupid</artifactId >
7+ <version >1.0</version >
8+ <packaging >pom</packaging >
9+
10+ <description >groupId is expressed via a Maven property</description >
11+
12+ <properties >
13+ <dep .groupId>localhost</dep .groupId>
14+ <dep .version>1.0</dep .version>
15+ </properties >
16+
17+ <dependencies >
18+ <dependency >
19+ <groupId >${dep.groupId} </groupId >
20+ <artifactId >dummy-api</artifactId >
21+ <version >${dep.version} </version >
22+ </dependency >
23+ </dependencies >
24+ </project >
Original file line number Diff line number Diff line change 1+ def output = new File (basedir, " output.txt" ). text
2+ assert output =~ / \Q localhost:dummy-api\E\s *\. *\s *\Q 1.0\E\s +->\s +\Q 3.0\E\b /
You can’t perform that action at this time.
0 commit comments