Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-358

maven-scm-perforce isn't reporting updated files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0-beta-3, 1.0
    • None
    • None

    Description

      BuildController does not see changes and therefore does not do a build. Here is how I tested:

      1. cd /project/dir

      2. find ./ -type f -exec md5sum {} \; > 2.old

      3. check in changes to perforce from another client

      4. wait for Continuum to do run it's scheduled task to update code

      5. Continuum:
      346298228 [pool-1-thread-1] INFO org.apache.maven.continuum.buildcontroller.BuildController:default - "Merging SCM results

      346298254 [pool-1-thread-1] INFO org.apache.maven.continuum.buildcontroller.BuildController:default - The project was not built because no changes were detected in sources since the last build.

      346298255 [pool-1-thread-1] INFO org.apache.maven.continuum.buildcontroller.BuildController:default - No changes, not building

      6. find ./ -type f -exec md5sum {} \; > 2.new

      7. diff 2.old 2.new

      ---------begin---------
      28c27
      < d408dc1aab6914b85e3bd2e1ae609368 ./src/main/java/com/visto/apps/client/IPhoneyClientProtocolHandler.java

      > 79dfa098c212744ffec226a8126bb3f5 ./src/main/java/com/visto/apps/client/IPhoneyClientProtocolHandler.java
      ---------end---------

      IPhoneyClientProtocolHandler.java was the file that I had changed and checked into perforce. I check the file and the changes were updated in Continuum's working directory.

      Should I attach the POM.xml?

      Thanks.

      Attachments

        Activity

          People

            Unassigned Unassigned
            swhite Steve White
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: