forked from mojohaus/versions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for issue mojohaus#648: de-shadowing the localRepository property
- Loading branch information
1 parent
751ace7
commit 214995e
Showing
4 changed files
with
51 additions
and
6 deletions.
There are no files selected for viewing
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,3 @@ | ||
invoker.goals.1=${project.groupId}:${project.artifactId}:${project.version}:dependency-updates-report | ||
|
||
invoker.goals.2=${project.groupId}:${project.artifactId}:${project.version}:plugin-updates-report |
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,33 @@ | ||
<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-abstract-versions-report-001</artifactId> | ||
<version>1.0</version> | ||
<packaging>pom</packaging> | ||
<name>abstract-versions-report</name> | ||
<url>http://localhost/</url> | ||
|
||
<description> | ||
Testing command line invocation of dependency- and plugin-updates-report | ||
</description> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>localhost</groupId> | ||
<artifactId>dummy-api</artifactId> | ||
<version>1.1</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>localhost</groupId> | ||
<artifactId>dummy-maven-plugin</artifactId> | ||
<version>1.0</version> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
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,15 @@ | ||
dependencyUpdatesReport = new File( basedir, "target/site/dependency-updates-report.html" ) | ||
|
||
assert dependencyUpdatesReport.exists( ) | ||
|
||
// some basic (=not comprehensive) checks on the contents of the dependency report | ||
assert dependencyUpdatesReport.text =~ /\b1\.1\.0-2\b/ // current version of the dependency | ||
assert dependencyUpdatesReport.text =~ /\b3\.0\b/ // latest major available version | ||
|
||
pluginUpdatesReport = new File( basedir, "target/site/plugin-updates-report.html" ) | ||
|
||
assert pluginUpdatesReport.exists( ) | ||
|
||
// some basic (=not comprehensive) checks on the contents of the plugin report | ||
assert pluginUpdatesReport.text =~ /\b1\.0\b/ // current version of the plugin | ||
assert pluginUpdatesReport.text =~ /\b3\.1\b/ // latest major available version |
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