Hi,
Afaik the plugin org.jvnet.jaxb2.maven2:maven-jaxb2-plugin is not
maintained here.

We can answer for the plugin [1] : org.codehaus.mojo:jaxb2-maven-plugin

So try with this one if you have the same issue.


[1] http://mojo.codehaus.org/jaxb2-maven-plugin/

2010/7/9 zhaoyi <[email protected]>:
>
> Below is our configuration. The -no-header doesn't solve the problem.
>
> <plugin>
>                <groupId>org.jvnet.jaxb2.maven2</groupId>
>                <artifactId>maven-jaxb2-plugin</artifactId>
>                <version>0.7.1</version>
>                <executions>
>                    <execution>
>                        <id>generate-jaxb</id>
>                        <phase>generate-test-sources</phase>
>                        <goals>
>                            <goal>generate</goal>
>                        </goals>
>                    </execution>
>                </executions>
>                <configuration>
>                    <generatePackage>com.example.ipo.jaxb</generatePackage>
>
> <generateDirectory>${project.build.directory}/jaxb-source</generateDirectory>
>
> <schemaDirectory>${basedir}/src/test/resources</schemaDirectory>
>                    <schemaIncludes>
>                        <include>ipo.xsd</include>
>                    </schemaIncludes>
>                    <arguments>-no-header</arguments>
>                </configuration>
>            </plugin>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/Maven-jaxb2-plugin-encoding-issue-tp1045281p1045317.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Olivier
http://twitter.com/olamy
http://fr.linkedin.com/in/olamy
http://www.viadeo.com/fr/profile/olivier.lamy7

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to