Giter Site home page Giter Site logo

Comments (5)

tbroyer avatar tbroyer commented on May 25, 2024

Any idea why the sources jar has been rebuilt? It shouldn't be if there are no changes (at least according to documentation)

Maybe you could post the full log as gist?

from gwt-maven-archetypes.

zufarfakhurtdinov avatar zufarfakhurtdinov commented on May 25, 2024

https://gist.github.com/zufarfakhurtdinov/a8fe415308f83b33e972
Full gist. I just change plugin version to 1.0-rc-6. No effect
upd: full log is huge and gist doesn't support it. There is end of output https://gist.github.com/zufarfakhurtdinov/429bff8f28fe714c0ea0

from gwt-maven-archetypes.

tbroyer avatar tbroyer commented on May 25, 2024

This is the culprit: https://gist.github.com/zufarfakhurtdinov/a8fe415308f83b33e972#file-gistfile1-txt-L1098

[DEBUG] isUp2date: false (Resource with unknown modification date found.)

Now we'd need to understand which resource has a zero modification time. I'll see if I reproduce locally and will try to debug it.

from gwt-maven-archetypes.

tbroyer avatar tbroyer commented on May 25, 2024

OK, so the problem is that the maven-compiler-plugin:3.2 creates directory target/generated-sources/annotations and adds it as a source root, and maven-source-plugin (through maven-archiver → plexus-archiver → plexus-io) treats an empty directory as "having changed" (and that directory is always empty as there's no annotation processor involved).

Using maven-compiler-plugin:3.1 (which won't add target/generated-sources/annotations to the source roots; see https://issues.apache.org/jira/browse/MCOMPILER-157) will workaround the problem (until you need to use an annotation processor, in which case you should try maven-compiler-plugin:3.5.1 which should behave correctly/sensibly).

from gwt-maven-archetypes.

tbroyer avatar tbroyer commented on May 25, 2024

Fixed in 2247532, thanks for the report.

from gwt-maven-archetypes.

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.