# Azure DevOps - Nexus IQ Extension issue with scan Targets for Java Maven

**URL:** <https://community.sonatype.com/t/azure-devops-nexus-iq-extension-issue-with-scan-targets-for-java-maven/3913>\
**Category:** Sonatype Lifecycle & Firewall\
**Tags:** integrations, nexus-iq, azure\
**Created:** [April 15, 2020, 2:12pm UTC](https://community.sonatype.com/t/azure-devops-nexus-iq-extension-issue-with-scan-targets-for-java-maven/3913 "2020-04-15T14:12:49Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![azizbasha](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@azizbasha](https://community.sonatype.com/u/azizbasha)\
**Post date:** [April 15, 2020, 2:12pm UTC](https://community.sonatype.com/t/azure-devops-nexus-iq-extension-issue-with-scan-targets-for-java-maven/3913/1 "2020-04-15T14:12:50Z")

</div>

Hi

I have created Java Maven pipeline using YAML.

Wherein i am using Nexus IQ Extension 1.2.1 for Nexus IQ Policy Evaluation

below is the Task in my pipeline -

_- task: SonatypeIntegrations.nexus-iq-azure-extension.nexus-iq-azure-pipeline-ask.NexusIqPipelineTask@1  
displayName: ‘Nexus IQ Policy Evaluation’  
inputs:  
nexusIqService: $(Serviceconnection.Nexus.IQ.Name)  
applicationId: $(appname\_nexus\_lc)  
scanTargets: '\*\*/_.jar, \*\*/_.war, \*\*/_.ear, \*\*/\*.tar.gz’

Nexus IQ is unable to scan targets in the Azure DevOps -\> Java Build Pipeline.

I have also tried with giving scan targets as below-

scanTargets : ‘$(Build.ArtifactsStagingDirectory)/\*\*/\*.war’’

Also with hard coded values scanTargets is unable to scan the Artifacts.

any ideas.

---

_[View the full topic](https://community.sonatype.com/t/azure-devops-nexus-iq-extension-issue-with-scan-targets-for-java-maven/3913)._
