Unable to deploy proxy to Apigee Edge Error-No plugin found for prefix 'apigee-config'

Hi All,

I am trying to deploy a proxy into Apigee Edge and encountered the below error message:

[ERROR] No plugin found for prefix 'apigee-config' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local), maven-central (<..>/Maven_Central/)] -> [Help 1]
1815org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'apigee-config' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/builds/fts-apimanagement/TestProxySaaS1/.m2/repository), maven-central ()]
1816 at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve (DefaultPluginPrefixResolver.java:95)
1817 at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix (MojoDescriptorCreator.java:266)
1818 at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor (MojoDescriptorCreator.java:220)
1819 at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments (DefaultLifecycleTaskSegmentCalculator.java:104)
1820 at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments (DefaultLifecycleTaskSegmentCalculator.java:83)
1821 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:89)
1822 at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
1823 at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
1824 at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
1825 at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
1826 at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
1827 at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
1828 at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
1829 at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
1830 at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
1831 at java.lang.reflect.Method.invoke (Method.java:568)
1832 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
1833 at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
1834 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
1835 at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
1836[ERROR]
1837[ERROR]
1838[ERROR] For more information about the errors and possible solutions, please read the following articles:
 
My deployment config is as below:
 
<build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>io.apigee.build-tools.enterprise4g</groupId>
                    <artifactId>apigee-edge-maven-plugin</artifactId>
                    <version>1.3.3</version>
                </plugin>
                <plugin>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.7.0</version>
                </plugin>
                <plugin>
                    <groupId>com.apigee.edge.config</groupId>
                    <artifactId>apigee-config-maven-plugin</artifactId>
                    <version>1.5.3</version>
                    <!-- <version>2.4.3</version> -->
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>build-helper-maven-plugin</artifactId>
                    <version>1.9</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>versions-maven-plugin</artifactId>
                    <version>2.8.1</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-release-plugin</artifactId>
                    <version>3.0.0-M7</version>
                    <configuration>
                        <scmCommentPrefix>[skip ci] [maven-release-plugin]</scmCommentPrefix>
                    </configuration>
                 </plugin>
            </plugins>  
        </pluginManagement>    
    </build>
 
MVN command:
 
 mvn -X $MAVEN_CLI_OPTS clean install package -Papigee -Denv=$APIGEE_ENV -Dorg=$apigee_org \
-Dhttps.proxyHost=<proxy host> \
-Dhttps.proxyPort=8080 \
-DvhostProtocol=https \
-DvhostDomainName=<domain host> \
-DvhostDomainPort=443 -DvhostEdgeName=<> \
-Dapigee.config.dir=target/resources/edge \
-Dapigee.config.options=update \
-Dapigee.config.exportDir=target/test/integration \
-Dusername=<username> -Dpassword=<password> \
-Dapigee.api.port=443 \
-Dapigee.api.host=api.enterprise.apigee.com \
-Dapigee.api.protocol=https \
-Dtokenurl=$tokenurl \
-Dauthtype=$authtype \
-Dbearer=$bearer \
-Drefresh=$refresh \
apigee-config:caches \
apigee-config:targetservers \
apigee-config:keyvaluemaps
 
Any idea how to resolve this error. I tried different plugins for apigee-config-maven-plugin but couldn't resolve this issue. I would appreciate any feedback in resolving this issue.
0 0 93
0 REPLIES 0