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.
Fixes mojohaus#1140: Added showVersionless (default true)
showVersionless false filters out dependencies managed outside of the reactor verbose true adds the source of these dependencies
- Loading branch information
1 parent
814c9b1
commit 2972ae9
Showing
25 changed files
with
407 additions
and
134 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 |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
|
||
<groupId>org.codehaus.mojo.versions</groupId> | ||
<artifactId>versions</artifactId> | ||
<version>2.18.0</version> | ||
<version>2.18.1-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
|
||
<name>Versions</name> | ||
|
@@ -104,7 +104,7 @@ | |
<scm> | ||
<connection>scm:git:https://github.com/mojohaus/versions.git</connection> | ||
<developerConnection>scm:git:ssh://[email protected]/mojohaus/versions.git</developerConnection> | ||
<tag>2.18.0</tag> | ||
<tag>HEAD</tag> | ||
<url>https://github.com/mojohaus/versions/tree/master</url> | ||
</scm> | ||
|
||
|
@@ -147,7 +147,7 @@ | |
<!-- execute ITS in parallel by default --> | ||
<invoker.parallelThreads>0.75C</invoker.parallelThreads> | ||
<!-- mono-module doesn't require site:stage for scm-publish --> | ||
<project.build.outputTimestamp>2024-11-13T20:43:32Z</project.build.outputTimestamp> | ||
<project.build.outputTimestamp>2024-11-13T20:44:06Z</project.build.outputTimestamp> | ||
</properties> | ||
|
||
<dependencyManagement> | ||
|
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
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
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
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
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
31 changes: 31 additions & 0 deletions
31
versions-maven-plugin/src/it/it-dependency-updates-report-issue-1140/child/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,31 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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> | ||
|
||
<artifactId>mvc-child</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
|
||
<parent> | ||
<groupId>com.example</groupId> | ||
<artifactId>mvc-parent</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
</parent> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.oracle.database.jdbc</groupId> | ||
<artifactId>ojdbc11</artifactId> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>io.github.git-commit-id</groupId> | ||
<artifactId>git-commit-id-maven-plugin</artifactId> | ||
<version>8.0.2</version> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
2 changes: 2 additions & 0 deletions
2
versions-maven-plugin/src/it/it-dependency-updates-report-issue-1140/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}:dependency-updates-report -f child/pom.xml | ||
invoker.mavenOpts = -DdependencyUpdatesReportFormats=xml -DprocessDependencyManagement=false -DprocessDependencyManagementTransitive=false -DonlyProjectDependencies=true -DonlyUpgradable=true |
45 changes: 45 additions & 0 deletions
45
versions-maven-plugin/src/it/it-dependency-updates-report-issue-1140/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,45 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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>com.example</groupId> | ||
<artifactId>mvc-parent</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
|
||
<parent> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-starter-parent</artifactId> | ||
<!-- as of now 3.3.5 is latest, 3.3.4 chosen deliberately for test case --> | ||
<version>3.3.4</version> | ||
</parent> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<!-- versions-maven-plugin requires at least maven 3.6.3 --> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-enforcer-plugin</artifactId> | ||
<version>3.5.0</version> | ||
<executions> | ||
<execution> | ||
<id>enforce</id> | ||
<goals> | ||
<goal>enforce</goal> | ||
</goals> | ||
<phase>validate</phase> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<rules> | ||
<requireMavenVersion><version>3.9.0</version></requireMavenVersion> | ||
</rules> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>io.github.git-commit-id</groupId> | ||
<artifactId>git-commit-id-maven-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
2 changes: 2 additions & 0 deletions
2
versions-maven-plugin/src/it/it-dependency-updates-report-issue-1140/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, "child/target/dependency-updates-report.xml").text | ||
assert !output.contains("<artifactId>ojdbc11</artifactId>") |
45 changes: 0 additions & 45 deletions
45
.../it-display-dependency-updates-009-processDependencyManagementTransitive-false/verify.bsh
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
...-display-dependency-updates-009-processDependencyManagementTransitive-false/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,4 @@ | ||
def buildLog = new File( basedir, "build.log").text | ||
assert buildLog =~ /\Qlocalhost:dummy-api\E\s*\.*\s*1\.1\s+->\s+3\.0/ | ||
assert !(buildLog =~ /\Qlocalhost:dummy-impl\E\s*\.*\s*1\.2\s+->\s+2\.2/) | ||
assert buildLog =~ /\Qlocalhost:dummy-api-impl-bom-pom\E\s*\.*\s*1\.0\s+->\s+2\.0/ |
45 changes: 0 additions & 45 deletions
45
...t/it-display-dependency-updates-009-processDependencyManagementTransitive-true/verify.bsh
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.