Deploying shared flows with the maven plugin

Not applicable

Hi,

we're using the maven plugin to push proxies to an apigee edge instance and we're about to start using shared flows. Is it possible to push the shared flows using the plugin too?

The main pom contains config like this:

<p> <plugin>
     <artifactId>maven-resources-plugin</artifactId>
     <version>2.7</version>
     <executions>
         <execution>
             <id>copy-resources</id>
             <phase>prepare-package</phase>
             <goals>
                 <goal>copy-resources</goal>
             </goals>
             <configuration>
                 <outputDirectory>${basedir}/target/apiproxy</outputDirectory>
                 <resources>
                     <resource>
                         <directory>${basedir}/apiproxy</directory>
                     </resource>
                 </resources>
             </configuration>
         </execution>
     </executions>
 </plugin>
 <plugin>
     <groupId>io.apigee.build-tools.enterprise4g</groupId>
     <artifactId>apigee-edge-maven-plugin</artifactId>
     <version>1.1.4</version>
     <configuration>
         <skip>false</skip>
         <!-- Use this module level config to skip module build. Make it true -->
     </configuration>
     <executions>
         <execution>
             <id>configure-bundle</id>
             <phase>package</phase>
             <goals>
                 <goal>configure</goal>
             </goals>
         </execution>
         <execution>
             <id>deploy-bundle</id>
             <phase>install</phase>
             <goals>
                 <goal>deploy</goal>
             </goals>
         </execution>
     </executions>
 </plugin></p>
Solved Solved
0 1 1,123
1 ACCEPTED SOLUTION

Not applicable

Yes, the maven plugin can be used to deploy shared flows. Here's the link to the github documentation, there is also a sample for the folder structure and parent pom: https://github.com/apigee/apigee-deploy-maven-plugin#building-shared-flow-bundles The build steps and options are the same as those for an API proxy.

View solution in original post

1 REPLY 1

Not applicable

Yes, the maven plugin can be used to deploy shared flows. Here's the link to the github documentation, there is also a sample for the folder structure and parent pom: https://github.com/apigee/apigee-deploy-maven-plugin#building-shared-flow-bundles The build steps and options are the same as those for an API proxy.