torodb / stampede

The ToroDB solution to provide better analytics on top of MongoDB and make it easier to migrate from MongoDB to SQL
https://www.torodb.com/stampede/
GNU Affero General Public License v3.0
1.77k stars 120 forks source link

Unable to build on os x - 10.15.7 #232

Open hlmuludiang opened 3 years ago

hlmuludiang commented 3 years ago

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 commented 3 years ago

Hi @hlmuludiang,

Try using:

mvn clean package -P assembler,prod