Issue Type: Bug Bug
Affects Versions: 1.5
Assignee: Unassigned
Created: 15/Oct/12 7:29 AM
Description:

The first run behaves as expexted and my.xsd is generated.
Since it is a source directory, it will not be cleaned before the next build.
When I run mvn again (with an already existing my.xsd) then a schema1.xsd file is generated, right next to my.xsd

We figured out that this behaviour does not occurr under linux.

My configuration is:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>generate-my-xsd</id>
<phase>generate-sources</phase>
<goals>
<goal>schemagen</goal>
</goals>
<configuration>
<transformSchemas>
<transformSchema>
<uri>http://schema.my.com/schema/my/v2</uri>
<toFile>my.xsd</toFile>
</transformSchema>
</transformSchemas>
<outputDirectory>${basedir}/src/main/resources/schema/</outputDirectory>
<includes>
<include>**/any/AnnotatedClass.java</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>

Environment: Windows, Maven3.0.3, jaxb2-maven-plugin 1.5
Project: JAXB-2 Maven Plugin
Priority: Major Major
Reporter: ulrich gratz
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to