Skip to content

Commit

Permalink
Fixing schema-pure-jaxb build problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Apr 5, 2017
1 parent e95c3a1 commit 0397a71
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions infra/schema-pure-jaxb/pom.xml
Expand Up @@ -124,12 +124,27 @@
</execution>
</executions>
<configuration>
<sources>
<source>${project.basedir}/target/midpoint-schema</source>
</sources>
<catalog>${basedir}/src/compile/resources/catalog.xml</catalog>
<laxSchemaValidation>true</laxSchemaValidation>
<verbose>false</verbose>
<sources>
<source>${project.basedir}/target/midpoint-schema</source>
</sources>
<catalog>${basedir}/src/compile/resources/catalog.xml</catalog>
<laxSchemaValidation>true</laxSchemaValidation>
<verbose>false</verbose>
<xjcSourceExcludeFilters>
<!-- This is a workaround for xjc bug described here: https://java.net/projects/jaxb/lists/users/archive/2005-12/message/33 -->
<!-- It presents itself on Windows machines. -->
<!-- We simply exclude any imported files. So, after a new imported file is present, please add it into this list. -->
<filter implementation="org.codehaus.mojo.jaxb2.shared.filters.pattern.PatternFileFilter">
<patterns>
<pattern>annotation-3\.xsd</pattern>
<pattern>query-3\.xsd</pattern>
<pattern>types-3\.xsd</pattern>
<pattern>common-.*\.xsd</pattern>
<pattern>scripting-3\.xsd</pattern>
<pattern>resource-schema-3\.xsd</pattern>
</patterns>
</filter>
</xjcSourceExcludeFilters>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 0397a71

Please sign in to comment.