Aleksey Sushko commented on New Feature MJAXB-53

This example shows the configuration of a single code page source project.
Use the property $ {project.build.sourceEncoding}.
If the project this is not specified, will use the current code page of the operating system.

pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project 
  xmlns="http://maven.apache.org/POM/4.0.0" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

  <modelVersion>4.0.0</modelVersion>

  <groupId>org.mytest</groupId>
  <artifactId>org.mytest.xml-data</artifactId>
  <version>1.0.0-SNAPSHOT</version>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>jaxb2-maven-plugin</artifactId>
        <version>1.3.2-SNAPSHOT</version>
         <configuration>
          <schemaDirectory>${basedir}/src/main/resources/schema</schemaDirectory>
          <schemaFiles>all.xsd</schemaFiles>
          <packageName>org.mytest.all</packageName>
          <extension>true</extension>
          <arguments>-no-header</arguments>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
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