Hi, I am facing one issue where my requirement is that I need to generate jaxb files from schema using
maven jaxb plugin. When I have the schema on my local repository (Like <schemaDirectory>src/main/resources/xxx</schemaDirectory>) then below code works fine but my schema is on remote location (Like <schemaDirectory>
https://dev01.svn.com:8443/svn/YYY</schemaDirectory>) and when I tried same code with SchemaDirectory value is remote path, it doesn't work. Any Idea. Please advice.
<build>
<plugins>
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>0.7.5-01</version>
<executions>
<execution>
<id>appId</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<args>
<param>-npa</param>
</args>
<schemaDirectory>src/main/resources/xxx</schemaDirectory>
<schemaIncludes>
<include>**/*.xsd</include>
</schemaIncludes>
<generateDirectory>src/main/java</generateDirectory>
<generatePackage>com.app.jaxb</generatePackage>
</configuration>
</execution>
</executions>
</plugin>
</plugins>