-
Notifications
You must be signed in to change notification settings - Fork 136
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
Ondromih profiles to speedup dev build #24534
base: master
Are you sure you want to change the base?
Ondromih profiles to speedup dev build #24534
Conversation
Signed-off-by:Ondro Mihalyi <mihalyi@omnifish.ee>
Signed-off-by:Ondro Mihalyi <mihalyi@omnifish.ee>
Nice, for the first time you reproduced my local issue on Jenkins :D |
Btw, what if we would keep a conventional |
Unfortunately, Maybe it's better to use a completely different approach with E.g., to build GlassFish full only: |
Sad, you are right with those exclusions: https://issues.apache.org/jira/browse/MNG-5230 Wow, to my surprise this works, is it what gives the result you needed? I will try yet with an empty .m2/repository ... |
IMHO, |
@dmatej, yes, this is exactly what I would like to achieve, but with a simple command line. Unfortunately, maven doesn't support specifying command line options in a profile or in a file. I would like to have a maven plugin that can modify the default maven command line options so that we could enable the plugin with a profile like "dist-glassfish" and run the same as the above command just with None of these options are supported by maven currently. And the closest to that is these What do you think? Is it worth adding these profiles or just document |
As described in the README:
noextras
profile - skips building extra artifacts, e.g. GlassFish Embedded artifactsnoweb
profile - skips building GlassFish Server Web distribution