Hi Dan,

take a look at the fix i made...
review and check if it works for you


Kind regards
Karl Heinz Marbaise

On 2/10/14 7:03 PM, Dan Tran wrote:
I turn out I had to twist help plugin configuration which i stole from
maven-dependency-plugin. I am using 3.0.5. could you take a look at my
sandbox plugin?

thanks

-D


On Mon, Feb 10, 2014 at 9:55 AM, Karl Heinz Marbaise <[email protected]
<mailto:[email protected]>> wrote:

    Hi Dan,

    with which Maven version are doing that? I have done it with Maven
    3.0.5 ...

    without a problem...sucessful build ...

    ?

    Kind regards
    Karl Heinz Marbaise


     > Hi I have a plugin under sandbox ( download-maven-plugin [1]).
    This is a

        demo for MVN-5580 [2]

        However, I am not able to build this plugin from scratch ( maven
        clean
        install). It complains
        about not able to discover mojo

           --- maven-plugin-plugin:3.2:__helpmojo (help-mojo) @
        download-maven-plugin ---
           Using 'UTF-8' encoding to read mojo metadata.
           Applying mojo extractor for language: java-annotations
           Mojo extractor for language: java-annotations found 0 mojo
        descriptors.
           Applying mojo extractor for language: java
           Mojo extractor for language: java found 0 mojo descriptors.
           Applying mojo extractor for language: bsh
           Mojo extractor for language: bsh found 0 mojo descriptors.

        Looks to me the check starts before the annotations got scan.

        work around:

            1. build as 'jar' package first and switch to 'maven-plugin'
        package
        ( ie dont  call clean)

            2. use m2e to update the maven project, so that help mojo
        source got
        generate properly
                then run mvn install


        Have anyone seen this?

        Advice is very much appreciated

        Thanks

        -Dan

        [1]
        https://svn.codehaus.org/mojo/__trunk/sandbox/download-maven-__plugin
        <https://svn.codehaus.org/mojo/trunk/sandbox/download-maven-plugin>

        [2] https://jira.codehaus.org/__browse/MNG-5580
        <https://jira.codehaus.org/browse/MNG-5580>





    Mit freundlichem Gruß
    Karl-Heinz Marbaise
    --
    SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415
    893 <tel:%2B49%20%280%29%202405%20%2F%20415%20893>
    Dipl.Ing.(FH) Karl-Heinz Marbaise        ICQ#: 135949029
    Hauptstrasse 177                         USt.IdNr: DE191347579
    52146 Würselen http://www.soebes.de

    ------------------------------__------------------------------__---------
    To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/__manage_email
    <http://xircles.codehaus.org/manage_email>





Mit freundlichem Gruß
Karl-Heinz Marbaise
--
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl-Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to