Skip to content
Snippets Groups Projects
Commit 50c4df4f authored by Ehren Kret's avatar Ehren Kret
Browse files

Add deploy phase bindings

parent 1eb946f5
No related branches found
No related tags found
No related merge requests found
...@@ -9,10 +9,13 @@ config/production.yml ...@@ -9,10 +9,13 @@ config/production.yml
config/federated.yml config/federated.yml
config/staging.yml config/staging.yml
config/testing.yml config/testing.yml
service/config/production.yml config/deploy.properties
service/config/federated.yml /service/config/production.yml
service/config/staging.yml /service/config/federated.yml
service/config/testing.yml /service/config/staging.yml
/service/config/testing.yml
/service/config/deploy.properties
/service/dependency-reduced-pom.xml
.opsmanage .opsmanage
put.sh put.sh
deployer-staging.properties deployer-staging.properties
......
...@@ -479,6 +479,45 @@ ...@@ -479,6 +479,45 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<id>read-deploy-configuration</id>
<phase>deploy</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<files>${project.basedir}/config/deploy.properties</files>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.bazaarvoice.maven.plugins</groupId>
<artifactId>s3-upload-maven-plugin</artifactId>
<version>1.5</version>
<configuration>
<source>${project.build.directory}/${project.build.finalName}-bin.tar.gz</source>
<bucketName>${deploy.bucketName}</bucketName>
<destination>${project.build.finalName}-bin.tar.gz</destination>
</configuration>
<executions>
<execution>
<id>deploy-to-s3</id>
<phase>deploy</phase>
<goals>
<goal>s3-upload</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment