Web resource compression occurs before web resource copying on incremental plugin builds

XMLWordPrintable

    • Type: Bug
    • Resolution: Timed out
    • Priority: Low
    • None
    • Affects Version/s: 1.2.0
    • Component/s: None
    • None

      Changing a plugin resource and then calling mvn package causes the old version to be minified, and hence the old version shows up in the batch.

      Probably not a big deal during development as people should be working in dev mode with resources loading unminified straight from disk, but still strange and worrying.

      ian@cerberus ~/src/atlassian/caviar-search $ mvn package
      [INFO] Scanning for projects...
      [INFO] ------------------------------------------------------------------------
      [INFO] Building stash-search
      [INFO]    task-segment: [package]
      [INFO] ------------------------------------------------------------------------
      [INFO] [stash:copy-bundled-dependencies]
      [INFO] [dependency:copy-dependencies]
      [INFO] atlassian-json-0.3.jar already exists in destination.
      [INFO] atlassian-processutils-1.3.4.jar already exists in destination.
      [INFO] commons-io-1.4.jar already exists in destination.
      [INFO] commons-lang-2.6.jar already exists in destination.
      [INFO] joda-time-2.0.jar already exists in destination.
      [INFO] [stash:compress-resources]
      [INFO] [yuicompressor:compress]
      [INFO] test.js (111b) -> test-min.js (111b)[100%]
      [INFO] search.js (1154b) -> search-min.js (636b)[55%]
      [INFO] total input (1265b) -> output (747b)[59%]
      [INFO] nb warnings: 0, nb errors: 0
      [INFO] [resources:resources]
      [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
      [INFO] Copying 4 resources
      [INFO] [stash:filter-plugin-descriptor]
      [INFO] [resources:copy-resources {execution: virtual-execution}]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 1 resource
      [INFO] [compiler:compile]
      

              Assignee:
              mwatson
              Reporter:
              ig (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: