Change phases for assembly and ant tasks

This commit is contained in:
David Turanski
2019-05-02 09:34:29 -04:00
parent 3b3bf3ec5d
commit d0234f9b66
6 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ $./mvnw clean package
## Building the distribution ## Building the distribution
```bash ```bash
$./mvnw verify -Pdist $./mvnw package -Pdist
``` ```

View File

@@ -89,7 +89,7 @@
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<phase>verify</phase> <phase>package</phase>
<configuration> <configuration>
<tasks> <tasks>
<copy file="${streams.basedir}/target/usage-cost-stream-kafka-${project.version}.zip" <copy file="${streams.basedir}/target/usage-cost-stream-kafka-${project.version}.zip"
@@ -108,7 +108,7 @@
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>prepare-package</phase>
<goals> <goals>
<goal>single</goal> <goal>single</goal>
</goals> </goals>

View File

@@ -9,7 +9,7 @@ $./mvnw clean package
## Building the distribution ## Building the distribution
```bash ```bash
$./mvnw verify -Pdist $./mvnw package -Pdist
``` ```

View File

@@ -89,7 +89,7 @@
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<phase>verify</phase> <phase>package</phase>
<configuration> <configuration>
<tasks> <tasks>
<copy file="${streams.basedir}/target/usage-cost-stream-rabbit-${project.version}.zip" <copy file="${streams.basedir}/target/usage-cost-stream-rabbit-${project.version}.zip"
@@ -108,7 +108,7 @@
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>prepare-package</phase>
<goals> <goals>
<goal>single</goal> <goal>single</goal>
</goals> </goals>