Fix appjar POM to always ensure GerritVersion.properties is current
The process-classes phase is too late in the lifecycle, Maven may have already embedded our old properties file with some previous version number in it. Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -285,7 +285,7 @@ limitations under the License.
|
||||
<executions>
|
||||
<execution>
|
||||
<id>generate-version</id>
|
||||
<phase>process-classes</phase>
|
||||
<phase>generate-resources</phase>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<property name="s" location="${basedir}/src/main/java/"/>
|
||||
|
||||
Reference in New Issue
Block a user