GithubHelp home page GithubHelp logo

Comments (5)

darrinholst avatar darrinholst commented on July 19, 2024

-e is currently just used to show stack traces. I took a quick look through the maven source and didn't find that it was making cli options available to plugins anywhere (it could be hiding in there somewhere though, who knows)

If you use -X there are a few places where it prints the java command, I'd vote for just taking it out of the exception message completely.

from cuke4duke.

aslakhellesoy avatar aslakhellesoy commented on July 19, 2024

I added the command for debugging reasons. Things were failing, and I didn't figure out why until I added this. Admittedly, this was in order to diagnose cuke4duke/cucumber insternals. It's still useful, but I agree it should be off by default.

Can you elaborate on why you don't think it's a good idea to enable this with -X ?

from cuke4duke.

darrinholst avatar darrinholst commented on July 19, 2024

sure, when you add the -X parameter you get the java command that was ran a couple times. Here is the output from the simple example http://gist.github.com/180268, line 424 has it and line 444 also has it.

from cuke4duke.

aslakhellesoy avatar aslakhellesoy commented on July 19, 2024

No longer print java command on failures. If needed it can be printed by passing -X to Maven. Closed by 7eafe2f

from cuke4duke.

matthewmccullough avatar matthewmccullough commented on July 19, 2024

I'm slow to reply Darrin -- but in looking at Maven 2.2 code, the CLI is saved into a CommandLine struct which is then liberally passed around. Specifically line 511 passes it into the "kickstart" of the main maven execution. Would have to follow it further to see if this is put into Plexus DI as a singleton, or available via a IOC call from a plugin. Hope that helps a little...

http://svn.apache.org/viewvc/maven/maven-2/branches/maven-2.2.x/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java?view=markup

from cuke4duke.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.