IntelliJ to automatically Fetch External Resource for maven Schemas

Answered

I was using maven assembly plugin in intelliJ when i noticed that

IntelliJ IDEA 2020.1.1 (Ultimate Edition)
Build #IU-201.7223.91, built on April 30, 2020

did not automatically fetched schema and xsd and it displayed it in red colour.

Upon clicking the red bulb icon, it showed me option to Fetch External Resource manually.

Why is this not automatic ?

 

<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
<id>assembleIt</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>

<dependencySets>
<dependencySet>
<useProjectArtifact>true</useProjectArtifact>
<includes>
<include>com.okta.sdk:okta-sdk-api</include>
</includes>
<outputFileNameMapping>my.zip</outputFileNameMapping>
</dependencySet>
</dependencySets>

</assembly>
0
3 comments

Do you see URI i not registered error? Sounds like https://youtrack.jetbrains.com/issue/IDEA-159401

0
Avatar
Permanently deleted user

Yes the error was there but should not it be automatic fetching ?

0

IDE uses bundled schema for validation. It needs to be updated. Please vote for IDEA-159401. It would be very nice if you attach to this issue an example pom.xml where you have this issue. Thank you.

0

Please sign in to leave a comment.