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

New copy-file goal #204

Merged
merged 7 commits into from
Jun 20, 2024
Merged

Conversation

OndroMih
Copy link
Contributor

@OndroMih OndroMih commented Jun 9, 2024

To copy files or the main artifact to a new location.

Example usage in it tests.

I intend to use this in a new GlassFish "dev" profile that will automatically copy built modules to the GlassFish distribution, which will apply the code changes without building the whole GlassFish.

@pzygielo

This comment was marked as resolved.

@OndroMih

This comment was marked as resolved.

@pzygielo

This comment was marked as resolved.

@OndroMih

This comment was marked as resolved.

@OndroMih
Copy link
Contributor Author

Hi, @pzygielo , I added new lines in commit messages. Can you please review again?

@pzygielo

This comment was marked as resolved.

To copy files or the main artifact to a new location.
To copy files or the main artifact to a new location.
Fix copyright headers.
Overwrite file if exists.
Skip property to allow skipping execution
Require destFile if skip=false
Update javadoc for the copy-file goal
@OndroMih
Copy link
Contributor Author

OndroMih commented Jun 20, 2024

@pzygielo, I removed all changes related to the echo goal.
I also changed the logging of maven out using invoker's streamLogsOnFailures property.

Use streamLogsOnFailures on invoker to log maven output if a test fails
Copy link
Contributor

@pzygielo pzygielo left a comment

Choose a reason for hiding this comment

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

@OndroMih
Copy link
Contributor Author

This goal is useful by itself, even without eclipse-ee4j/glassfish#24985. I use it already, built from sources. With eclipse-ee4j/glassfish#24985, it would be just easier to use with GlassFish, with less custom configuration in settings.xml and IDE or CLI.

@arjantijms arjantijms merged commit fcbb326 into eclipse-ee4j:master Jun 20, 2024
2 checks passed
@dmatej dmatej added this to the 4.1.0 milestone Jun 25, 2024
@dmatej dmatej added the enhancement New feature or request label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants