using build-helper attach-artifacts

This commit is contained in:
2022-10-01 00:11:06 -04:00
parent fa7f1c9cb2
commit 59bd5d154b

View File

@@ -88,49 +88,37 @@
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-install-plugin</artifactId> <groupId>org.codehaus.mojo</groupId>
<configuration> <artifactId>build-helper-maven-plugin</artifactId>
<groupId>${project.groupId}</groupId> <version>3.3.0</version>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<packaging>amp</packaging>
<skip>true</skip> <!-- skip the default file -->
</configuration>
<executions> <executions>
<execution> <execution>
<id>acs62</id> <id>attach-artifacts</id>
<phase>install</phase> <phase>package</phase>
<goals><goal>install-file</goal></goals> <goals><goal>attach-artifact</goal></goals>
<configuration> <configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/${project.artifactId}-${project.version}-acs62.amp</file> <file>${project.build.directory}/${project.artifactId}-${project.version}-acs62.amp</file>
<classifier>acs62</classifier> <classifier>acs62</classifier>
</configuration> <type>amp</type>
</execution> </artifact>
<execution> <artifact>
<id>acs70</id>
<phase>install</phase>
<goals><goal>install-file</goal></goals>
<configuration>
<file>${project.build.directory}/${project.artifactId}-${project.version}-acs70.amp</file> <file>${project.build.directory}/${project.artifactId}-${project.version}-acs70.amp</file>
<classifier>acs70</classifier> <classifier>acs70</classifier>
</configuration> <type>amp</type>
</execution> </artifact>
<execution> <artifact>
<id>acs71</id>
<phase>install</phase>
<goals><goal>install-file</goal></goals>
<configuration>
<file>${project.build.directory}/${project.artifactId}-${project.version}-acs71.amp</file> <file>${project.build.directory}/${project.artifactId}-${project.version}-acs71.amp</file>
<classifier>acs71</classifier> <classifier>acs71</classifier>
</configuration> <type>amp</type>
</execution> </artifact>
<execution> <artifact>
<id>acs72</id>
<phase>install</phase>
<goals><goal>install-file</goal></goals>
<configuration>
<file>${project.build.directory}/${project.artifactId}-${project.version}-acs72.amp</file> <file>${project.build.directory}/${project.artifactId}-${project.version}-acs72.amp</file>
<classifier>acs72</classifier> <classifier>acs72</classifier>
<type>amp</type>
</artifact>
</artifacts>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>