-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed the failed release build #1194
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
2 changes: 1 addition & 1 deletion
2
...s-maven-plugin/src/it/it-dependency-updates-aggregate-report-issue-333/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 |
---|---|---|
@@ -1 +1 @@ | ||
invoker.goals=site | ||
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependency-updates-aggregate-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
14 changes: 7 additions & 7 deletions
14
versions-maven-plugin/src/it/it-dependency-updates-aggregate-report-issue-333/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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
output = new File( basedir, 'target/site/dependency-updates-aggregate-report.html' ).text | ||
def output = new File( basedir, 'target/reports/dependency-updates-aggregate-report.html' ).text | ||
.replaceAll( '<[^>]+>', ' ' ) | ||
.replaceAll( '&[^;]+;', ' ' ) | ||
.replaceAll( '\\s+', ' ' ) | ||
|
||
// Dependency management | ||
assert !( output =~ 'This project does not declare any dependencies in a dependencyManagement section.' ) | ||
assert ( output =~ 'localhost dummy-api 1.1 jar' ) | ||
assert ( output =~ 'localhost dummy-impl 1.1 jar' ) | ||
assert ( output =~ 'test.bigversion dummy-lib 2.0.0.0 jar' ) | ||
assert output =~ 'localhost dummy-api 1.1 jar' | ||
assert output =~ 'localhost dummy-impl 1.1 jar' | ||
assert output =~ 'test.bigversion dummy-lib 2.0.0.0 jar' | ||
|
||
// Dependencies | ||
assert !( output =~ 'This project does not declare any dependencies.' ) | ||
assert ( output =~ 'test.bigversion dummy-lib 3.0.0.0-SNAPSHOT compile jar' ) | ||
assert ( output =~ 'test.package module 0.0.2.19 compile jar' ) | ||
assert !(output =~ 'This project does not declare any dependencies.') | ||
assert output =~ 'test.bigversion dummy-lib 3.0.0.0-SNAPSHOT compile jar' | ||
assert output =~ 'test.package module 0.0.2.19 compile jar' |
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
2 changes: 1 addition & 1 deletion
2
versions-maven-plugin/src/it/it-plugin-updates-aggregate-report-issue-333/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 |
---|---|---|
@@ -1 +1 @@ | ||
invoker.goals=site | ||
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:plugin-updates-aggregate-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
12 changes: 6 additions & 6 deletions
12
versions-maven-plugin/src/it/it-plugin-updates-aggregate-report-issue-333/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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
output = new File( basedir, 'target/site/plugin-updates-aggregate-report.html' ).text | ||
def output = new File( basedir, 'target/reports/plugin-updates-aggregate-report.html' ).text | ||
.replaceAll( '<[^>]+>', ' ' ) | ||
.replaceAll( '&[^;]+;', ' ' ) | ||
.replaceAll( '\\s+', ' ' ) | ||
|
||
// Plugin management | ||
assert !( output =~ 'This project does not declare any plugins in a build/pluginManagement section.' ) | ||
assert ( output =~ 'org.apache.maven.plugins maven-clean-plugin 3.0.0' ) | ||
assert !(output =~ 'This project does not declare any plugins in a build/pluginManagement section.') | ||
assert output =~ 'localhost dummy-maven-plugin 1.0' | ||
|
||
// Plugins | ||
assert !( output =~ 'This project does not declare any plugins in a build/plugins section.' ) | ||
assert ( output =~ 'org.apache.maven.plugins maven-clean-plugin 3.1.0' ) | ||
assert ( output =~ 'org.apache.maven.plugins maven-clean-plugin 3.2.0' ) | ||
assert !(output =~ 'This project does not declare any plugins in a build/plugins section.') | ||
assert output =~ 'localhost dummy-maven-plugin 2.0' | ||
assert output =~ 'localhost dummy-maven-plugin 3.0' |
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
2 changes: 1 addition & 1 deletion
2
...ons-maven-plugin/src/it/it-property-updates-aggregate-report-issue-333/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 |
---|---|---|
@@ -1 +1 @@ | ||
invoker.goals=site | ||
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:property-updates-aggregate-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
6 changes: 3 additions & 3 deletions
6
versions-maven-plugin/src/it/it-property-updates-aggregate-report-issue-333/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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
output = new File( basedir, 'target/site/property-updates-aggregate-report.html' ).text | ||
def output = new File( basedir, 'target/reports/property-updates-aggregate-report.html' ).text | ||
.replaceAll( '<[^>]+>', ' ' ) | ||
.replaceAll( '&[^;]+;', ' ' ) | ||
.replaceAll( '\\s+', ' ' ) | ||
|
||
assert ( output =~ '\\$\\{version.dummy-lib} 1.1.1.1' ) | ||
assert ( output =~ '\\$\\{version.dummy-lib} 2.12.0.0' ) | ||
assert output =~ '\\$\\{version.dummy-lib} 1.1.1.1' | ||
assert output =~ '\\$\\{version.dummy-lib} 2.12.0.0' |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it will work with site plugin?
Or only as direct report call?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it does. The only difference is the location of the generated files (site vs reports).