Author Message
shix
Joined: Jan 23, 2015
Messages: 19
Offline
Hi Experts,

We encountered a problem when building ED Dynamic Task sample using Maven?
SDK Version?
Avaya-Breeze-SDK-3.8.0.0.380018
Avaya-ED-SDK-3.8.0.0.100005

command?mvn build
Error?
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-checkstyle-plugin must be a valid version but is '${checkstyle.version}'. @ com.avaya.commons:avaya-commons-java-pom:2.6, /Users/jiaxiuli/Documents/java/maven/repo354/com/avaya/commons/avaya-commons-java-pom/2.6/avaya-commons-java-pom-2.6.pom, line 29, column 18
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.avaya.workflow.sampletasks:randomnumbergenerator:3.8.0.0.100005 (/Users/jiaxiuli/Desktop/breeze/ED/ed3.8/Avaya-ED-SDK/samples/randomnumbergenerator/pom.xml) has 1 error
[ERROR] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-checkstyle-plugin must be a valid version but is '${checkstyle.version}'. @ com.avaya.commons:avaya-commons-java-pom:2.6, /Users/jiaxiuli/Documents/java/maven/repo354/com/avaya/commons/avaya-commons-java-pom/2.6/avaya-commons-java-pom-2.6.pom, line 29, column 18
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
Krishnakumar(KK)
Joined: Jul 15, 2016
Messages: 34
Offline
Hi Shix,

Did you run the install script to install the SDK?

If so, Please run the following command under randomnumbergeneratorfolder and let know the result.

mvn clean install

Thanks!
shix
Joined: Jan 23, 2015
Messages: 19
Offline
Yes,I've already install them,Avaya-ED-SDK-3.8.0.0.100005 and Avaya-Breeze-SDK-3.8.0.0.380018,and all installed successfully.

Error:
C:\files\Avaya-ED-SDK\samples\randomnumbergenerator>mvn clean install
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-checkstyle-plugin must be a valid version but is '${checkstyle.version}'. @ com.avaya.commons:avaya-commons-java-pom:2.6, C:\Users\shixianjue\.m2\repository\com\avaya\commons\avaya-commons-java-pom\2.6\avaya-commons-java-pom-2.6.pom, line 29, column 18
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.avaya.workflow.sampletasks:randomnumbergenerator:3.8.0.0.100005 (C:\files\Avaya-ED-SDK\samples\randomnumbergenerator\pom.xml) has 1 error
[ERROR] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-checkstyle-plugin must be a valid version but is '${checkstyle.version}'. @ com.avaya.commons:avaya-commons-java-pom:2.6, C:\Users\shixianjue\.m2\repository\com\avaya\commons\avaya-commons-java-pom\2.6\avaya-commons-java-pom-2.6.pom, line 29, column 18
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
shix
Joined: Jan 23, 2015
Messages: 19
Offline
Is there a solution?
Krishnakumar(KK)
Joined: Jul 15, 2016
Messages: 34
Offline
Hi Shix,
Sorry for the delay. Could you please attach the file, C:\Users\shixianjue\.m2\repository\com\avaya\commons\avaya-commons-java-pom\2.6\avaya-commons-java-pom-2.6.pom

And also what version of Maven and Java are you using?

Thanks!
RafaelGarza
Joined: Dec 9, 2020
Messages: 1
Offline
shix wrote:Yes,I've already install them,Avaya-ED-SDK-3.8.0.0.100005 and Avaya-Breeze-SDK-3.8.0.0.380018,and all installed successfully.

Error:
C:\files\Avaya-ED-SDK\samples\randomnumbergenerator>mvn clean install
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-checkstyle-plugin must be a valid version but is '${checkstyle.version}'. @ com.avaya.commons:avaya-commons-java-pom:2.6, C:\Users\shixianjue\.m2\repository\com\avaya\commons\avaya-commons-java-pom\2.6\avaya-commons-java-pom-2.6.pom, line 29, column 18
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.avaya.workflow.sampletasks:randomnumbergenerator:3.8.0.0.100005 (C:\files\Avaya-ED-SDK\samples\randomnumbergenerator\pom.xml) has 1 error
[ERROR] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-checkstyle-plugin must be a valid version but is '${checkstyle.version}'. tellpizzahut @ com.avaya.commons:avaya-commons-java-pom:2.6, C:\Users\shixianjue\.m2\repository\com\avaya\commons\avaya-commons-java-pom\2.6\avaya-commons-java-pom-2.6.pom, line 29, column 18
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException




Thanks for this. This worked exactly as expected.
Go to:   
Mobile view