Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-3598 Migration to Github Activites
  3. TRUNK-3632

Update build so it doesn't look at svn revision

    XMLWordPrintable

    Details

    • Complexity:
      Low

      Description

      The "long" version of openmrs refers to the current build number. This build version number is inserted by maven according to the .svn file in the checkout. Now that we will be on git, it needs to refer to a git number (or probably a date, since git uses uuids for commits)

      This plugin needs updated in the main pom.xml to refer to something in git.

      <plugin>
      					<groupId>org.codehaus.mojo</groupId>
      					<artifactId>buildnumber-maven-plugin</artifactId>
      					<version>1.0</version>
      					<configuration>
      						<doCheck>false</doCheck>
      						<doUpdate>false</doUpdate>
      						<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
      						<buildNumberPropertyName>revisionNumber</buildNumberPropertyName>
      						<revisionOnScmFailure>0</revisionOnScmFailure>
      						<useLastCommittedRevision>true</useLastCommittedRevision>
      						<providerImplementations>
      							<svn>javasvn</svn>
      						</providerImplementations>
      					</configuration>
      				</plugin>
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sunbiz Saptarshi Purkayastha [X] (Inactive)
              Reporter:
              bwolfe Ben Wolfe
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h