forked from mojohaus/versions
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b0fdf8
commit 15d7a17
Showing
3 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
...s-maven-plugin/src/it/it-display-dependency-updates-issue-1001-groupid/invoker.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates | ||
invoker.mavenOpts = -Dversions.outputFile=./output.txt -DoutputEncoding=UTF-8 |
24 changes: 24 additions & 0 deletions
24
versions-maven-plugin/src/it/it-display-dependency-updates-issue-1001-groupid/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<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"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>localhost</groupId> | ||
<artifactId>it-display-dependency-updates-issue-1001-groupid</artifactId> | ||
<version>1.0</version> | ||
<packaging>pom</packaging> | ||
|
||
<description>groupId is expressed via a Maven property</description> | ||
|
||
<properties> | ||
<dep.groupId>localhost</dep.groupId> | ||
<dep.version>1.0</dep.version> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>${dep.groupId}</groupId> | ||
<artifactId>dummy-api</artifactId> | ||
<version>${dep.version}</version> | ||
</dependency> | ||
</dependencies> | ||
</project> |
2 changes: 2 additions & 0 deletions
2
versions-maven-plugin/src/it/it-display-dependency-updates-issue-1001-groupid/verify.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
def output = new File(basedir, "output.txt").text | ||
assert output =~ /\Qlocalhost:dummy-api\E\s*\.*\s*\Q1.0\E\s+->\s+\Q3.0\E\b/ |