mirror of https://github.com/apache/nifi.git
NIFI-3795 Moved no-git profile to nifi-nar-bundles
Removing buildnumber plugin and build-info-no-git profile from nifi-assembly and adding build-info-no-git profile to nifi-nar-bundles pom Signed-off-by: James Wing <jvwing@gmail.com>
This commit is contained in:
parent
7f2f38be52
commit
d9410d6404
|
@ -49,28 +49,6 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>buildnumber-maven-plugin</artifactId>
|
||||
<inherited>false</inherited>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>create</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<doCheck>false</doCheck>
|
||||
<doUpdate>false</doUpdate>
|
||||
<shortRevisionLength>7</shortRevisionLength>
|
||||
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
|
||||
<revisionOnScmFailure />
|
||||
<buildNumberPropertyName>buildRevision</buildNumberPropertyName>
|
||||
<scmBranchPropertyName>buildBranch</scmBranchPropertyName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<dependencies>
|
||||
|
@ -855,18 +833,5 @@
|
|||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>build-info-no-git</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
<file>
|
||||
<missing>../.git/HEAD</missing>
|
||||
</file>
|
||||
</activation>
|
||||
<properties>
|
||||
<buildRevision />
|
||||
<buildBranch />
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
|
|
@ -113,6 +113,23 @@
|
|||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<!-- Specifies an empty buildRevision and buildBranch when building outside of a git repo -->
|
||||
<profile>
|
||||
<id>build-info-no-git</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
<file>
|
||||
<missing>../.git/HEAD</missing>
|
||||
</file>
|
||||
</activation>
|
||||
<properties>
|
||||
<buildRevision />
|
||||
<buildBranch />
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
|
Loading…
Reference in New Issue