Hello.

Le sam. 23 mars 2019 à 16:35, Abhishek Dhadwal <dhadwal1...@gmail.com> a écrit :
>
> Dear Sir,
> After running $mvn package, I get:
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  19:08 min
> [INFO] Finished at: 2019-03-22T23:23:39+05:30
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on 
> project commons-rng-core: There are test failures.

Which tests failed?
[Please show all the relevant info.]

>
> And, after $mvn -e :
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  0.297 s
> [INFO] Finished at: 2019-03-22T23:45:05+05:30
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] No goals have been specified for this build. You must specify a valid 
> lifecycle phase or a goal in the format <plugin-prefix>:<goal> or 
> <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available 
> lifecycle phases are: validate, initialize, generate-sources, 
> process-sources, generate-resources, process-resources, compile, 
> process-classes, generate-test-sources, process-test-sources, 
> generate-test-resources, process-test-resources, test-compile, 
> process-test-classes, test, prepare-package, package, pre-integration-test, 
> integration-test, post-integration-test, verify, install, deploy, pre-clean, 
> clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
> org.apache.maven.lifecycle.NoGoalSpecifiedException: No goals have been 
> specified for this build. You must specify a valid lifecycle phase or a goal 
> in the format <plugin-prefix>:<goal> or 
> <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available 
> lifecycle phases are: validate, initialize, generate-sources, 
> process-sources, generate-resources, process-resources, compile, 
> process-classes, generate-test-sources, process-test-sources, 
> generate-test-resources, process-test-resources, test-compile, 
> process-test-classes, test, prepare-package, package, pre-integration-test, 
> integration-test, post-integration-test, verify, install, deploy, pre-clean, 
> clean, post-clean, pre-site, site, post-site, site-deploy.

Well, you did not ask anything to maven and it told you so.
You should run
   mvn -e package

"-e" is the option (to show the exceptions)
"package" is the goal (which, in this case, asks maven to create the JAR files)

>
> >Perhaps start to fill the "application template".[1]
> >That way, we can perhaps focus on specific questions
> >you may have for the particular task that interested
> >you.
> Yes sir, I’ll fill up the form application and send it via mail here ?

Yes.

Regards,
Gilles

>
> Thanking you,
> Yours faithfully,
> Abhishek
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to