Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Including flags pom.xml

Hello friends, I would like to ask a question I need to add the following flags in my pom.xml

Dskip.apps=false|true

Dapigee.app.ignoreAPIProducts=false|true

<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>com.gcloudapigee</groupId>
<artifactId>SharedPom</artifactId>
<version>1.0.0</version>
<name>${apiname}</name>
<packaging>pom</packaging>

<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Maven Plugin Repository</name>
<url>https://repo1.maven.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
</pluginRepositories>

<properties>
<main.basedir>${project.basedir}</main.basedir>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- <basepath>/customerAccountsX/v1${deployment.suffix}</basepath> -->
</properties>__

<build>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>2.5</version>
</plugin>

<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>copy-resources</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<!-- <filtering>true</filtering>
<overwrite>true</overwrite> -->
<encoding>UTF-8</encoding>
<echo message="basedir parent : ${basedir}" />
<outputDirectory>${project.build.directory}/apiproxy</outputDirectory>
<resources>
<resource>
<directory>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.5</version>
<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>

<!-- KVM / TS / PRODUCT -->
<plugin>
<groupId>com.apigee.edge.config</groupId>
<artifactId>apigee-config-maven-plugin</artifactId>
<version>1.4.3</version>
<executions>
<execution>
<id>create-config-kvm</id>
<phase>install</phase>
<goals>
<goal>keyvaluemaps</goal>
</goals>
</execution>
<execution>
<id>create-config-targetserver</id>
<phase>install</phase>
<goals>
<goal>targetservers</goal>
</goals>
</execution>
<execution>
<id>create-config-apiproduct</id>
<phase>install</phase>
<goals>
<goal>apiproducts</goal>
</goals>
</execution>
<execution>
<id>create-config-apps</id>
<phase>install</phase>
<goals>
<goal>apps</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</build>

<profile>
<id>prod</id>
<properties>
<org>${org}</org> <!-- default org, replace with default org to avoid passing parameter e.g. -Dorg testmyapi -->
<options>validate</options> <!-- default org, replace with default org to avoid passing parameter e.g. -Dorg testmyapi -->
<apigee.profile>prod_saas</apigee.profile>
<apigee.env>prod</apigee.env>
<apigee.hosturl>https://api.enterprise.apigee.com</apigee.hosturl>
<apigee.apiversion>v1</apigee.apiversion>
<apigee.org>${org}</apigee.org>
<apigee.username>${username}</apigee.username>
<apigee.password>${password}</apigee.password>
<apigee.options>${options}</apigee.options>
<apigee.revision>${revision}</apigee.revision> <!-- used while trying to update revision, use when option=update only -->
<!--apigee.override.delay>10</apigee.override.delay-->
<!--apigee.delay>1000</apigee.delay-->
</properties>
</profile>
</project>

0 0 214
0 REPLIES 0