HCL-TECH-SOFTWARE / ounce-maven-plugin

Maven plugin for integrating with HCL AppScan Source
Apache License 2.0
9 stars 11 forks source link

${ounce.appDir} not expanded for scanning when appDir is not explicitly set. #6

Open kjweinert opened 7 years ago

kjweinert commented 7 years ago

Current working directory C:\Maven\SimpleIOT-Maven> comand: mvn ounce:application ounce:project ounce:scan .... ounceauto: CRWSA1653E Error: File not found: 'C:\Maven\SimpleIOT-Maven\${ounce.appDir}\SimpleIOT-Maven.paf'

The ppf and paf files get generated successfully.

Works: mvn ounce:application ounce:project ounce:scan -Dounce.appDir="C:\Maven\SimpleIOT-Maven"

kjweinert commented 3 years ago

This still seems to be an issue in the latest version of the plugin. Now the documentation says DO NOT USE: under both ounce scan and ounce report:

applicationFile (Default: ${ounce.appDir}/${project.artifactId}.paf) The location of the application file (.paf) to scan. DO NOT USE Expression: ${ounce.applicationFile}