Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • goals for plugins

    5 answers - 1754 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    m2 -g site
    throws an ReactorException caused by LifecycleExecutionException:
    Invalid
    task 'site'
    Friedger
    Message
    From: NATARAJAN Sasi Kumar [mailto:SNatarajan2 (AT) covansys (DOT) com]
    Sent: Tuesday, August 09, 2005 12:21 PM
    To: Maven Users List
    Subject: RE: [m2] goals for plugins
    It may
    'M2 -g'
    Sasi
    Message
    From: Mueffke, Friedger [mailto:f.mueffke (AT) klopotek (DOT) de]
    Sent: Tuesday, August 09, 2005 3:46 PM
    To: users (AT) maven (DOT) apache.org
    Subject: [m2] goals for plugins
    Hi,
    Is there a way to find out about valid goals of a plugin/all plugins
    available?
    I am looking for the one that creates reports of dependent projects. And
    I am curious what else I could do with the available plugins for m2.
    Thanks,
    Friedger
    Confidentiality Statement:
    This message is intended only for the individual or entity to which it
    is
    addressed. It may contain privileged, confidential information which is
    exempt
    from disclosure under applicable laws. If you are not the intended
    recipient,
    please note that you are strictly prohibited from disseminating or
    distributing
    this information (other than to the intended recipient) or copying this
    information.
    If you have received this communication in error, please notify us
    immediately
    by return email.
    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.1 | | 2034 bytes | |

    It's not yet implemented.

    - Brett

    8/9/05, Mueffke, Friedger <f.mueffke (AT) klopotek (DOT) dewrote:

    m2 -g site

    throws an ReactorException caused by LifecycleExecutionException:
    Invalid
    task 'site'

    Friedger

    Message
    From: NATARAJAN Sasi Kumar [mailto:SNatarajan2 (AT) covansys (DOT) com]
    Sent: Tuesday, August 09, 2005 12:21 PM
    To: Maven Users List
    Subject: RE: [m2] goals for plugins

    It may

    'M2 -g'

    Sasi

    Message
    From: Mueffke, Friedger [mailto:f.mueffke (AT) klopotek (DOT) de]
    Sent: Tuesday, August 09, 2005 3:46 PM
    To: users (AT) maven (DOT) apache.org
    Subject: [m2] goals for plugins

    Hi,

    Is there a way to find out about valid goals of a plugin/all plugins
    available?

    I am looking for the one that creates reports of dependent projects. And
    I am curious what else I could do with the available plugins for m2.

    Thanks,

    Friedger

    Confidentiality Statement:

    This message is intended only for the individual or entity to which it
    is
    addressed. It may contain privileged, confidential information which is
    exempt
    from disclosure under applicable laws. If you are not the intended
    recipient,
    please note that you are strictly prohibited from disseminating or
    distributing
    this information (other than to the intended recipient) or copying this
    information.
    If you have received this communication in error, please notify us
    immediately
    by return email.

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.2 | | 2634 bytes | |

    Hi,

    As far as I know, there is no available command in M2 to list all its
    goal or plugins.
    You can find some plugins in the maven 2 site.

    Regards,
    -allan

    Mueffke, Friedger wrote:

    >m2 -g site
    >
    >throws an ReactorException caused by LifecycleExecutionException:
    >Invalid
    >task 'site'
    >
    >Friedger
    >

    Message
    >From: NATARAJAN Sasi Kumar [mailto:SNatarajan2 (AT) covansys (DOT) com]
    >Sent: Tuesday, August 09, 2005 12:21 PM
    >To: Maven Users List
    >Subject: RE: [m2] goals for plugins
    >
    >It may
    >
    >'M2 -g'
    >
    >Sasi
    >

    Message
    >From: Mueffke, Friedger [mailto:f.mueffke (AT) klopotek (DOT) de]
    >Sent: Tuesday, August 09, 2005 3:46 PM
    >To: users (AT) maven (DOT) apache.org
    >Subject: [m2] goals for plugins
    >
    >Hi,
    >


    >
    >Is there a way to find out about valid goals of a plugin/all plugins
    >available?
    >


    >
    >I am looking for the one that creates reports of dependent projects. And
    >I am curious what else I could do with the available plugins for m2.
    >



    >
    >Thanks,
    >
    >Friedger
    >



    >Confidentiality Statement:
    >
    >This message is intended only for the individual or entity to which it
    >is
    >addressed. It may contain privileged, confidential information which is
    >exempt
    >from disclosure under applicable laws. If you are not the intended
    >recipient,
    >please note that you are strictly prohibited from disseminating or
    >distributing
    >this information (other than to the intended recipient) or copying this
    >information.
    >If you have received this communication in error, please notify us
    >immediately
    >by return email.
    >
    >
    >
    >
    >To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    >For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
    >
    >
    >
    >To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    >For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
    >
    >


    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.3 | | 3686 bytes | |

    Isn't it possible to look in the source code at the methods on a
    particular class - would it be the public methods on the *Mojo.class?

    I'm looking at one now that has just .execute() so I would presume I'm
    wrong here - but aren't the member variables on the Mojo.class the
    configurable attributes of the plugin?

    Adam

    Allan Ramirez on 10/08/05 07:12, wrote:
    Hi,

    As far as I know, there is no available command in M2 to list all its
    goal or plugins.
    You can find some plugins in the maven 2 site.

    Regards,
    -allan

    Mueffke, Friedger wrote:

    >m2 -g site
    >throws an ReactorException caused by LifecycleExecutionException:
    >Invalid task 'site'
    >>

    >Friedger
    >>

    >Message
    >From: NATARAJAN Sasi Kumar [mailto:SNatarajan2 (AT) covansys (DOT) com] Sent:
    >Tuesday, August 09, 2005 12:21 PM
    >To: Maven Users List
    >Subject: RE: [m2] goals for plugins
    >>

    >It may
    >>

    >'M2 -g'
    >>

    >Sasi
    >>

    >Message
    >From: Mueffke, Friedger [mailto:f.mueffke (AT) klopotek (DOT) de] Sent: Tuesday,
    >August 09, 2005 3:46 PM
    >To: users (AT) maven (DOT) apache.org
    >Subject: [m2] goals for plugins
    >>

    >Hi,
    >>
    >>
    >>

    >Is there a way to find out about valid goals of a plugin/all plugins
    >available?
    >>
    >>
    >>

    >I am looking for the one that creates reports of dependent projects. And
    >I am curious what else I could do with the available plugins for m2.
    >>
    >>
    >>
    >>
    >>

    >Thanks,
    >>

    >Friedger
    >>
    >>
    >>
    >>
    >>
    >>

    >Confidentiality Statement:
    >>

    >This message is intended only for the individual or entity to which it
    >is addressed. It may contain privileged, confidential information
    >which is
    >exempt from disclosure under applicable laws. If you are not the intended
    >recipient,
    >please note that you are strictly prohibited from disseminating or
    >distributing
    >this information (other than to the intended recipient) or copying this
    >information. If you have received this communication in error, please
    >notify us
    >immediately by return email.
    >>
    >>
    >>

    >
    >To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    >For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
    >>
    >>

    >
    >To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    >For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
    >>
    >>

    >
    >>


    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.4 | | 5253 bytes | |

    PGP SIGNED MESSAGE
    Hash: SHA1

    Actually, no. Mojo.class is an interface, and basically provides the API
    that Maven uses to invoke the mojo. Classes that implement Mojo will
    have fields marked with @parameter expression="${someExpression}" in the
    javadocs, which mark that field as a mojo parameter. Similarly, things
    like which lifecycle phase to bind to are addressed in javadocs at the
    class level.

    To address Allan's comment earlier, we currently have a plugin called
    projecthelp (maven-projecthelp-plugin) which provides insight into
    various aspects of the build. Currently, it is most useful for
    discovering the effective PM and settings being used (as a result of
    inheritance and profile activation, and also merging global and local
    settings files). HWEVER, we do have an issue in Jira currently to add
    the old '-g' functionality, after a fashion. What will most likely
    happen is something like:

    m2 projecthelp:describe -Dprefix=projecthelp

    which will describe at a high level the functionality and mojos
    available in that plugin. Also:

    m2 projecthelp:describe -Dmojo=projecthelp:describe

    which will give a more in-depth description of the 'describe' mojo and
    its parameters. Admittedly, this won't give you the same
    snapshot-of-the-installation that the old '-g' option did; but then
    again, the term 'installation' is a little more vaguely defined in m2. ;)

    HTH,
    - -john

    Adam Hardy wrote:
    | Isn't it possible to look in the source code at the methods on a
    | particular class - would it be the public methods on the *Mojo.class?
    |
    | I'm looking at one now that has just .execute() so I would presume I'm
    | wrong here - but aren't the member variables on the Mojo.class the
    | configurable attributes of the plugin?
    |
    |
    | Adam
    |
    | Allan Ramirez on 10/08/05 07:12, wrote:
    |
    |Hi,
    |>
    |As far as I know, there is no available command in M2 to list all its
    |goal or plugins.
    |You can find some plugins in the maven 2 site.
    |>
    |
    |>
    |Regards,
    |-allan
    |>
    |Mueffke, Friedger wrote:
    |>
    |>m2 -g site
    |>throws an ReactorException caused by LifecycleExecutionException:
    |>Invalid task 'site'
    |>>
    |>Friedger
    |>>
    |>Message
    |>From: NATARAJAN Sasi Kumar [mailto:SNatarajan2 (AT) covansys (DOT) com] Sent:
    |>Tuesday, August 09, 2005 12:21 PM
    |>To: Maven Users List
    |>Subject: RE: [m2] goals for plugins
    |>>
    |>It may
    |>>
    |>'M2 -g'
    |>>
    |>Sasi
    |>>
    |>Message
    |>From: Mueffke, Friedger [mailto:f.mueffke (AT) klopotek (DOT) de] Sent: Tuesday,
    |>August 09, 2005 3:46 PM
    |>To: users (AT) maven (DOT) apache.org
    |>Subject: [m2] goals for plugins
    |>>
    |>Hi,
    |>>
    |>>
    |>>
    |>Is there a way to find out about valid goals of a plugin/all plugins
    |>available?
    |>>
    |>>
    |>>
    |>I am looking for the one that creates reports of dependent projects. And
    |>I am curious what else I could do with the available plugins for m2.
    |>>
    |>>
    |>>
    |>>
    |>>
    |>Thanks,
    |>>
    |>Friedger
    |>>
    |>>
    |>>
    |>>
    |>>
    |>>
    |>Confidentiality Statement:
    |>>
    |>This message is intended only for the individual or entity to which it
    |>is addressed. It may contain privileged, confidential information
    |>which is
    |>exempt from disclosure under applicable laws. If you are not the
    |>intended
    |>recipient,
    |>please note that you are strictly prohibited from disseminating or
    |>distributing
    |>this information (other than to the intended recipient) or copying this
    |>information. If you have received this communication in error, please
    |>notify us
    |>immediately by return email.
    |>>
    |>>
    |>>
    |>
    |>To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    |>For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
    |>>
    |>>
    |>
    |>To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    |>For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
    |>>
    |>>
    |>>
    |>>
    |>
    |>
    |
    |To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    |For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
    |>
    |>
    |
    |
    |
    | To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    | For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
    |
    |
    |
    PGP SIGNATURE
    Version: GnuPG v1.2.6 (GNU/Linux)

    LIVglXbnPRoljXhvnf7tWLE=
    =tU1P
    PGP SIGNATURE

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.5 | | 1249 bytes | |

    Try to walk thru

    to create a jar file then you can taylor your own by adding
    your own source. There should be option to allow you to include/eclude
    file to compille
    -D

    8/10/05, Rizwan Merchant <rizwan (AT) alpha-it (DOT) comwrote:

    Hi,
    How I create a jar file from my targets such that I can specify which jar
    files certain classes should go to?
    Basiclly I have the following ant task and need to translate it into maven2

    <target name="common_jar" depends="init">
    <jar destfile="${build.jar.dir}/common.jar"
    basedir="${classes.dir}"
    includes="com/alpha/common/**, com/alpha/framework/**,
    com/alpha/util/**, com/alpha/edi/**, com/alpha/task/**,
    com/alpha/cardswipe/**, com/alpha/license/**, com/alpha/uhmsearch/**,
    com/alpha/print/**, com/alpha/alert/**,com/activetree/editor/**"/>
    </target>

    Can someone show me an example? thanks.
    -Riz.

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org

Re: goals for plugins


max 4000 letters.
Your nickname that display:
In order to stop the spam: 9 + 8 =
QUESTION ON "Java"

EMSDN.COM