Maven Config Plugin

Hi Team,

While I was trying to execute the apigee maven config plugin on Jenkins which is running on Linux - Redhat server.

Below mentioned warning is show repeatedly

=====================

[WARNING]   The syntax
[WARNING]     @parameter expression="${property}"
[WARNING]   is deprecated, please use
[WARNING]     @parameter property="property"
[WARNING]   instead.

=====================

At end I was able to build the job successfully but at end it states that test profile wont exist

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  13.246 s
[INFO] Finished at: 2019-06-18T17:57:58Z
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "test" could not be activated because it does not exist.

======================================

The command I used to run is

mvn install -Ptest -Dusername=ashwithds123@gmail.com -Dpassword=********* -Dapigee.config.options=sync -Dapigee.config.file=/samples/EdgeConfig/edge.json -Dorg=ashwithds123-eval -Denv=test


Regards,

Ashwith

1 1 131
1 REPLY 1

I got resolved the issue:

While we try to execute the mvn command, make sure we give the path to the pom.xml file.

EX: CD <dir-name>