Skip to content

Commit

Permalink
Stop target/midpoint-schema being resource dir
Browse files Browse the repository at this point in the history
Having this directory (in schema-pure-jaxb module) declared as resource
dir confuses IDEA, as it looks for XSD types at two places: besides
standard schema also here. It looks like everything works even if
it is not declared so.
  • Loading branch information
mederly committed Apr 16, 2021
1 parent 20c9580 commit 06f211b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions infra/schema-pure-jaxb/pom.xml
Expand Up @@ -48,9 +48,10 @@
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>target/midpoint-schema</directory>
</resource>
<!-- Commented out experimentally, as this fools IDEA into searching for XSD types at this location as well. -->
<!--<resource>-->
<!-- <directory>target/midpoint-schema</directory>-->
<!--</resource>-->
</resources>
<plugins>
<plugin>
Expand Down

0 comments on commit 06f211b

Please sign in to comment.