Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] Resources not copied

Do you refresh workspace from local filesystem after running "mvn clean
install"? What exact version of maven-resources-plugin do you use?

By running "mvn clean install" from outside workspace you introduce the
exact "unknown change" we solved with the new lifecycle mapping stuff we
did in 1.0, so, quite frankly, all bets are off or at least most of them.

Refresh from local filesystem followed clean build of the affected
workspace projects is the only way to recover that is expected to work
reliably. Refresh from local without clean build may or may not work,
depending on the version of maven-resources-plugin (and generally not
guaranteed to work for all maven plugins and project configurators).

If observed behaviour is different, I am curious to see a sample project.

--
Regards,
Igor

On 11-08-03 8:57 PM, Olivier NOUGUIER wrote:
Sorry ... to reproduce the problem:

command line for "mvn clean install"

then to fix:

command line or m2e for "mvn process-resources"




On Wed, Aug 3, 2011 at 6:50 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx
<mailto:igor@xxxxxxxxxxxxxx>> wrote:

    I am confused. How do you run "mvn clean install" and how do you call
    "mvn process-resources"?

    --
    Regards,
    Igor


    On 11-08-03 8:45 PM, Olivier NOUGUIER wrote:

        Hi,
          Look like the
        https://issues.sonatype.org/__browse/MNGECLIPSE-823
        <https://issues.sonatype.org/browse/MNGECLIPSE-823> could
        be reopened with indigo/m2e 1.0.0.
          I have to call explicitly "mvn process-resources" when the
        project is
        cleaned (mvn clean install)
          Did some others need to do this from time to time ?

        --
        "Computers are useless. They can only give you answers."
        - Pablo Picasso -



Back to the top