fix: Fix versioning once and for all, maybe?
This commit is contained in:
parent
ea3776e485
commit
a469b38ec4
30
pom.xml
30
pom.xml
@ -6,7 +6,7 @@
|
|||||||
<groupId>eu.starsong.ghidra</groupId>
|
<groupId>eu.starsong.ghidra</groupId>
|
||||||
<artifactId>GhydraMCP</artifactId>
|
<artifactId>GhydraMCP</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>${revision}</version>
|
<version>dev</version>
|
||||||
<name>GhydraMCP</name>
|
<name>GhydraMCP</name>
|
||||||
<url>https://github.com/starsong-consulting/GhydraMCP</url>
|
<url>https://github.com/starsong-consulting/GhydraMCP</url>
|
||||||
|
|
||||||
@ -17,7 +17,7 @@
|
|||||||
<maven.deploy.skip>true</maven.deploy.skip>
|
<maven.deploy.skip>true</maven.deploy.skip>
|
||||||
<maven.install.skip>true</maven.install.skip>
|
<maven.install.skip>true</maven.install.skip>
|
||||||
<maven.build.timestamp.format>yyyyMMdd-HHmmss</maven.build.timestamp.format>
|
<maven.build.timestamp.format>yyyyMMdd-HHmmss</maven.build.timestamp.format>
|
||||||
<revision>dev-SNAPSHOT</revision>
|
<revision>dev</revision>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
@ -143,28 +143,6 @@
|
|||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<!-- Simplified version naming - use tag if available, otherwise commit+dirty -->
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
|
||||||
<artifactId>build-helper-maven-plugin</artifactId>
|
|
||||||
<version>3.4.0</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>set-revision-from-git</id>
|
|
||||||
<phase>initialize</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>regex-property</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<name>revision</name>
|
|
||||||
<value>${git.closest.tag.name}</value>
|
|
||||||
<regex>^$</regex>
|
|
||||||
<replacement>${git.commit.id.abbrev}${git.dirty ? "-dirty" : ""}</replacement>
|
|
||||||
<failIfNoMatch>false</failIfNoMatch>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
<!-- Use custom MANIFEST.MF -->
|
<!-- Use custom MANIFEST.MF -->
|
||||||
<plugin>
|
<plugin>
|
||||||
@ -210,7 +188,7 @@
|
|||||||
<descriptors>
|
<descriptors>
|
||||||
<descriptor>src/assembly/ghidra-extension.xml</descriptor>
|
<descriptor>src/assembly/ghidra-extension.xml</descriptor>
|
||||||
</descriptors>
|
</descriptors>
|
||||||
<finalName>GhydraMCP-${git.commit.id.abbrev}-${maven.build.timestamp}</finalName>
|
<finalName>GhydraMCP-${git.commit.id.describe}-${maven.build.timestamp}</finalName>
|
||||||
<appendAssemblyId>false</appendAssemblyId>
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
<!-- Don't attach artifact -->
|
<!-- Don't attach artifact -->
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -227,7 +205,7 @@
|
|||||||
<descriptors>
|
<descriptors>
|
||||||
<descriptor>src/assembly/complete-package.xml</descriptor>
|
<descriptor>src/assembly/complete-package.xml</descriptor>
|
||||||
</descriptors>
|
</descriptors>
|
||||||
<finalName>GhydraMCP-Complete-${git.commit.id.abbrev}-${maven.build.timestamp}</finalName>
|
<finalName>GhydraMCP-Complete-${git.commit.id.describe}-${maven.build.timestamp}</finalName>
|
||||||
<appendAssemblyId>false</appendAssemblyId>
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user