Deploying multiple proxies/Shared flows through apigee maven plugin

shamhm
New Member

Hi All,

How to deploy multiple proxies and shared flows at one time using apigee maven plugin,

0 1 348
1 REPLY 1

There are multiple ways. If you are using Jenkins pipeline you can run mvn command multiple times. If you looking deploy multiple proxies in single mvn command, you can create parent pom and include each proxy as submodule as shown below.

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>apigee</groupId>
    <artifactId>parent-pom</artifactId>
    <packaging>pom</packaging>
    <version>1.0</version>
    <pluginRepositories>

<modules>
	<module>proxy1</module>
        <module>proxy2</module>	
	<module>sharedflow1</module>		
</modules>