Skip to content
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

OZ-468: Do not substitute the Maven Parent snapshot version in archetype resources #61

Closed
wants to merge 3 commits into from

Conversation

rbuisson
Copy link
Contributor

  • Removed the lines in the Groovy script that substitutes the SNAPSHOT by a timestamp version.
  • Removed the implementer guide to point to Ozone Docs.

However, this does not build.

[INFO] Project created from Archetype in dir: /Users/rom/repos/ozone/maven-archetype/target/test-classes/projects/it-basic/project/ozone-basic
[INFO] Comparing generated project with reference content: /Users/rom/repos/ozone/maven-archetype/target/test-classes/projects/it-basic/reference
[WARNING] Property ignoreEOLStyle was not set - files will be compared considering their EOL style!
[WARNING] Property ignoreEOLStyle was not set - files will be compared considering their EOL style!
[WARNING] Contents of file README.md are not equal
[WARNING] Property ignoreEOLStyle was not set - files will be compared considering their EOL style!
[WARNING] Property ignoreEOLStyle was not set - files will be compared considering their EOL style!
[WARNING] Property ignoreEOLStyle was not set - files will be compared considering their EOL style!
[WARNING] Property ignoreEOLStyle was not set - files will be compared considering their EOL style!
[WARNING] Property ignoreEOLStyle was not set - files will be compared considering their EOL style!
[WARNING] Property ignoreEOLStyle was not set - files will be compared considering their EOL style!
[WARNING] Property ignoreEOLStyle was not set - files will be compared considering their EOL style!
[WARNING] Property ignoreEOLStyle was not set - files will be compared considering their EOL style!
[WARNING] Property ignoreEOLStyle was not set - files will be compared considering their EOL style!
[WARNING] Property ignoreEOLStyle was not set - files will be compared considering their EOL style!
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.200 s
[INFO] Finished at: 2024-03-27T18:33:43+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.2.1:integration-test (default-integration-test) on project maven-archetype: 
[ERROR] Archetype IT 'it-basic' failed: Some content are not equals

Which I don't understand. The README files appear to be equal... @ibacher , any idea?

@rbuisson rbuisson requested a review from ibacher March 27, 2024 17:41
@rbuisson rbuisson force-pushed the do-not-set-parent-version branch from fb77ee0 to 493b986 Compare March 27, 2024 17:43
Comment on lines -91 to -94
if (!isWindows) {
run("chmod +x ${projectDirectory.resolve("scripts").resolve("mvnw").toString()}")
run("chmod +x ${projectDirectory.resolve("scripts").resolve("mvnwDebug").toString()}")
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should still be left in! Otherwise mvnw won't end up as a executable.

@ibacher
Copy link
Contributor

ibacher commented Mar 27, 2024

Running this locally, the test version altogether lacks the part like this:

## Release Notes

### 1.0.0-SNAPSHOT (in progress)

Instead having three blank lines at the end. Not sure why that is...

@rbuisson rbuisson closed this May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants