I am trying to use below mentioned command in my build pipeline, it is looks like i need to add inactive goal in my pom.xml file. I added inactive goal but still i could see same error.
Can someone please help me that where do I need add inactive goal details in my pom.xml file
Command:
mvn -U clean install -X -P$(APIGEE_PROFILE) -Ddeployment.suffix="$(DEPLOYMENT_SUFFIX)" -Dorg=$(APIGEE_ORG) -Dfile=$(mySecureFile.secureFilePath) -Doptions=inactive
Error:
[ERROR] Could not find goal 'inactive' in plugin io.apigee.build-tools.enterprise4g:apigee-edge-maven-plugin:2.3.1 among available goals configure, deploy, help, initmfa -> [Help 1]
<plugin>
<groupId>io.apigee.build-tools.enterprise4g</groupId>
<artifactId>apigee-edge-maven-plugin</artifactId>
<version>2.3.1</version>
<executions>
<execution>
<id>configure-bundle-step</id>
<phase>package</phase>
<goals>
<goal>configure</goal>
</goals>
</execution>
<!--deploy bundle -->
<execution>
<id>deploy-bundle-step</id>
<phase>install</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
<execution>
<id>inactive-bundle-step</id>
<phase>install</phase>
<goals>
<goal>inactive</goal>
</goals>
</execution>
</executions>
</plugin>
<profile>
<id>apigee-xxx</id>
<properties>
<apigee.profile>apigee-xxx</apigee.profile>
<apigee.env>apigee-xxx</apigee.env>
<apigee.hosturl>xxxxxxx</apigee.hosturl>
<apigee.apiversion>v1</apigee.apiversion>
<apigee.org>${org}</apigee.org>
<apigee.options>override</apigee.options> <!-- overrides is default and the only option -->
<apigee.bearer>${bearer}</apigee.bearer> <!-- this takes precedence over service account file -->
<apigee.serviceaccount.file>${file}</apigee.serviceaccount.file>
<apigee.config.options>update</apigee.config.options>
<api.northbound.domain>${domain}</api.northbound.domain>
<api.testtag>~@wip,~@mock</api.testtag>
</properties>
</profile>