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

Maven Config Plugin Tool Error on Jenkins

Former Community Member
Not applicable

Hi,

I am using the following command.

install -Ptest -Dusername=orguser1@email.com -Dauthtype=oauth -Dbearer=$T -Dapigee.config.options=create -Denv=dev -Dorg=org1

I am seeing this error on jenkins:

[ERROR] Failed to execute goal io.apigee.build-tools.enterprise4g:apigee-edge-maven-plugin:1.1.7:deploy (deploy-bundle) on project HelloWorld: : MojoExecutionException: The token was expected to have 3 parts, but got 1. -> [Help 1]
Solved Solved
0 6 593
1 ACCEPTED SOLUTION

Former Community Member
Not applicable

It worked for me with this:

install -Ptest -Dusername=$un -Dpassword=$pw -Dauthtype=oauth -Dapigee.config.options=create -Denv=explore -Dorgname=org

As we have SAML enabled, I had to update the tokenURL (in the shared-pom.xml) from the default

https://login.apigee.com/oauth/token" to https://zonename.login.apigee.com/oauth/token"

View solution in original post

6 REPLIES 6