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

Unable to build on os x - 10.15.7 #232

Open
hlmuludiang opened this issue Jan 27, 2021 · 1 comment
Open

Unable to build on os x - 10.15.7 #232

hlmuludiang opened this issue Jan 27, 2021 · 1 comment

Comments

@hlmuludiang
Copy link

When I run the following command: mvn clean package -P assembler.prod
I get this error:

[WARNING] The requested profile "assembler.prod" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project stampede-service: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /Users/hilarym/Documents/aweber/git/Teams/Integrations/stampede/service && /usr/local/Cellar/openjdk/15.0.1/libexec/openjdk.jdk/Contents/Home/bin/java -javaagent:/Users/hilarym/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/Users/hilarym/Documents/aweber/git/Teams/Integrations/stampede/service/target/jacoco.exec -jar /Users/hilarym/Documents/aweber/git/Teams/Integrations/stampede/service/target/surefire/surefirebooter2488304425507224630.jar /Users/hilarym/Documents/aweber/git/Teams/Integrations/stampede/service/target/surefire/surefire5988611770199883961tmp /Users/hilarym/Documents/aweber/git/Teams/Integrations/stampede/service/target/surefire/surefire_0810816607872687638tmp
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :stampede-service

Any suggestion on how to resolve this?

TIA

@teoincontatto
Copy link
Contributor

Hi @hlmuludiang,

Try using:

mvn clean package -P assembler,prod

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

No branches or pull requests

2 participants