|
@@ -119,6 +119,55 @@
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>pl.project13.maven</groupId>
|
|
|
+ <artifactId>git-commit-id-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>revision</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ <configuration>
|
|
|
+ <verbose>true</verbose>
|
|
|
+ <dateFormat>yyyyMMddHHmm</dateFormat>
|
|
|
+ <generateGitPropertiesFile>true</generateGitPropertiesFile>
|
|
|
+
|
|
|
+ <generateGitPropertiesFilename>target/git.properties</generateGitPropertiesFilename>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-assembly-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>make-assembly</id>
|
|
|
+
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>single</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <finalName>
|
|
|
+ ${project.artifactId}_${git.commit.time}_git_${git.branch}_${git.commit.id.abbrev}
|
|
|
+ </finalName>
|
|
|
+
|
|
|
+ <appendAssemblyId>false</appendAssemblyId>
|
|
|
+
|
|
|
+
|
|
|
+ <descriptors>
|
|
|
+ <descriptor>src/script/zip.xml</descriptor>
|
|
|
+ </descriptors>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|