change name of generated product artifacts

This commit is contained in:
Eyck Jentzsch 2021-01-15 15:52:28 +01:00
parent bca94ceb9d
commit 5adeae15a9
3 changed files with 14 additions and 14 deletions

13
pom.xml
View File

@ -34,6 +34,19 @@
<build> <build>
<plugins> <plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>parse-version</id>
<goals>
<goal>parse-version</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>org.eclipse.tycho</groupId> <groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId> <artifactId>tycho-maven-plugin</artifactId>

View File

@ -46,7 +46,7 @@
<products> <products>
<product> <product>
<id>product</id> <id>product</id>
<archiveFileName>SCViewer-${project.version}</archiveFileName> <archiveFileName>SCViewer-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</archiveFileName>
<rootFolders> <rootFolders>
<macosx>SCViewer.app</macosx> <macosx>SCViewer.app</macosx>
</rootFolders> </rootFolders>

View File

@ -21,19 +21,6 @@
<finalName>${project.artifactId}-${qualifiedVersion}</finalName> <finalName>${project.artifactId}-${qualifiedVersion}</finalName>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>parse-version</id>
<goals>
<goal>parse-version</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>
<profiles> <profiles>