GithubHelp home page GithubHelp logo

highsource / jaxb-tools Goto Github PK

View Code? Open in Web Editor NEW
408.0 29.0 95.0 20.78 MB

The most advanced JAXB2 Maven Plugin for XML Schema compilation.

License: Other

Java 92.26% HTML 0.36% Batchfile 0.30% XS 2.31% XSLT 0.72% Roff 0.15% CSS 3.90%

jaxb-tools's Introduction

JAXB Tools

Maven Central GitHub Actions Status CodeQL

Welcome to the most advanced and feature-full sets of JAXB-related tools.

The project is currently containing the following tools :

Please check our Migration Guide for any questions about migrating from previous releases to newers one.

Maven versions

Starting from 4.0.2, this plugin requires maven 3.1.0 as minimal version.

If you still need maven 2.x or maven 3.0.x, you can still use the previous released versions but you should consider upgrading maven to at least 3.1.0.

Java versions

This project supports Java 11 and higher.

The build is tested against JDK11, JDK17 and JDK21.

Please refer to the wiki for the full documentation.

Disclaimer

This project is not developed, supported or in any other way affiliated with Apache, Eclipse or Oracle.

It was a completely independent development by its creator, Alexey Valikov.

It is now maintained by a group of people who are interested in keeping jaxb-tools working with future versions of Java and Jakarta.

JAXB Maven Plugin

This Maven plugin generates Java classes during Maven builds from XML Schemas (as well as WSDL, DTDs, RELAX NG formats).

It wraps and enhances the JAXB Schema Compiler (XJC) with its own set of plugins and customization points.

Quick start

  • Put your schemas (*.xsd) and bindings (*.xjb) into the src/main/resources folder.
  • Add the plugin to your pom.xml:
<project ...>
  ...
  <build>
    <plugins>
      <plugin>
        <groupId>org.jvnet.jaxb</groupId>
        <artifactId>jaxb-maven-plugin</artifactId>
        <version>4.0.0</version>
        <executions>
          <execution>
            <goals>
              <goal>generate</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  ...
</project>

JAXB Versions

The current version 4.X of this plugin supports only JAXB 4.X (Jakarta based).

Versions 2.X and 3.X supports JAXB 2.3 and JAXB 3.0 with JDK8 support and baseline :

If you need an older JAXB version, you can use one of the following variants, which are no longer supported :

  • org.jvnet.jaxb2.maven2:maven-jaxb22-plugin:0.15.1 - JAXB 2.2.
  • org.jvnet.jaxb2.maven2:maven-jaxb21-plugin:0.15.2 - JAXB 2.1.
  • org.jvnet.jaxb2.maven2:maven-jaxb20-plugin:0.15.2 - JAXB 2.0.

Similar Projects

If you experience issues with the Mojohaus JAXB2 Maven Plugin (org.codehaus.mojo:jaxb2-maven-plugin), please file it on their project page.

JAXB Plugins

JAXB Plugins (former JAXB Basics) is an open source project which provides useful plugins and tools for JAXB 4.x reference implementation.

For the current version 4.X and the previous version 3.X, its artifacts are named org.jvnet.jaxb:jaxb-plugins, while the previous verions 2.X were named org.jvnet.jaxb:jaxb2-basics. So, please replace all "jaxb2-basics" with "jaxb-plugins" in the following documentations (also in wiki) if you use versions 3.X and 4.X.

Documentation

Please refer to the wiki for documentation.

JAXB Basics can only be used with JAXB/XJC 4.x.

Using JAXB Basics

JAXB Basics Plugins

Credits

Annox

Parse Java annotations from text or XML resources.

Please refer to the wiki for documentation.

// Parse annotation from the string
XAnnotation<XmlRootElement> xannotation =
	(XAnnotation<XmlRootElement>) XAnnotationParser.INSTANCE.parse
		("@jakarta.xml.bind.annotation.XmlRootElement(name=\"foo\")");

// Create an instance of the annotation
XmlRootElement xmlRootElement = xannotation.getResult();
assertEquals("foo", xmlRootElement.name());
assertEquals("##default", xmlRootElement.namespace());

// Analyze the structure of the annotation
assertEquals(String.class, xannotation.getFieldsMap().get("name").getType());
assertEquals("##default", xannotation.getFieldsMap().get("namespace").getResult());

JAXB Annotate Plugin

JAXB Annotate Plugin is capable of adding or removing arbitrary annotations to/from the generated sources.

It is also capable of removing all XML related annotations from the generated sources and also the ObjectFactory. This new capability can be used in order to generate plain Java POJO from XSD without depending on JAXB artifacts.

Please refer to the wiki for documentation.

Usage overview

  • Annotate your schema using binding files or directly in schema
  • Add the plugin to the XJC classpath.
  • Add your annotation classes to the XJC classpath.
  • Activate the plugin using -Xannotate-switch.

Providing annotations

You can annotate your schema-derived elements using normal Java annotation syntax. (Old XML syntax is still supported but no longer recommended.)

Current limitations:

  • Annotation classes must be known in compile time. I.e. annotation classes must be made available in the XJC classpath. If you want to use your own annotations, you have to pre-compile them and add your annotation classes to the XJC classpath.
  • As a consequence, currently you can't use schema-derived enums in your annotations. Since you have to compile annotations before compiling the schema - and as your enums are first generated from the schema, this is a chicken-and-egg-problem.
  • All class names (classes of annotations or classes you use as values in annotations) must be fully qualified. Inner classes should use the dot (.) as delimiter (not $).

You can put your annotations directly in schema:

<xsd:schema
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:jaxb="https://jakarta.ee/xml/ns/jaxb"
        jaxb:version="3.0"
        xmlns:annox="urn:jaxb.jvnet.org:annox"
        jaxb:extensionBindingPrefixes="annox">


    <xsd:complexType name="FooType">
        <xsd:annotation>
            <xsd:appinfo>
                <annox:annotate>@java.lang.SuppressWarnings({"unchecked","rawtypes"})</annox:annotate>
                <annox:annotate target="package">@javax.annotation.Generated({"XJC","JAXB Annotate Plugin"})</annox:annotate>
            </xsd:appinfo>
        </xsd:annotation>
        <xsd:sequence>
            <xsd:element name="bar" type="xsd:string"/>
            <xsd:element name="foobar" type="xsd:string">
                <xsd:annotation>
                    <xsd:appinfo>
                        <annox:annotate>@java.lang.SuppressWarnings({"unchecked","rawtypes"})</annox:annotate>
                        <annox:annotate target="setter">@java.lang.Deprecated</annox:annotate>
                        <annox:annotate target="setter-parameter">@java.lang.Deprecated</annox:annotate>
                        <annox:annotate target="getter">@java.lang.Deprecated</annox:annotate>
                        <annox:annotate target="field">@java.lang.Deprecated</annox:annotate>
                        <annox:annotate target="class">@java.lang.Deprecated</annox:annotate>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>

    <xs:simpleType name="FooEnum">
        <xs:annotation>
            <xs:appinfo>
                <annox:annotateEnumValueMethod>@java.lang.Deprecated</annox:annotateEnumValueMethod>
            </xs:appinfo>
        </xs:annotation>

        <xs:restriction base="xs:string">
            <xs:enumeration value="BAR"/>
            <xs:enumeration value="BAZ"/>
        </xs:restriction>
    </xs:simpleType>

</xsd:schema>

Or in binding files:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<jaxb:bindings
        xmlns:jaxb="https://jakarta.ee/xml/ns/jaxb" xmlns:xs="http://www.w3.org/2001/XMLSchema"
        xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:annox="urn:jaxb.jvnet.org:annox"
        xsi:schemaLocation="https://jakarta.ee/xml/ns/jaxb https://jakarta.ee/xml/ns/jaxb/bindingschema_3_0.xsd"
        jaxb:extensionBindingPrefixes="xjc annox"
        version="3.0">

    <jaxb:bindings schemaLocation="schema.xsd" node="/xs:schema">
        <jaxb:bindings node="xs:complexType[@name='issueJIIB39CType']">
            <annox:annotateClass>@jakarta.xml.bind.annotation.XmlRootElement(name="IssueJIIB39CType")</annox:annotateClass>
        </jaxb:bindings>
        <jaxb:bindings node="xs:complexType[@name='issueJIIB39CType']/xs:attribute[@name='test']">
            <annox:annotate target="field">@javax.xml.bind.annotation.XmlAttribute(required=false, name="test")</annox:annotate>
        </jaxb:bindings>
    </jaxb:bindings>

</jaxb:bindings>

You can use the following customization elements in the urn:jaxb.jvnet.org:annox namespace:

  • annotate with the optional target attribute
  • package
  • class
  • getter
  • setter
  • setter-parameter
  • field
  • enum-value-method
  • enum-fromValue-method
  • annotateProperty
  • annotatePackage
  • annotateClass
  • annotateElement
  • annotateEnum
  • annotateEnumConstant
  • annotateEnumValueMethod - annotate the value() method of the enum
  • annotateEnumFromValueMethod - annotate the fromValue(String) method of the enum

The urn:jaxb.jvnet.org:annox namespace must be declared in the jaxb:extensionBindingPrefixes attribute via prefix, ex.:

xmlns:annox="urn:jaxb.jvnet.org:annox"
jaxb:extensionBindingPrefixes="xjc annox"

Note: the previous http://annox.dev.java.net namespace is still supported but no longer exists. We decided to change this namespace but keep older one too to avoid breaking older builds. Please migrate to new namespace of the plugin urn:jaxb.jvnet.org:annox.

Removing annotations

  • Customize your schema using binding files or directly in schema
  • Add the plugin to the XJC classpath.
  • Activate the plugin using -XremoveAnnotation-switch.

You can remove annotations using customizations directly in schema:

<xsd:schema
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:jaxb="https://jakarta.ee/xml/ns/jaxb"
        jaxb:version="3.0"
        xmlns:annox="urn:jaxb.jvnet.org:annox"
        jaxb:extensionBindingPrefixes="annox">

    <xsd:complexType name="FooType">
        <xsd:annotation>
            <xsd:appinfo>
                <annox:removeAnnotation class="jakarta.xml.bind.annotation.XmlType" />
            </xsd:appinfo>
        </xsd:annotation>
        <xsd:sequence>
            <xsd:element name="bar" type="xsd:string"/>
            <xsd:element name="foobar" type="xsd:string">
                <xsd:annotation>
                    <xsd:appinfo>
                        <annox:removeAnnotation class="jakarta.xml.bind.annotation.XmlElement" target="field" />
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>

</xsd:schema>

Or in binding files:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<jaxb:bindings
        xmlns:jaxb="https://jakarta.ee/xml/ns/jaxb" xmlns:xs="http://www.w3.org/2001/XMLSchema"
        xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:annox="urn:jaxb.jvnet.org:annox"
        xsi:schemaLocation="https://jakarta.ee/xml/ns/jaxb https://jakarta.ee/xml/ns/jaxb/bindingschema_3_0.xsd"
        jaxb:extensionBindingPrefixes="xjc annox"
        version="3.0">

    <jaxb:bindings schemaLocation="schema.xsd" node="/xs:schema">
        <jaxb:bindings node="xs:complexType[@name='FooType']">
            <annox:removeAnnotation class="jakarta.xml.bind.annotation.XmlType" />
        </jaxb:bindings>
        <jaxb:bindings node="xs:complexType[@name='FooType']//xs:element[@name='foobar']">
            <annox:removeAnnotation class="jakarta.xml.bind.annotation.XmlElement" target="field" />
        </jaxb:bindings>
    </jaxb:bindings>

</jaxb:bindings>

You can use the following customization elements in the urn:jaxb.jvnet.org:annox namespace:

  • removeAnnotation with the optional target attribute:
  • package
  • class
  • getter
  • setter
  • setter-parameter
  • field
  • enum-value-method
  • enum-fromValue-method
  • removeAnnotationFromProperty
  • removeAnnotationFromPackage
  • removeAnnotationFromClass
  • removeAnnotationFromElement
  • removeAnnotationFromeEnum
  • removeAnnotationFromEnumConstant
  • removeAnnotationFromEnumValueMethod - removes annotation from the value() method of the enum
  • removeAnnotationFromEnumFromValueMethod - removes annotation from the fromValue(String) method of the enum

The urn:jaxb.jvnet.org:annox namespace must be declared in the jaxb:extensionBindingPrefixes attribute via prefix, ex.:

xmlns:annox="urn:jaxb.jvnet.org:annox"
jaxb:extensionBindingPrefixes="xjc annox"

Note: the previous http://annox.dev.java.net namespace is still supported but no longer exists. We decided to change this namespace but keep older one too to avoid breaking older builds. Please migrate to new namespace of the plugin urn:jaxb.jvnet.org:annox.

Using Annotate JAXB Plugin with Maven

  • Add org.jvnet.jaxb:jaxb-plugin-annotate as XJC plugin
  • Turn on the plugin using -Xannotate or -XremoveAnnotationswitch
  • Add artifact with your annotations as another XJC plugin

Example:

<plugin>
    <groupId>org.jvnet.jaxb</groupId>
    <artifactId>jaxb-maven-plugin</artifactId>
    <configuration>
        <extension>true</extension>
        <args>
            <arg>-Xannotate</arg>
            <arg>-XremoveAnnotation</arg>
        </args>
        <plugins>
            <plugin>
                <groupId>org.jvnet.jaxb</groupId>
                <artifactId>jaxb-plugin-annotate</artifactId>
            </plugin>
            <!-- Artifact with custom annotations -->
            <plugin>
                <groupId>com.acme.foo</groupId>
                <artifactId>my-custom-annotations</artifactId>
            </plugin>
        </plugins>
    </configuration>
</plugin>

See this example.

Note that annotations are first compiled in the annotations module and the added to the classpath of the jaxb-maven-plugin in the schema module:

Using JAXB Annotate Plugin with Ant

See this example.

JAXB Hyperjaxb

Hyperjaxb3 provides relational persistence for JAXB objects. This is preview feature (please give feedback if any problems).

jaxb-tools's People

Contributors

alb-i986 avatar andrealbinop avatar archenroot avatar arend-von-reinersdorff avatar bgedik avatar bixycler avatar brcolow avatar codecholeric avatar dawuid avatar dependabot[bot] avatar eusebiotrigo avatar hansjoachim avatar highsource avatar jspricke avatar laurentschoelens avatar marcphilipp avatar mattrpav avatar pethers avatar pronchakov avatar soc avatar stephan202 avatar taavipyry avatar tmarty avatar unaszole avatar vkrishnap avatar wuan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jaxb-tools's Issues

Only the first execution bloc works

Hello,

In my project, I have many XSD files (a.xsd, b.xsd, c.xsd, d.xsd, etc.) that represent my domain and I use the maven-jaxb2-plugin to generate the class files.

I also have another XSD file (xyz.xsd) that represents another part of my domain.

Therefore, in my pom.xml, i've setup 2 executions :

<plugin>
    <groupId>org.jvnet.jaxb2.maven2</groupId>
    <artifactId>maven-jaxb2-plugin</artifactId>
    <version>0.9.0</version>
    <executions>
        <execution>
            <id>xjc-schema-abcde</id>
            <goals>
                <goal>generate</goal>
            </goals>
            <configuration>
                <schemaExcludes>
                    <include>xyz.xsd</include>
                </schemaExcludes>
                <schemaDirectory>src/main/xsd</schemaDirectory>
                <bindingDirectory>src/main/xsd</bindingDirectory>
                <generatePackage>com.mycorp.foo</generatePackage>
                <bindingIncludes>
                    <include>bindings-1.xml</include>
                </bindingIncludes>
                <args>
                    <arg>-Xinheritance</arg>
                    <arg>-extension</arg>
                    <arg>-Xnamespace-prefix</arg>
                </args>
                <plugins>
                    <plugin>
                        <groupId>org.jvnet.jaxb2_commons</groupId>
                        <artifactId>jaxb2-basics</artifactId>
                        <version>0.8.4</version>
                    </plugin>
                    <plugin>
                        <groupId>org.jvnet.jaxb2_commons</groupId>
                        <artifactId>jaxb2-namespace-prefix</artifactId>
                        <version>1.1</version>
                    </plugin>
                </plugins>
            </configuration>
        </execution>

        <execution>
            <id>xjc-schema-xyz</id>
            <goals>
                <goal>generate</goal>
            </goals>
            <configuration>
                <schemaIncludes>
                    <include>xyz.xsd</include>
                </schemaIncludes>
                <schemaDirectory>src/main/xsd</schemaDirectory>
                <bindingDirectory>src/main/xsd</bindingDirectory>
                <generatePackage>net.acmee.xyz</generatePackage>
                <bindingIncludes>
                    <include>bindings-xyz.xml</include>
                </bindingIncludes>
                <args>
                    <arg>-Xinheritance</arg>
                    <arg>-extension</arg>
                    <arg>-Xnamespace-prefix</arg>
                </args>
                <plugins>
                    <plugin>
                        <groupId>org.jvnet.jaxb2_commons</groupId>
                        <artifactId>jaxb2-basics</artifactId>
                        <version>0.8.4</version>
                    </plugin>
                    <plugin>
                        <groupId>org.jvnet.jaxb2_commons</groupId>
                        <artifactId>jaxb2-namespace-prefix</artifactId>
                        <version>1.1</version>
                    </plugin>
                </plugins>
            </configuration>
        </execution>
    </executions>
</plugin>

I've tried each execution bloc separately and they both work. But when there is more than one execution bloc, only the first one is executed.

Did I write something wrong ?

Th.

Tested on Java 8, Maven 3

[v0.12.2] stax-ex 0.7.7 not in central

Hi,

The 0.12.2 version of maven-jaxb2-plugin tries to get stax-ex version 1.7.7, which is not present (yet?) on the maven central. Not sure if this is directly a bug of the packaging of maven-jaxb2-plugin or a transitive dependency (or even just a temporary problem until stax-ex is deployed on central) but just letting you know ;-)

When following instructions for multi-inherited catalogs keep getting unknown host exception from xjc

Created an oasis xml catalog with the rewriteSystem element replacing a bogus url with the maven: uri. Sample stack trace is below. Using jaxb-impl/api 2.2.7 and 0.11.0 of your plugin.

org.xml.sax.SAXParseException; systemId: file:/I:/workspace/infrastructure_maven/datatypes/src/main/resources/datatype.xsd; lineNumber: 7; columnNumber: 104; java.net.UnknownHostException: ssg.fusa.com
at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:349)
at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.importSchema(NGCCRuntimeEx.java:258)
at com.sun.xml.xsom.impl.parser.state.importDecl.action0(importDecl.java:85)
at com.sun.xml.xsom.impl.parser.state.importDecl.leaveElement(importDecl.java:183)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:314)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:570)
at com.sun.tools.xjc.util.SubtreeCutter.endElement(SubtreeCutter.java:112)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:570)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:570)
at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.endElement(CustomizationContextChecker.java:199)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:570)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:570)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:570)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:183)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:355)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2770)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
at com.sun.xml.xsom.parser.JAXPParser.parse(JAXPParser.java:94)
at com.sun.tools.xjc.ModelLoader$2.parse(ModelLoader.java:497)
at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:269)
at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:347)
at com.sun.xml.xsom.impl.parser.ParserContext.parse(ParserContext.java:128)
at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:168)
at com.sun.tools.xjc.ModelLoader.createXSOMSpeculative(ModelLoader.java:514)
at com.sun.tools.xjc.ModelLoader.loadXMLSchema(ModelLoader.java:369)
at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:174)
at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:119)
at org.jvnet.mjiip.v_2_2.XJC22Mojo.loadModel(XJC22Mojo.java:50)
at org.jvnet.mjiip.v_2_2.XJC22Mojo.doExecute(XJC22Mojo.java:40)
at org.jvnet.mjiip.v_2_2.XJC22Mojo.doExecute(XJC22Mojo.java:28)
at org.jvnet.jaxb2.maven2.RawXJC2Mojo.doExecute(RawXJC2Mojo.java:326)
at org.jvnet.jaxb2.maven2.RawXJC2Mojo.execute(RawXJC2Mojo.java:168)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
at org.codehaus.classworlds.Launcher.main(Launcher.java:46)
Caused by: java.net.UnknownHostException: ssg.fusa.com
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:996)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:850)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:637)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
at com.sun.xml.xsom.parser.JAXPParser.parse(JAXPParser.java:94)
at com.sun.tools.xjc.ModelLoader$2.parse(ModelLoader.java:497)
at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:269)
at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:347)
... 62 more

Generate Java Src into same folder with multiple schemas

hello,
If I generate a package that is coming from first schema into a folder /destination
If this first schema is in package de.package.exp

If I generate a package that is coming from second schema into a folder /destination
If this second schema is in package de.package.imp

Then it generate only the first one. The second and other will be ignored.

The Java definition of packages /de/package/* must have the same folder as parent folder.

Format and destination folder is the same of both. That's the problem. If I put schema2 into on other goal then it is working correctly. That's difficult to handleable with maven phases and goals. 'generate' is the correct point.

Once more on top. This is also working correctly if I put the destination folder into generateDirectory:

'${basedir}/src/main/java'

But it's not working at the second++ execution(s) in other destination folders out of generateDirectory basedir.

Anybody a solution for that?

No upgrade of java 1.6 possible.

<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>0.8.3</version>
<executions>
    <execution>
        <id>schema1</id>
        <phase>generate-sources</phase>
        <goals>
            <goal>generate</goal>
        </goals>
        <configuration>
            <encoding>UTF8</encoding>
            <schemaIncludes>
                <include>schema1.xsd</include>
            </schemaIncludes>
            <generatePackage>de.package.exp</generatePackage>
            <generateDirectory>${project.build.directory}/target/generated</generateDirectory>
        </configuration>
    </execution>
    <execution>
        <id>schema2</id>
        <phase>generate-sources</phase>
        <goals>
            <goal>generate</goal>
        </goals>
        <configuration>
            <encoding>UTF8</encoding>
            <schemaIncludes>
                <include>schema2.xsd</include>
            </schemaIncludes>
            <generatePackage>de.package.imp</generatePackage>
            <generateDirectory>${project.build.directory}/target/generated</generateDirectory>
        </configuration>
    </execution>
</executions>

Best Regards
Sail

Validating maven artifact actuality

maven-jaxb2-plugin doesn't check actuality of maven dependency, so when I have those configuration:

 <plugin>
        <groupId>org.jvnet.jaxb2.maven2</groupId>
        <artifactId>maven-jaxb2-plugin</artifactId>
        <version>${maven-jaxb2-plugin.version}</version>
        <executions>
            <execution>
                <goals>
                    <goal>generate</goal>
                </goals>
            </execution>
        </executions>
        <configuration>
            <schemas>
                <schema>
                    <dependencyResource>
                        <groupId>some.group</groupId>
                        <artifactId>some.artifact</artifactId>
                        <version>${project.version}</version>
                        <resource>some.xsd</resource>
                    </dependencyResource>
                </schema>
            </schemas>
            <generatePackage>some.package</generatePackage>
            <generateDirectory>src/main/gen</generateDirectory>
            <forceRegenerate>false</forceRegenerate>
        </configuration>
    </plugin>

and I change something in XSD, those classes are not automatically regenerated. On the other hand when I change forceRegenerate property to true, Eclipse is endless regenerating those classes in infinitive loop.

That would be some great feature, to check that actuality.

The eclipse incremental build constantly running.

<modelVersion>4.0.0</modelVersion>

<artifactId>complianceHistoryV1-schema</artifactId>

<parent>
    <groupId>com.arccorp.services.asr</groupId>
    <artifactId>asr-model</artifactId>
    <version>20150113-SNAPSHOT</version>
</parent>

<build>
    <plugins>
        <plugin>
            <groupId>org.jvnet.jaxb2.maven2</groupId>
            <artifactId>maven-jaxb22-plugin</artifactId>
            <executions>
                <execution>
                    <id>complianceHistoryV1-schema</id>
                    <goals>
                        <goal>generate</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <!-- <debug>true</debug> 
                <verbose>true</verbose>-->
                <useDependenciesAsEpisodes>true</useDependenciesAsEpisodes> 
                <catalog>src/main/resources/catalog.cat</catalog>
            </configuration>
        </plugin>
        <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>build-helper-maven-plugin</artifactId>
            <executions>
                <execution>
                    <id>add-source</id>
                    <phase>generate-sources</phase>
                    <goals>
                        <goal>add-source</goal>
                    </goals>
                    <configuration>
                        <sources>
                            <source>${project.build.directory}/generated-sources/xjc/</source>
                        </sources>
                    </configuration>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>
<dependencies>
    <dependency>
        <groupId>com.arccorp.services.framework</groupId>
        <artifactId>componentV1-schema</artifactId>
        <type>jar</type>
    </dependency>
    <dependency>
        <groupId>com.arccorp.services.asr</groupId>
        <artifactId>complianceV1-schema</artifactId>
        <version>20150113-SNAPSHOT</version>
    </dependency>
</dependencies>

3/16/15, 10:36:13 AM EDT: [INFO] Up-to-date check for source resources [[file:/C:/Java/git/asr-model/complianceHistoryV1-schema/src/main/resources/catalog.cat, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/src/main/resources/complianceHistoryV1.xsd, file:/C:/Java/git/services-framework/componentV1-schema/target/classes/META-INF/sun-jaxb.episode, file:/C:/Java/git/asr-model/complianceV1-schema/target/classes/META-INF/sun-jaxb.episode, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/pom.xml]] and taret resources [[file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/CompareHistoryRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/CompareHistoryResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/Entity.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMetadataRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMetadataResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMultipleRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMultipleResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/ObjectFactory.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/package-info.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ChangeRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ChangeResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/CreateRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/CreateResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/DeleteRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/DeleteResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/Entity.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMetadataRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMetadataResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMultipleRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMultipleResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ObjectFactory.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/package-info.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/META-INF/sun-jaxb.episode]].
3/16/15, 10:36:13 AM EDT: [INFO] Latest timestamp of the source resources is [2015-03-16 10:32:13.295], ealiest timestamp of the target resources is [2015-03-16 10:32:12.328].
3/16/15, 10:36:13 AM EDT: [INFO] Sources are not up-to-date, XJC will be executed.
3/16/15, 10:36:13 AM EDT: [INFO] Source directory: C:\Java\git\asr-model\complianceHistoryV1-schema\target\generated-sources\xjc added.
3/16/15, 10:36:13 AM EDT: [INFO] Using 'UTF-8' encoding to copy filtered resources.
3/16/15, 10:36:13 AM EDT: [INFO] Copying 2 resources
3/16/15, 10:36:13 AM EDT: [INFO] Copying 1 resource
3/16/15, 10:36:13 AM EDT: [INFO] Not copying test resources
3/16/15, 10:36:15 AM EDT: [INFO] Up-to-date check for source resources [[file:/C:/Java/git/asr-model/complianceHistoryV1-schema/src/main/resources/catalog.cat, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/src/main/resources/complianceHistoryV1.xsd, file:/C:/Java/git/services-framework/componentV1-schema/target/classes/META-INF/sun-jaxb.episode, file:/C:/Java/git/asr-model/complianceV1-schema/target/classes/META-INF/sun-jaxb.episode, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/pom.xml]] and taret resources [[file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/CompareHistoryRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/CompareHistoryResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/Entity.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMetadataRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMetadataResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMultipleRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMultipleResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/ObjectFactory.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/package-info.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ChangeRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ChangeResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/CreateRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/CreateResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/DeleteRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/DeleteResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/Entity.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMetadataRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMetadataResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMultipleRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMultipleResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ObjectFactory.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/package-info.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/META-INF/sun-jaxb.episode]].
3/16/15, 10:36:15 AM EDT: [INFO] Latest timestamp of the source resources is [2015-03-16 10:32:13.295], ealiest timestamp of the target resources is [2015-03-16 10:32:12.328].
3/16/15, 10:36:15 AM EDT: [INFO] Sources are not up-to-date, XJC will be executed.
3/16/15, 10:36:15 AM EDT: [INFO] Source directory: C:\Java\git\asr-model\complianceHistoryV1-schema\target\generated-sources\xjc added.
3/16/15, 10:36:15 AM EDT: [INFO] Using 'UTF-8' encoding to copy filtered resources.
3/16/15, 10:36:15 AM EDT: [INFO] Copying 2 resources
3/16/15, 10:36:15 AM EDT: [INFO] Copying 1 resource
3/16/15, 10:36:15 AM EDT: [INFO] Not copying test resources
3/16/15, 10:36:17 AM EDT: [INFO] Up-to-date check for source resources [[file:/C:/Java/git/asr-model/complianceHistoryV1-schema/src/main/resources/catalog.cat, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/src/main/resources/complianceHistoryV1.xsd, file:/C:/Java/git/services-framework/componentV1-schema/target/classes/META-INF/sun-jaxb.episode, file:/C:/Java/git/asr-model/complianceV1-schema/target/classes/META-INF/sun-jaxb.episode, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/pom.xml]] and taret resources [[file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/CompareHistoryRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/CompareHistoryResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/Entity.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMetadataRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMetadataResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMultipleRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMultipleResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/ObjectFactory.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/package-info.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ChangeRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ChangeResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/CreateRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/CreateResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/DeleteRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/DeleteResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/Entity.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMetadataRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMetadataResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMultipleRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMultipleResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ObjectFactory.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/package-info.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/META-INF/sun-jaxb.episode]].
3/16/15, 10:36:17 AM EDT: [INFO] Latest timestamp of the source resources is [2015-03-16 10:32:13.295], ealiest timestamp of the target resources is [2015-03-16 10:32:12.328].
3/16/15, 10:36:17 AM EDT: [INFO] Sources are not up-to-date, XJC will be executed.
3/16/15, 10:36:18 AM EDT: [INFO] Source directory: C:\Java\git\asr-model\complianceHistoryV1-schema\target\generated-sources\xjc added.
3/16/15, 10:36:18 AM EDT: [INFO] Using 'UTF-8' encoding to copy filtered resources.
3/16/15, 10:36:18 AM EDT: [INFO] Copying 2 resources
3/16/15, 10:36:18 AM EDT: [INFO] Copying 1 resource
3/16/15, 10:36:18 AM EDT: [INFO] Not copying test resources
3/16/15, 10:36:20 AM EDT: [INFO] Up-to-date check for source resources [[file:/C:/Java/git/asr-model/complianceHistoryV1-schema/src/main/resources/catalog.cat, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/src/main/resources/complianceHistoryV1.xsd, file:/C:/Java/git/services-framework/componentV1-schema/target/classes/META-INF/sun-jaxb.episode, file:/C:/Java/git/asr-model/complianceV1-schema/target/classes/META-INF/sun-jaxb.episode, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/pom.xml]] and taret resources [[file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/CompareHistoryRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/CompareHistoryResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/Entity.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMetadataRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMetadataResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMultipleRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMultipleResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/ObjectFactory.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/package-info.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ChangeRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ChangeResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/CreateRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/CreateResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/DeleteRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/DeleteResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/Entity.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMetadataRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMetadataResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMultipleRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMultipleResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ObjectFactory.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/package-info.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/META-INF/sun-jaxb.episode]].
3/16/15, 10:36:20 AM EDT: [INFO] Latest timestamp of the source resources is [2015-03-16 10:32:13.295], ealiest timestamp of the target resources is [2015-03-16 10:32:12.328].
3/16/15, 10:36:20 AM EDT: [INFO] Sources are not up-to-date, XJC will be executed.
3/16/15, 10:36:20 AM EDT: [INFO] Source directory: C:\Java\git\asr-model\complianceHistoryV1-schema\target\generated-sources\xjc added.
3/16/15, 10:36:20 AM EDT: [INFO] Using 'UTF-8' encoding to copy filtered resources.
3/16/15, 10:36:20 AM EDT: [INFO] Copying 2 resources
3/16/15, 10:36:20 AM EDT: [INFO] Copying 1 resource
3/16/15, 10:36:20 AM EDT: [INFO] Not copying test resources
3/16/15, 10:36:22 AM EDT: [INFO] Up-to-date check for source resources [[file:/C:/Java/git/asr-model/complianceHistoryV1-schema/src/main/resources/catalog.cat, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/src/main/resources/complianceHistoryV1.xsd, file:/C:/Java/git/services-framework/componentV1-schema/target/classes/META-INF/sun-jaxb.episode, file:/C:/Java/git/asr-model/complianceV1-schema/target/classes/META-INF/sun-jaxb.episode, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/pom.xml]] and taret resources [[file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/CompareHistoryRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/CompareHistoryResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/Entity.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMetadataRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMetadataResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMultipleRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMultipleResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/ObjectFactory.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/package-info.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ChangeRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ChangeResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/CreateRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/CreateResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/DeleteRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/DeleteResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/Entity.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMetadataRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMetadataResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMultipleRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMultipleResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ObjectFactory.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/package-info.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/META-INF/sun-jaxb.episode]].
3/16/15, 10:36:22 AM EDT: [INFO] Latest timestamp of the source resources is [2015-03-16 10:32:13.295], ealiest timestamp of the target resources is [2015-03-16 10:32:12.328].
3/16/15, 10:36:22 AM EDT: [INFO] Sources are not up-to-date, XJC will be executed.
3/16/15, 10:36:22 AM EDT: [INFO] Source directory: C:\Java\git\asr-model\complianceHistoryV1-schema\target\generated-sources\xjc added.
3/16/15, 10:36:22 AM EDT: [INFO] Using 'UTF-8' encoding to copy filtered resources.
3/16/15, 10:36:22 AM EDT: [INFO] Copying 2 resources
3/16/15, 10:36:22 AM EDT: [INFO] Copying 1 resource
3/16/15, 10:36:22 AM EDT: [INFO] Not copying test resources
3/16/15, 10:36:24 AM EDT: [INFO] Up-to-date check for source resources [[file:/C:/Java/git/asr-model/complianceHistoryV1-schema/src/main/resources/catalog.cat, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/src/main/resources/complianceHistoryV1.xsd, file:/C:/Java/git/services-framework/componentV1-schema/target/classes/META-INF/sun-jaxb.episode, file:/C:/Java/git/asr-model/complianceV1-schema/target/classes/META-INF/sun-jaxb.episode, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/pom.xml]] and taret resources [[file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/CompareHistoryRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/CompareHistoryResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/Entity.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMetadataRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMetadataResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMultipleRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMultipleResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/ObjectFactory.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/package-info.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ChangeRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ChangeResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/CreateRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/CreateResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/DeleteRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/DeleteResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/Entity.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMetadataRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMetadataResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMultipleRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMultipleResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ObjectFactory.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/package-info.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/META-INF/sun-jaxb.episode]].
3/16/15, 10:36:24 AM EDT: [INFO] Latest timestamp of the source resources is [2015-03-16 10:32:13.295], ealiest timestamp of the target resources is [2015-03-16 10:32:12.328].
3/16/15, 10:36:24 AM EDT: [INFO] Sources are not up-to-date, XJC will be executed.
3/16/15, 10:36:24 AM EDT: [INFO] Source directory: C:\Java\git\asr-model\complianceHistoryV1-schema\target\generated-sources\xjc added.
3/16/15, 10:36:24 AM EDT: [INFO] Using 'UTF-8' encoding to copy filtered resources.
3/16/15, 10:36:24 AM EDT: [INFO] Copying 2 resources
3/16/15, 10:36:24 AM EDT: [INFO] Copying 1 resource
3/16/15, 10:36:24 AM EDT: [INFO] Not copying test resources
3/16/15, 10:36:26 AM EDT: [INFO] Up-to-date check for source resources [[file:/C:/Java/git/asr-model/complianceHistoryV1-schema/src/main/resources/catalog.cat, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/src/main/resources/complianceHistoryV1.xsd, file:/C:/Java/git/services-framework/componentV1-schema/target/classes/META-INF/sun-jaxb.episode, file:/C:/Java/git/asr-model/complianceV1-schema/target/classes/META-INF/sun-jaxb.episode, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/pom.xml]] and taret resources [[file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/CompareHistoryRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/CompareHistoryResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/Entity.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMetadataRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMetadataResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMultipleRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMultipleResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/ObjectFactory.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/package-info.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ChangeRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ChangeResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/CreateRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/CreateResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/DeleteRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/DeleteResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/Entity.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMetadataRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMetadataResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMultipleRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMultipleResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ObjectFactory.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/package-info.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/META-INF/sun-jaxb.episode]].
3/16/15, 10:36:26 AM EDT: [INFO] Latest timestamp of the source resources is [2015-03-16 10:32:13.295], ealiest timestamp of the target resources is [2015-03-16 10:32:12.328].
3/16/15, 10:36:26 AM EDT: [INFO] Sources are not up-to-date, XJC will be executed.
3/16/15, 10:36:27 AM EDT: [INFO] Source directory: C:\Java\git\asr-model\complianceHistoryV1-schema\target\generated-sources\xjc added.
3/16/15, 10:36:27 AM EDT: [INFO] Using 'UTF-8' encoding to copy filtered resources.
3/16/15, 10:36:27 AM EDT: [INFO] Copying 2 resources
3/16/15, 10:36:27 AM EDT: [INFO] Copying 1 resource
3/16/15, 10:36:27 AM EDT: [INFO] Not copying test resources
3/16/15, 10:36:29 AM EDT: [INFO] Up-to-date check for source resources [[file:/C:/Java/git/asr-model/complianceHistoryV1-schema/src/main/resources/catalog.cat, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/src/main/resources/complianceHistoryV1.xsd, file:/C:/Java/git/services-framework/componentV1-schema/target/classes/META-INF/sun-jaxb.episode, file:/C:/Java/git/asr-model/complianceV1-schema/target/classes/META-INF/sun-jaxb.episode, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/pom.xml]] and taret resources [[file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/CompareHistoryRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/CompareHistoryResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/Entity.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMetadataRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMetadataResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMultipleRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetMultipleResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/GetResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/ObjectFactory.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancehistoryv1/package-info.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ChangeRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ChangeResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/CreateRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/CreateResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/DeleteRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/DeleteResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/Entity.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMetadataRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMetadataResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMultipleRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetMultipleResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetRequest.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/GetResponse.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/ObjectFactory.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/com/arccorp/schemas/services/airlinesalesreporting/compliancev1/package-info.java, file:/C:/Java/git/asr-model/complianceHistoryV1-schema/target/generated-sources/xjc/META-INF/sun-jaxb.episode]].
3/16/15, 10:36:29 AM EDT: [INFO] Latest timestamp of the source resources is [2015-03-16 10:32:13.295], ealiest timestamp of the target resources is [2015-03-16 10:32:12.328].
3/16/15, 10:36:29 AM EDT: [INFO] Sources are not up-to-date, XJC will be executed.
3/16/15, 10:36:29 AM EDT: [INFO] Source directory: C:\Java\git\asr-model\complianceHistoryV1-schema\target\generated-sources\xjc added.
3/16/15, 10:36:29 AM EDT: [INFO] Using 'UTF-8' encoding to copy filtered resources.
3/16/15, 10:36:29 AM EDT: [INFO] Copying 2 resources
3/16/15, 10:36:29 AM EDT: [INFO] Copying 1 resource
3/16/15, 10:36:29 AM EDT: [INFO] Not copying test resources

Handles differently main and test compilation

Hi,

I noticed that when using two executions of the plugin in the same project, one for the main code and the other for the test code, it is necessary to redefine many options such as:
addCompileSourceRoot
addTestCompileSourceRoot
schemaDirectory
generateDirectory

And maybe others in special cases.
In particular, not changing the generateDirectory in the test case makes the directory to be used in both cases and classes are mixed altogether.

It would be relevant to have two goals : generate and generate-test respectively bound to generate-sources and generate-test-sources, with generated-sources and generated-test-sources directories as output directories, and correctly configured with respect to maven project directories.

Unable to parse input schema(s)

Hi
any ideas?
we have a builder system without web connection
thanks in advance
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.532 s
[INFO] Finished at: 2015-03-25T02:22:55+00:00
[INFO] Final Memory: 41M/492M
[INFO] ------------------------------------------------------------------------
[DEBUG] Full XMvn dependency report:
[DEBUG] ::[::] => , provided by ()
[DEBUG] net.java:jvnet-parent:pom:4 => null, provided by jvnet-parent (4)
[DEBUG] org.apache.felix:maven-bundle-plugin:pom:2.3.6 => null, provided by (none)
[DEBUG] biz.aQute:bndlib:pom:1.50.0 => null, provided by (none)
[DEBUG] net.sf.kxml:kxml2:pom:2.2.2 => null, provided by kxml (2.3.0)
[DEBUG] org.apache.felix:org.apache.felix.bundlerepository:pom:1.6.6 => null, provided by (none)
[DEBUG] xpp3:xpp3:pom:1.1.3.4.O => null, provided by xpp3 (1.1.4)
[DEBUG] org.apache.felix:org.apache.felix.utils:pom:1.1.0 => null, provided by (none)
[DEBUG] org.osgi:org.osgi.core:pom:4.1.0 => null, provided by (none)
[DEBUG] org.osgi:org.osgi.compendium:pom:4.2.0 => null, provided by (none)
[DEBUG] org.apache.felix:org.osgi.core:pom:1.4.0 => null, provided by (none)
[DEBUG] javax.servlet:javax.servlet-api:pom:1.0.0 => null, provided by (none)
[DEBUG] org.apache.felix:org.osgi.foundation:pom:1.2.0 => null, provided by (none)
[DEBUG] org.apache.felix:org.osgi.service.obr:pom:1.0.2 => null, provided by (none)
[DEBUG] org.apache.felix:org.osgi.core:pom:1.0.1 => null, provided by (none)
[DEBUG] org.apache.felix:org.apache.felix.shell:pom:1.4.1 => null, provided by (none)
[DEBUG] org.osgi:org.osgi.compendium:pom:4.0.0 => null, provided by (none)
[DEBUG] net.sf.kxml:kxml2:pom:2.3.0 => null, provided by kxml (2.3.0)
[DEBUG] org.codehaus.woodstox:woodstox-core-asl:pom:4.0.7 => null, provided by (none)
[DEBUG] org.codehaus.woodstox:stax2-api:pom:3.1.4 => null, provided by (none)
[DEBUG] org.apache.maven:maven-core:pom:2.0.7 => null, provided by (none)
[DEBUG] org.apache.maven:maven-model:pom:3.3.1 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-utils:pom:3.0.20 => null, provided by (none)
[DEBUG] org.apache.maven:maven-settings:pom:3.3.1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-settings-builder:pom:3.3.1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-builder-support:pom:3.3.1 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-interpolation:pom:1.21 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-component-annotations:pom:1.5.5 => null, provided by (none)
[DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:pom:1.3 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-utils:pom:2.0.5 => null, provided by (none)
[DEBUG] org.sonatype.plexus:plexus-cipher:pom:1.4 => null, provided by (none)
[DEBUG] org.apache.maven:maven-repository-metadata:pom:3.3.1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-artifact:pom:3.3.1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-plugin-api:pom:3.3.1 => null, provided by (none)
[DEBUG] org.eclipse.sisu:org.eclipse.sisu.plexus:pom:0.3.0 => null, provided by (none)
[DEBUG] org.eclipse.sisu:org.eclipse.sisu.inject:pom:0.3.0 => null, provided by (none)
[DEBUG] org.ow2.asm:asm:pom:any => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-utils:pom:3.0.17 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-classworlds:pom:2.5.2 => null, provided by (none)
[DEBUG] org.apache.maven:maven-model-builder:pom:3.3.1 => null, provided by (none)
[DEBUG] com.google.guava:guava:pom:18.0 => null, provided by (none)
[DEBUG] com.google.code.findbugs:jsr305:pom:1.3.9 => null, provided by (none)
[DEBUG] org.apache.maven:maven-aether-provider:pom:3.3.1 => null, provided by (none)
[DEBUG] org.eclipse.aether:aether-api:pom:1.0.2.v20150114 => null, provided by (none)
[DEBUG] org.eclipse.aether:aether-spi:pom:1.0.2.v20150114 => null, provided by (none)
[DEBUG] org.eclipse.aether:aether-util:pom:1.0.2.v20150114 => null, provided by (none)
[DEBUG] org.eclipse.aether:aether-impl:pom:1.0.2.v20150114 => null, provided by (none)
[DEBUG] org.sonatype.sisu:sisu-guice:pom:3.2.5 => null, provided by (none)
[DEBUG] javax.inject:javax.inject:pom:1 => null, provided by (none)
[DEBUG] aopalliance:aopalliance:pom:1.0 => null, provided by aopalliance (1.0)
[DEBUG] com.google.guava:guava:pom:16.0.1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-archiver:pom:2.4.1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-core:pom:2.2.1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-artifact:pom:2.2.1 => 2.2.1, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-utils:pom:1.5.15 => null, provided by (none)
[DEBUG] org.apache.maven:maven-model:pom:2.2.1 => 2.2.1, provided by (none)
[DEBUG] org.apache.maven.shared:maven-shared-utils:pom:0.7 => null, provided by (none)
[DEBUG] commons-io:commons-io:pom:2.2 => null, provided by (none)
[DEBUG] com.google.code.findbugs:jsr305:pom:2.0.1 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-archiver:pom:2.8.1 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-io:pom:2.3.3 => null, provided by (none)
[DEBUG] org.apache.commons:commons-compress:pom:1.9 => null, provided by (none)
[DEBUG] org.tukaani:xz:pom:1.5 => null, provided by xz-java (1.5)
[DEBUG] org.apache.maven.shared:maven-dependency-tree:pom:1.2 => null, provided by (none)
[DEBUG] org.eclipse.aether:aether-api:pom:0.9.0.M2 => null, provided by (none)
[DEBUG] org.eclipse.aether:aether-util:pom:0.9.0.M2 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-utils:pom:2.1 => null, provided by (none)
[DEBUG] org.apache.felix:maven-bundle-plugin:jar:2.3.6 => null, provided by maven-plugin-bundle (2.3.7)
[DEBUG] biz.aQute:bndlib:jar:1.50.0 => null, provided by aqute-bndlib (1.50.0)
[DEBUG] net.sf.kxml:kxml2:jar:2.2.2 => null, provided by kxml (2.3.0)
[DEBUG] org.apache.felix:org.apache.felix.bundlerepository:jar:1.6.6 => null, provided by felix-bundlerepository (1.6.6)
[DEBUG] xpp3:xpp3:jar:1.1.3.4.O => null, provided by xpp3 (1.1.4)
[DEBUG] org.apache.felix:org.apache.felix.utils:jar:1.1.0 => null, provided by felix-utils (1.8.0)
[DEBUG] org.apache.felix:org.osgi.service.obr:jar:1.0.2 => null, provided by felix-osgi-obr (1.0.2)
[DEBUG] org.apache.felix:org.osgi.core:jar:1.0.1 => null, provided by felix-osgi-core (1.4.0)
[DEBUG] org.apache.felix:org.apache.felix.shell:jar:1.4.1 => null, provided by felix-shell (1.4.3)
[DEBUG] org.osgi:org.osgi.compendium:jar:4.0.0 => null, provided by felix-osgi-compendium (1.4.0)
[DEBUG] javax.servlet:javax.servlet-api:jar:1.0.0 => null, provided by glassfish-servlet-api (3.1.0)
[DEBUG] org.apache.felix:org.osgi.foundation:jar:1.2.0 => null, provided by felix-osgi-foundation (1.2.0)
[DEBUG] org.osgi:org.osgi.core:jar:4.1.0 => null, provided by felix-osgi-core (1.4.0)
[DEBUG] org.codehaus.woodstox:woodstox-core-asl:jar:4.0.7 => null, provided by woodstox-core (5.0.0)
[DEBUG] org.codehaus.woodstox:stax2-api:jar:3.1.4 => null, provided by stax2-api (3.1.4)
[DEBUG] org.apache.maven:maven-core:jar:2.0.7 => null, provided by maven (3.3.1)
[DEBUG] org.apache.maven:maven-model:jar:3.3.1 => null, provided by maven (3.3.1)
[DEBUG] org.apache.maven:maven-settings:jar:3.3.1 => null, provided by maven (3.3.1)
[DEBUG] org.apache.maven:maven-settings-builder:jar:3.3.1 => null, provided by maven (3.3.1)
[DEBUG] org.apache.maven:maven-builder-support:jar:3.3.1 => null, provided by maven (3.3.1)
[DEBUG] org.apache.maven:maven-repository-metadata:jar:3.3.1 => null, provided by maven (3.3.1)
[DEBUG] org.apache.maven:maven-artifact:jar:3.3.1 => null, provided by maven (3.3.1)
[DEBUG] org.apache.maven:maven-plugin-api:jar:3.3.1 => null, provided by maven (3.3.1)
[DEBUG] org.apache.maven:maven-model-builder:jar:3.3.1 => null, provided by maven (3.3.1)
[DEBUG] com.google.guava:guava:jar:18.0 => null, provided by guava (18.0)
[DEBUG] org.apache.maven:maven-aether-provider:jar:3.3.1 => null, provided by maven (3.3.1)
[DEBUG] org.eclipse.aether:aether-spi:jar:1.0.2.v20150114 => null, provided by aether-spi (1.0.2)
[DEBUG] org.eclipse.aether:aether-impl:jar:1.0.2.v20150114 => null, provided by aether-impl (1.0.2)
[DEBUG] org.eclipse.aether:aether-api:jar:1.0.2.v20150114 => null, provided by aether-api (1.0.2)
[DEBUG] org.eclipse.aether:aether-util:jar:1.0.2.v20150114 => null, provided by aether-util (1.0.2)
[DEBUG] org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.0 => null, provided by sisu-plexus (0.3.0)
[DEBUG] org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.0 => null, provided by sisu-inject (0.3.0)
[DEBUG] org.ow2.asm:asm:jar:any => null, provided by objectweb-asm (5.0.3)
[DEBUG] org.sonatype.sisu:sisu-guice:jar:no_aop:3.2.5 => null, provided by google-guice (3.2.5)
[DEBUG] javax.inject:javax.inject:jar:1 => null, provided by atinject (1)
[DEBUG] aopalliance:aopalliance:jar:1.0 => null, provided by aopalliance (1.0)
[DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.21 => null, provided by plexus-interpolation (1.22)
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.5.2 => null, provided by plexus-classworlds (2.5.2)
[DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.5.5 => null, provided by plexus-containers-component-annotations (1.6)
[DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3 => null, provided by plexus-sec-dispatcher (1.4)
[DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4 => null, provided by plexus-cipher (1.7)
[DEBUG] org.apache.maven:maven-archiver:jar:2.4.1 => null, provided by maven-archiver (2.6)
[DEBUG] org.apache.maven.shared:maven-shared-utils:jar:0.7 => null, provided by maven-shared-utils (0.7)
[DEBUG] commons-io:commons-io:jar:2.2 => null, provided by apache-commons-io (2.4)
[DEBUG] com.google.code.findbugs:jsr305:jar:2.0.1 => null, provided by jsr-305 (0)
[DEBUG] org.codehaus.plexus:plexus-archiver:jar:2.8.1 => null, provided by plexus-archiver (2.8.2)
[DEBUG] org.codehaus.plexus:plexus-io:jar:2.3.3 => null, provided by plexus-io (2.3.3)
[DEBUG] org.apache.commons:commons-compress:jar:1.9 => null, provided by apache-commons-compress (1.9)
[DEBUG] org.tukaani:xz:jar:1.5 => null, provided by xz-java (1.5)
[DEBUG] org.apache.maven.shared:maven-dependency-tree:jar:1.2 => null, provided by maven-dependency-tree (2.2)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:2.1 => null, provided by plexus-utils (3.0.18)
[DEBUG] org.fedoraproject.xmvn:xmvn-mojo:jar:SYSTEM => SYSTEM, provided by xmvn-mojo (2.3.2)
[DEBUG] org.fedoraproject.xmvn:xmvn-mojo:pom:SYSTEM => SYSTEM, provided by (none)
[DEBUG] org.apache.maven.plugins:maven-javadoc-plugin:jar:SYSTEM => SYSTEM, provided by maven-javadoc-plugin (2.10.2)
[DEBUG] org.apache.maven.plugins:maven-javadoc-plugin:pom:SYSTEM => SYSTEM, provided by (none)
[DEBUG] org.codehaus.mojo:build-helper-maven-plugin:pom:1.7 => null, provided by (none)
[DEBUG] org.codehaus.mojo:build-helper-maven-plugin:jar:1.7 => null, provided by maven-plugin-build-helper (1.9.1)
[DEBUG] com.sun.istack:istack-commons-maven-plugin:pom:2.4 => null, provided by (none)
[DEBUG] com.sun.istack:istack-commons-maven-plugin:jar:2.4 => null, provided by istack-commons-maven-plugin (2.21)
[DEBUG] org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 => null, provided by (none)
[DEBUG] org.apache.maven.plugins:maven-resources-plugin:jar:2.4.3 => null, provided by maven-resources-plugin (2.7)
[DEBUG] org.apache.maven.plugins:maven-compiler-plugin:pom:2.3 => null, provided by (none)
[DEBUG] org.apache.maven.plugins:maven-compiler-plugin:jar:2.3 => null, provided by maven-compiler-plugin (3.2)
[DEBUG] org.apache.maven.plugins:maven-surefire-plugin:pom:2.8 => null, provided by (none)
[DEBUG] org.apache.maven.plugins:maven-surefire-plugin:jar:2.8 => null, provided by maven-surefire-plugin (2.17)
[DEBUG] org.apache.maven.plugins:maven-jar-plugin:pom:2.2 => null, provided by (none)
[DEBUG] org.apache.maven.plugins:maven-jar-plugin:jar:2.2 => null, provided by maven-jar-plugin (2.6)
[DEBUG] javax.ws.rs:jsr311-api:pom:1.1.1 => null, provided by (none)
[DEBUG] javax.mail:mail:pom:1.4 => null, provided by (none)
[DEBUG] javax.xml.bind:jaxb-api:pom:2.1 => null, provided by (none)
[DEBUG] org.osgi:org.osgi.core:pom:4.2.0 => null, provided by (none)
[DEBUG] junit:junit:pom:4.8.2 => null, provided by (none)
[DEBUG] org.hamcrest:hamcrest-core:pom:1.3 => null, provided by hamcrest-core (1.3)
[DEBUG] org.hamcrest:hamcrest-parent:pom:1.3 => null, provided by hamcrest-core (1.3)
[DEBUG] javax.ws.rs:jsr311-api:jar:1.1.1 => null, provided by jsr-311 (1.1.1)
[DEBUG] javax.mail:mail:jar:1.4 => null, provided by javamail (1.5.2)
[DEBUG] javax.xml.bind:jaxb-api:jar:2.1 => null, provided by glassfish-jaxb-api (2.2.12)
[DEBUG] org.osgi:org.osgi.core:jar:4.2.0 => null, provided by felix-osgi-core (1.4.0)
[DEBUG] junit:junit:jar:4.8.2 => null, provided by junit (4.12)
[DEBUG] org.hamcrest:hamcrest-core:jar:1.3 => null, provided by hamcrest-core (1.3)
[DEBUG] org.apache.maven:maven-compat:pom:any => null, provided by (none)
[DEBUG] org.apache.maven:maven-core:pom:3.3.1 => null, provided by (none)
[DEBUG] org.apache.maven.wagon:wagon-provider-api:pom:2.8 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-utils:pom:3.0.15 => null, provided by (none)
[DEBUG] org.apache.maven:maven-project:pom:2.2.1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-settings:pom:2.2.1 => 2.2.1, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-interpolation:pom:1.11 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-container-default:pom:1.0-alpha-9-stable-1 => null, provided by (none)
[DEBUG] org.ow2.asm:asm-commons:pom:5.0.3 => null, provided by (none)
[DEBUG] org.ow2.asm:asm-tree:pom:5.0.3 => null, provided by (none)
[DEBUG] org.ow2.asm:asm:pom:5.0.3 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-classworlds:pom:2.5.1 => null, provided by (none)
[DEBUG] org.apache.xbean:xbean-reflect:pom:3.7 => null, provided by (none)
[DEBUG] log4j:log4j:pom:1.2.12 => 1.2.12, provided by (none)
[DEBUG] javax.mail:mail:pom:1.5.3 => null, provided by (none)
[DEBUG] org.apache.geronimo.specs:geronimo-jms_1.1_spec:pom:1.0 => null, provided by (none)
[DEBUG] commons-logging:commons-logging-api:pom:1.1 => null, provided by apache-commons-logging (1.2)
[DEBUG] com.google.collections:google-collections:pom:1.0 => null, provided by (none)
[DEBUG] org.apache.maven:maven-profile:pom:2.2.1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-artifact-manager:pom:2.2.1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-repository-metadata:pom:2.2.1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-plugin-registry:pom:2.2.1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-plugin-api:pom:2.2.1 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-utils:pom:1.5.8 => null, provided by (none)
[DEBUG] org.beanshell:bsh:pom:2.0b4 => null, provided by bsh (1.3.0)
[DEBUG] org.apache.maven:maven-compat:jar:any => null, provided by maven (3.3.1)
[DEBUG] com.google.code.findbugs:jsr305:jar:1.3.9 => null, provided by jsr-305 (0)
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:2.8 => null, provided by maven-wagon-provider-api (2.8)
[DEBUG] org.apache.maven:maven-model:jar:2.2.1 => 2.2.1, provided by maven-model (2.2.1)
[DEBUG] org.apache.maven:maven-project:jar:2.2.1 => null, provided by maven-project (2.2.1)
[DEBUG] org.apache.maven:maven-profile:jar:2.2.1 => null, provided by maven-profile (2.2.1)
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.2.1 => null, provided by maven-artifact-manager (2.2.1)
[DEBUG] org.apache.maven:maven-plugin-registry:jar:2.2.1 => null, provided by maven-plugin-registry (2.2.1)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1 => null, provided by plexus-containers-container-default (1.6)
[DEBUG] org.ow2.asm:asm-commons:jar:5.0.3 => null, provided by objectweb-asm (5.0.3)
[DEBUG] org.ow2.asm:asm-tree:jar:5.0.3 => null, provided by objectweb-asm (5.0.3)
[DEBUG] org.ow2.asm:asm:jar:5.0.3 => null, provided by objectweb-asm (5.0.3)
[DEBUG] org.apache.xbean:xbean-reflect:jar:3.7 => null, provided by xbean (4.1)
[DEBUG] log4j:log4j:jar:1.2.12 => 1.2.12, provided by log4j12 (1.2.17)
[DEBUG] javax.mail:mail:jar:1.5.3 => null, provided by javamail (1.5.2)
[DEBUG] org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.0 => null, provided by geronimo-jms (1.1.1)
[DEBUG] commons-logging:commons-logging-api:jar:1.1 => null, provided by apache-commons-logging (1.2)
[DEBUG] com.google.collections:google-collections:jar:1.0 => null, provided by guava (18.0)
[DEBUG] org.apache.maven:maven-core:jar:2.2.1 => null, provided by maven (3.3.1)
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.2.1 => null, provided by maven (3.3.1)
[DEBUG] org.apache.maven:maven-artifact:jar:2.2.1 => 2.2.1, provided by maven-artifact (2.2.1)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.5.8 => null, provided by plexus-utils (3.0.18)
[DEBUG] org.beanshell:bsh:jar:2.0b4 => null, provided by bsh (1.3.0)
[DEBUG] org.apache.maven:maven-plugin-api:pom:2.0 => null, provided by (none)
[DEBUG] org.apache.maven.shared:file-management:pom:1.2 => null, provided by (none)
[DEBUG] org.apache.maven:maven-plugin-api:pom:2.0.6 => null, provided by (none)
[DEBUG] org.apache.maven.shared:maven-shared-io:pom:1.1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-artifact:pom:2.0.2 => 2.0.2, provided by (none)
[DEBUG] org.apache.maven:maven-artifact-manager:pom:2.0.2 => null, provided by (none)
[DEBUG] org.apache.maven.wagon:wagon-provider-api:pom:1.0-alpha-6 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-utils:pom:1.4.6 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-utils:pom:1.5.6 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-container-default:pom:1.0-alpha-9 => null, provided by (none)
[DEBUG] com.sun.codemodel:codemodel:pom:2.6 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-archiver:pom:1.0-alpha-9 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-io:pom:1.0-alpha-1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0 => null, provided by maven (3.3.1)
[DEBUG] org.apache.maven.shared:file-management:jar:1.2 => null, provided by maven-file-management (1.2.1)
[DEBUG] org.apache.maven.shared:maven-shared-io:jar:1.1 => null, provided by maven-shared-io (1.1)
[DEBUG] org.apache.maven:maven-core:jar:3.3.1 => null, provided by maven (3.3.1)
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6 => null, provided by maven-wagon-provider-api (2.8)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.5.6 => null, provided by plexus-utils (3.0.18)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9 => null, provided by plexus-containers-container-default (1.6)
[DEBUG] com.sun.codemodel:codemodel:jar:2.6 => null, provided by codemodel (2.6)
[DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9 => null, provided by plexus-archiver (2.8.2)
[DEBUG] org.codehaus.plexus:plexus-io:jar:1.0-alpha-1 => null, provided by plexus-io (2.3.3)
[DEBUG] org.apache.maven:maven-settings:jar:2.2.1 => 2.2.1, provided by maven-settings (2.2.1)
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.2.1 => null, provided by maven (3.3.1)
[DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.11 => null, provided by plexus-interpolation (1.22)
[DEBUG] org.apache.maven:maven-monitor:pom:2.2.1 => null, provided by (none)
[DEBUG] org.apache.maven.shared:maven-filtering:pom:1.2 => null, provided by (none)
[DEBUG] org.apache.maven.shared:maven-shared-utils:pom:0.6 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-utils:pom:3.0.18 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-interpolation:pom:1.19 => null, provided by (none)
[DEBUG] org.sonatype.plexus:plexus-build-api:pom:0.0.4 => null, provided by plexus-build-api (0.0.7)
[DEBUG] org.sonatype.spice:spice-parent:pom:15 => null, provided by spice-parent (26)
[DEBUG] org.sonatype.forge:forge-parent:pom:22 => null, provided by forge-parent (38)
[DEBUG] org.apache.maven:maven-monitor:jar:2.2.1 => null, provided by maven-monitor (2.2.1)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.15 => null, provided by plexus-utils (3.0.18)
[DEBUG] org.apache.maven.shared:maven-filtering:jar:1.2 => null, provided by maven-filtering (1.3)
[DEBUG] org.apache.maven.shared:maven-shared-utils:jar:0.6 => null, provided by maven-shared-utils (0.7)
[DEBUG] org.sonatype.plexus:plexus-build-api:jar:0.0.4 => null, provided by plexus-build-api (0.0.7)
[DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.19 => null, provided by plexus-interpolation (1.22)
[DEBUG] org.apache.maven:maven-plugin-api:pom:2.0.9 => null, provided by (none)
[DEBUG] org.apache.maven:maven-artifact:pom:2.0.9 => null, provided by (none)
[DEBUG] org.apache.maven:maven-core:pom:2.0.9 => null, provided by (none)
[DEBUG] org.apache.maven:maven-toolchain:pom:1.0 => null, provided by (none)
[DEBUG] org.apache.maven.shared:maven-shared-utils:pom:0.1 => null, provided by (none)
[DEBUG] org.apache.maven.shared:maven-shared-incremental:pom:1.1 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-compiler-api:pom:2.4 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-utils:pom:3.0.10 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-compiler-manager:pom:2.4 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-compiler-javac:pom:2.4 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-container-default:pom:1.5.5 => null, provided by (none)
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.9 => null, provided by maven (3.3.1)
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.9 => null, provided by maven (3.3.1)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.20 => null, provided by plexus-utils (3.0.18)
[DEBUG] org.apache.maven:maven-core:jar:2.0.9 => null, provided by maven (3.3.1)
[DEBUG] org.apache.maven:maven-toolchain:jar:1.0 => null, provided by maven-toolchain (2.2.1)
[DEBUG] org.apache.maven.shared:maven-shared-utils:jar:0.1 => null, provided by maven-shared-utils (0.7)
[DEBUG] org.apache.maven.shared:maven-shared-incremental:jar:1.1 => null, provided by maven-shared-incremental (1.1)
[DEBUG] org.codehaus.plexus:plexus-compiler-api:jar:2.4 => null, provided by plexus-compiler (2.4)
[DEBUG] org.codehaus.plexus:plexus-compiler-manager:jar:2.4 => null, provided by plexus-compiler (2.4)
[DEBUG] org.codehaus.plexus:plexus-compiler-javac:jar:2.4 => null, provided by plexus-compiler (2.4)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.5.5 => null, provided by plexus-containers-container-default (1.6)
[DEBUG] org.apache.maven.surefire:maven-surefire-common:pom:2.17 => null, provided by (none)
[DEBUG] org.apache.maven.plugin-tools:maven-plugin-annotations:pom:3.2 => null, provided by (none)
[DEBUG] org.apache.maven:maven-artifact:pom:3.0 => null, provided by (none)
[DEBUG] org.apache.maven.surefire:surefire-api:pom:2.17 => null, provided by (none)
[DEBUG] org.apache.maven.shared:maven-shared-utils:pom:0.4 => null, provided by (none)
[DEBUG] org.apache.maven.surefire:surefire-booter:pom:2.17 => null, provided by (none)
[DEBUG] org.apache.maven:maven-plugin-descriptor:pom:2.0.9 => null, provided by (none)
[DEBUG] org.apache.maven:maven-project:pom:2.0.9 => null, provided by (none)
[DEBUG] org.apache.maven:maven-model:pom:2.0.9 => null, provided by (none)
[DEBUG] org.apache.maven:maven-toolchain:pom:2.0.9 => null, provided by (none)
[DEBUG] org.apache.commons:commons-lang3:pom:3.1 => null, provided by (none)
[DEBUG] org.apache.maven.shared:maven-common-artifact-filters:pom:1.3 => null, provided by (none)
[DEBUG] org.apache.maven:maven-compat:pom:3.0.4 => null, provided by (none)
[DEBUG] org.apache.maven:maven-core:pom:3.0.4 => null, provided by (none)
[DEBUG] org.apache.maven:maven-artifact:pom:3.0.4 => null, provided by (none)
[DEBUG] org.apache.maven:maven-model:pom:3.0.4 => null, provided by (none)
[DEBUG] org.apache.maven:maven-plugin-api:pom:3.0.4 => null, provided by (none)
[DEBUG] org.apache.maven.surefire:maven-surefire-common:jar:2.17 => null, provided by maven-surefire (2.17)
[DEBUG] org.apache.maven.surefire:surefire-booter:jar:2.17 => null, provided by maven-surefire (2.17)
[DEBUG] org.apache.maven.shared:maven-shared-utils:jar:0.4 => null, provided by maven-shared-utils (0.7)
[DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.0.9 => null, provided by maven-plugin-descriptor (2.2.1)
[DEBUG] org.apache.maven:maven-project:jar:2.0.9 => null, provided by maven-project (2.2.1)
[DEBUG] org.apache.commons:commons-lang3:jar:3.1 => null, provided by apache-commons-lang3 (3.3.2)
[DEBUG] org.apache.maven.shared:maven-common-artifact-filters:jar:1.3 => null, provided by maven-common-artifact-filters (1.4)
[DEBUG] org.apache.maven.surefire:surefire-api:jar:2.17 => null, provided by maven-surefire (2.17)
[DEBUG] org.apache.maven:maven-toolchain:jar:2.0.9 => null, provided by maven-toolchain (2.2.1)
[DEBUG] org.apache.maven.plugin-tools:maven-plugin-annotations:jar:3.2 => null, provided by maven-plugin-annotations (3.4)
[DEBUG] org.apache.maven.surefire:surefire-junit4:pom:2.17 => null, provided by (none)
[DEBUG] org.apache.maven.surefire:common-junit4:pom:2.17 => null, provided by (none)
[DEBUG] org.apache.maven.surefire:common-junit3:pom:2.17 => null, provided by (none)
[DEBUG] org.apache.maven.surefire:common-java5:pom:2.17 => null, provided by (none)
[DEBUG] org.apache.maven.surefire:surefire-junit4:jar:2.17 => null, provided by maven-surefire-provider-junit (2.17)
[DEBUG] org.apache.maven.surefire:common-junit4:jar:2.17 => null, provided by maven-surefire-provider-junit (2.17)
[DEBUG] org.apache.maven.surefire:common-junit3:jar:2.17 => null, provided by maven-surefire-provider-junit (2.17)
[DEBUG] org.apache.maven.surefire:common-java5:jar:2.17 => null, provided by maven-surefire (2.17)
[DEBUG] org.apache.maven:maven-plugin-api:pom:3.1.1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-core:pom:3.1.1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-project:pom:3.1.1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-artifact:pom:3.1.1 => null, provided by (none)
[DEBUG] org.apache.maven:maven-archiver:pom:2.6 => null, provided by (none)
[DEBUG] org.codehaus.plexus:plexus-archiver:pom:2.9 => null, provided by (none)
[DEBUG] org.apache.maven:maven-plugin-api:jar:3.1.1 => null, provided by maven (3.3.1)
[DEBUG] org.apache.maven:maven-core:jar:3.1.1 => null, provided by maven (3.3.1)
[DEBUG] org.apache.maven:maven-project:jar:3.1.1 => null, provided by maven-project (2.2.1)
[DEBUG] org.apache.maven:maven-artifact:jar:3.1.1 => null, provided by maven (3.3.1)
[DEBUG] org.apache.maven:maven-archiver:jar:2.6 => null, provided by maven-archiver (2.6)
[DEBUG] org.codehaus.plexus:plexus-archiver:jar:2.9 => null, provided by plexus-archiver (2.8.2)
[DEBUG] org.jvnet.jaxb2.maven2:maven-jaxb22-plugin:pom:1.1.1 => null, provided by (none)
[DEBUG] org.jvnet.jaxb2.maven2:maven-jaxb22-plugin:jar:1.1.1 => null, provided by maven-jaxb2-plugin (0.12.3)
[DEBUG] javax.ws.rs:jsr311-api:pom:any => null, provided by (none)
[DEBUG] org.apache.felix:org.osgi.core:pom:any => null, provided by (none)
[DEBUG] asm:asm:pom:3 => null, provided by (none)
[DEBUG] javax.annotation:jsr250-api:pom:1.0 => null, provided by (none)
[DEBUG] org.apache.commons:commons-io:pom:1.3.2 => null, provided by (none)
[DEBUG] javax.ws.rs:jsr311-api:jar:any => null, provided by jsr-311 (1.1.1)
[DEBUG] org.apache.felix:org.osgi.core:jar:any => null, provided by felix-osgi-core (1.4.0)
[DEBUG] asm:asm:jar:3 => null, provided by objectweb-asm3 (3.3.1)
[DEBUG] javax.annotation:jsr250-api:jar:1.0 => null, provided by geronimo-annotation (1.0)
[DEBUG] org.apache.commons:commons-io:jar:1.3.2 => null, provided by apache-commons-io (2.4)
[DEBUG] org.jvnet.jaxb2.maven2:maven-jaxb2-plugin-core:pom:0.12.3 => null, provided by (none)
[DEBUG] org.slf4j:slf4j-api:pom:1.7.7 => null, provided by (none)
[DEBUG] org.apache.commons:commons-lang3:pom:3.2.1 => null, provided by (none)
[DEBUG] xml-resolver:xml-resolver:pom:1.2 => null, provided by xml-commons-resolver (1.2)
[DEBUG] org.apache:apache:pom:3 => null, provided by apache-parent (16)
[DEBUG] org.apache.maven:maven-compat:pom:2.0.9 => null, provided by (none)
[DEBUG] org.sonatype.plexus:plexus-build-api:pom:0.0.7 => null, provided by plexus-build-api (0.0.7)
[DEBUG] org.glassfish.jaxb:jaxb-runtime:pom:2.2.11 => null, provided by (none)
[DEBUG] org.glassfish.jaxb:jaxb-core:pom:2.2.11 => null, provided by (none)
[DEBUG] javax.xml.bind:jaxb-api:pom:2.2.12-b140109.1041 => null, provided by (none)
[DEBUG] org.glassfish.jaxb:txw2:pom:2.2.11 => null, provided by (none)
[DEBUG] com.sun.istack:istack-commons-runtime:pom:2.21 => null, provided by (none)
[DEBUG] org.jvnet.staxex:stax-ex:pom:1.7.7 => null, provided by (none)
[DEBUG] com.sun.xml.fastinfoset:FastInfoset:pom:1.2.13 => null, provided by (none)
[DEBUG] org.glassfish.jaxb:jaxb-xjc:pom:2.2.11 => null, provided by (none)
[DEBUG] com.sun.xsom:xsom:pom:20140925 => null, provided by xsom (0)
[DEBUG] relaxngDatatype:relaxngDatatype:pom:20020414 => null, provided by (none)
[DEBUG] org.glassfish.jaxb:codemodel:pom:2.2.11 => null, provided by (none)
[DEBUG] com.sun.xml.bind.external:rngom:pom:2.2.11 => null, provided by (none)
[DEBUG] com.sun.xml.dtd-parser:dtd-parser:pom:1.1 => null, provided by (none)
[DEBUG] com.sun.istack:istack-commons-tools:pom:2.21 => null, provided by (none)
[DEBUG] com.sun:tools:pom:any => null, provided by (none)
[DEBUG] org.apache.ant:ant:pom:1.7.0 => null, provided by ant (1.9.4)
[DEBUG] org.apache.ant:ant-parent:pom:1.9.4 => null, provided by ant (1.9.4)
[DEBUG] org.apache.ant:ant-launcher:pom:1.9.4 => null, provided by ant (1.9.4)
[DEBUG] org.jvnet.jaxb2.maven2:maven-jaxb2-plugin-core:jar:0.12.3 => null, provided by maven-jaxb2-plugin (0.12.3)
[DEBUG] org.slf4j:slf4j-api:jar:1.7.7 => null, provided by slf4j (1.7.10)
[DEBUG] org.apache.commons:commons-lang3:jar:3.2.1 => null, provided by apache-commons-lang3 (3.3.2)
[DEBUG] xml-resolver:xml-resolver:jar:1.2 => null, provided by xml-commons-resolver (1.2)
[DEBUG] org.apache.maven:maven-compat:jar:2.0.9 => null, provided by maven (3.3.1)
[DEBUG] org.sonatype.plexus:plexus-build-api:jar:0.0.7 => null, provided by plexus-build-api (0.0.7)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.5.15 => null, provided by plexus-utils (3.0.18)
[DEBUG] org.glassfish.jaxb:jaxb-runtime:jar:2.2.11 => null, provided by glassfish-jaxb-runtime (2.2.11)
[DEBUG] org.glassfish.jaxb:jaxb-core:jar:2.2.11 => null, provided by glassfish-jaxb-core (2.2.11)
[DEBUG] javax.xml.bind:jaxb-api:jar:2.2.12-b140109.1041 => null, provided by glassfish-jaxb-api (2.2.12)
[DEBUG] org.glassfish.jaxb:txw2:jar:2.2.11 => null, provided by glassfish-jaxb-txw2 (2.2.11)
[DEBUG] com.sun.istack:istack-commons-runtime:jar:2.21 => null, provided by istack-commons-runtime (2.21)
[DEBUG] org.jvnet.staxex:stax-ex:jar:1.7.7 => null, provided by stax-ex (1.7.7)
[DEBUG] com.sun.xml.fastinfoset:FastInfoset:jar:1.2.13 => null, provided by glassfish-fastinfoset (1.2.13)
[DEBUG] org.glassfish.jaxb:jaxb-xjc:jar:2.2.11 => null, provided by glassfish-jaxb-xjc (2.2.11)
[DEBUG] com.sun.xsom:xsom:jar:20140925 => null, provided by xsom (0)
[DEBUG] relaxngDatatype:relaxngDatatype:jar:20020414 => null, provided by relaxngDatatype (2011.1)
[DEBUG] org.glassfish.jaxb:codemodel:jar:2.2.11 => null, provided by glassfish-jaxb-codemodel (2.2.11)
[DEBUG] com.sun.xml.bind.external:rngom:jar:2.2.11 => null, provided by glassfish-jaxb-rngom (2.2.11)
[DEBUG] com.sun.xml.dtd-parser:dtd-parser:jar:1.1 => null, provided by glassfish-dtd-parser (1.2)
[DEBUG] com.sun.istack:istack-commons-tools:jar:2.21 => null, provided by istack-commons-tools (2.21)
[DEBUG] com.sun:tools:jar:any => null, provided by java-1.8.0-openjdk-devel (1.8.0.40)
[DEBUG] org.apache.ant:ant:jar:1.7.0 => null, provided by ant (1.9.4)
[DEBUG] org.apache.ant:ant-launcher:jar:1.9.4 => null, provided by ant (1.9.4)
[DEBUG] org.apache.maven:maven-artifact:jar:3.0 => null, provided by maven (3.3.1)
[DEBUG] Simplified XMvn dependency report:
[DEBUG] ():
DEBUG: 0.1, 0.12.3, 0.3.0, 0.4, 0.6, 0.7, 0.9.0.M2, 1, 1.0, 1.0-alpha-1, 1.0-alpha-6, 1.0-alpha-9, 1.0-alpha-9-stable-1, 1.0.0, 1.0.1, 1.0.2, 1.0.2.v20150114, 1.1, 1.1.0, 1.1.1, 1.11, 1.19, 1.2, 1.2.0, 1.2.12, 1.2.13, 1.21, 1.3, 1.3.2, 1.3.9, 1.4, 1.4.0, 1.4.1, 1.4.6, 1.5.15, 1.5.3, 1.5.5, 1.5.6, 1.5.8, 1.50.0, 1.6.6, 1.7, 1.7.7, 1.9, 16.0.1, 18.0, 2.0, 2.0.1, 2.0.2, 2.0.5, 2.0.6, 2.0.7, 2.0.9, 2.1, 2.17, 2.2, 2.2.1, 2.2.11, 2.2.12-b140109.1041, 2.21, 2.3, 2.3.3, 2.3.6, 2.4, 2.4.1, 2.4.3, 2.5.1, 2.5.2, 2.6, 2.8, 2.8.1, 2.9, 20020414, 3, 3.0, 3.0.10, 3.0.15, 3.0.17, 3.0.18, 3.0.20, 3.0.4, 3.1, 3.1.1, 3.1.4, 3.2, 3.2.1, 3.2.5, 3.3.1, 3.7, 4.0.0, 4.0.7, 4.1.0, 4.2.0, 4.8.2, 5.0.3, SYSTEM, any
[DEBUG] aether-api (1.0.2): 1.0.2.v20150114
[DEBUG] aether-impl (1.0.2): 1.0.2.v20150114
[DEBUG] aether-spi (1.0.2): 1.0.2.v20150114
[DEBUG] aether-util (1.0.2): 1.0.2.v20150114
[DEBUG] ant (1.9.4): 1.7.0, 1.9.4
[DEBUG] aopalliance (1.0): 1.0
[DEBUG] apache-commons-compress (1.9): 1.9
[DEBUG] apache-commons-io (2.4): 1.3.2, 2.2
[DEBUG] apache-commons-lang3 (3.3.2): 3.1, 3.2.1
[DEBUG] apache-commons-logging (1.2): 1.1
[DEBUG] apache-parent (16): 3
[DEBUG] aqute-bndlib (1.50.0): 1.50.0
[DEBUG] atinject (1): 1
[DEBUG] bsh (1.3.0): 2.0b4
[DEBUG] codemodel (2.6): 2.6
[DEBUG] felix-bundlerepository (1.6.6): 1.6.6
[DEBUG] felix-osgi-compendium (1.4.0): 4.0.0
[DEBUG] felix-osgi-core (1.4.0): 1.0.1, 4.1.0, 4.2.0, any
[DEBUG] felix-osgi-foundation (1.2.0): 1.2.0
[DEBUG] felix-osgi-obr (1.0.2): 1.0.2
[DEBUG] felix-shell (1.4.3): 1.4.1
[DEBUG] felix-utils (1.8.0): 1.1.0
[DEBUG] forge-parent (38): 22
[DEBUG] geronimo-annotation (1.0): 1.0
[DEBUG] geronimo-jms (1.1.1): 1.0
[DEBUG] glassfish-dtd-parser (1.2): 1.1
[DEBUG] glassfish-fastinfoset (1.2.13): 1.2.13
[DEBUG] glassfish-jaxb-api (2.2.12): 2.1, 2.2.12-b140109.1041
[DEBUG] glassfish-jaxb-codemodel (2.2.11): 2.2.11
[DEBUG] glassfish-jaxb-core (2.2.11): 2.2.11
[DEBUG] glassfish-jaxb-rngom (2.2.11): 2.2.11
[DEBUG] glassfish-jaxb-runtime (2.2.11): 2.2.11
[DEBUG] glassfish-jaxb-txw2 (2.2.11): 2.2.11
[DEBUG] glassfish-jaxb-xjc (2.2.11): 2.2.11
[DEBUG] glassfish-servlet-api (3.1.0): 1.0.0
[DEBUG] google-guice (3.2.5): 3.2.5
[DEBUG] guava (18.0): 1.0, 18.0
[DEBUG] hamcrest-core (1.3): 1.3
[DEBUG] istack-commons-maven-plugin (2.21): 2.4
[DEBUG] istack-commons-runtime (2.21): 2.21
[DEBUG] istack-commons-tools (2.21): 2.21
[DEBUG] java-1.8.0-openjdk-devel (1.8.0.40): any
[DEBUG] javamail (1.5.2): 1.4, 1.5.3
[DEBUG] jsr-305 (0): 1.3.9, 2.0.1
[DEBUG] jsr-311 (1.1.1): 1.1.1, any
[DEBUG] junit (4.12): 4.8.2
[DEBUG] jvnet-parent (4): 4
[DEBUG] kxml (2.3.0): 2.2.2, 2.3.0
[DEBUG] log4j12 (1.2.17): 1.2.12
[DEBUG] maven (3.3.1): 2.0, 2.0.7, 2.0.9, 2.2.1, 3.0, 3.1.1, 3.3.1, any
[DEBUG] maven-archiver (2.6): 2.4.1, 2.6
[DEBUG] maven-artifact (2.2.1): 2.2.1
[DEBUG] maven-artifact-manager (2.2.1): 2.2.1
[DEBUG] maven-common-artifact-filters (1.4): 1.3
[DEBUG] maven-compiler-plugin (3.2): 2.3
[DEBUG] maven-dependency-tree (2.2): 1.2
[DEBUG] maven-file-management (1.2.1): 1.2
[DEBUG] maven-filtering (1.3): 1.2
[DEBUG] maven-jar-plugin (2.6): 2.2
[DEBUG] maven-javadoc-plugin (2.10.2): SYSTEM
[DEBUG] maven-jaxb2-plugin (0.12.3): 0.12.3, 1.1.1
[DEBUG] maven-model (2.2.1): 2.2.1
[DEBUG] maven-monitor (2.2.1): 2.2.1
[DEBUG] maven-plugin-annotations (3.4): 3.2
[DEBUG] maven-plugin-build-helper (1.9.1): 1.7
[DEBUG] maven-plugin-bundle (2.3.7): 2.3.6
[DEBUG] maven-plugin-descriptor (2.2.1): 2.0.9
[DEBUG] maven-plugin-registry (2.2.1): 2.2.1
[DEBUG] maven-profile (2.2.1): 2.2.1
[DEBUG] maven-project (2.2.1): 2.0.9, 2.2.1, 3.1.1
[DEBUG] maven-resources-plugin (2.7): 2.4.3
[DEBUG] maven-settings (2.2.1): 2.2.1
[DEBUG] maven-shared-incremental (1.1): 1.1
[DEBUG] maven-shared-io (1.1): 1.1
[DEBUG] maven-shared-utils (0.7): 0.1, 0.4, 0.6, 0.7
[DEBUG] maven-surefire (2.17): 2.17
[DEBUG] maven-surefire-plugin (2.17): 2.8
[DEBUG] maven-surefire-provider-junit (2.17): 2.17
[DEBUG] maven-toolchain (2.2.1): 1.0, 2.0.9
[DEBUG] maven-wagon-provider-api (2.8): 1.0-alpha-6, 2.8
[DEBUG] objectweb-asm (5.0.3): 5.0.3, any
[DEBUG] objectweb-asm3 (3.3.1): 3
[DEBUG] plexus-archiver (2.8.2): 1.0-alpha-9, 2.8.1, 2.9
[DEBUG] plexus-build-api (0.0.7): 0.0.4, 0.0.7
[DEBUG] plexus-cipher (1.7): 1.4
[DEBUG] plexus-classworlds (2.5.2): 2.5.2
[DEBUG] plexus-compiler (2.4): 2.4
[DEBUG] plexus-containers-component-annotations (1.6): 1.5.5
[DEBUG] plexus-containers-container-default (1.6): 1.0-alpha-9, 1.0-alpha-9-stable-1, 1.5.5
[DEBUG] plexus-interpolation (1.22): 1.11, 1.19, 1.21
[DEBUG] plexus-io (2.3.3): 1.0-alpha-1, 2.3.3
[DEBUG] plexus-sec-dispatcher (1.4): 1.3
[DEBUG] plexus-utils (3.0.18): 1.5.15, 1.5.6, 1.5.8, 2.1, 3.0.15, 3.0.20
[DEBUG] relaxngDatatype (2011.1): 20020414
[DEBUG] sisu-inject (0.3.0): 0.3.0
[DEBUG] sisu-plexus (0.3.0): 0.3.0
[DEBUG] slf4j (1.7.10): 1.7.7
[DEBUG] spice-parent (26): 15
[DEBUG] stax-ex (1.7.7): 1.7.7
[DEBUG] stax2-api (3.1.4): 3.1.4
[DEBUG] woodstox-core (5.0.0): 4.0.7
[DEBUG] xbean (4.1): 3.7
[DEBUG] xml-commons-resolver (1.2): 1.2
[DEBUG] xmvn-mojo (2.3.2): SYSTEM
[DEBUG] xpp3 (1.1.4): 1.1.3.4.O
[DEBUG] xsom (0): 20140925
[DEBUG] xz-java (1.5): 1.5
[ERROR] Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb22-plugin:0.12.3:generate (default) on project jersey-server: Unable to parse input schema(s). Error messages should have been provided. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb22-plugin:0.12.3:generate (default) on project jersey-server: Unable to parse input schema(s). Error messages should have been provided.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to parse input schema(s). Error messages should have been provided.
at org.jvnet.mjiip.v_2_2.XJC22Mojo.loadModel(XJC22Mojo.java:55)
at org.jvnet.mjiip.v_2_2.XJC22Mojo.doExecute(XJC22Mojo.java:40)
at org.jvnet.mjiip.v_2_2.XJC22Mojo.doExecute(XJC22Mojo.java:28)
at org.jvnet.jaxb2.maven2.RawXJC2Mojo.doExecute(RawXJC2Mojo.java:488)
at org.jvnet.jaxb2.maven2.RawXJC2Mojo.execute(RawXJC2Mojo.java:311)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 20 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :jersey-server

M2E Error - Unable to load the mojo 'generate'

Execution generate-extra-customization-sources of goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.12.3:generate failed: Unable to load the mojo 'generate' (or one of its required components) from the plugin 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.12.3' (org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.12.3:generate:generate-extra-customization-sources:generate-sources)

org.apache.maven.plugin.PluginExecutionException: Execution generate-extra-customization-sources of goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.12.3:generate failed: Unable to load the mojo 'generate' (or one of its required components) from the plugin 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.12.3'
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:151)
at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:330)
at org.eclipse.m2e.core.internal.embedder.MavenImpl$10.call(MavenImpl.java:1360)
at org.eclipse.m2e.core.internal.embedder.MavenImpl$10.call(MavenImpl.java:1)
at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)
at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:112)
at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1358)
at org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant.build(MojoExecutionBuildParticipant.java:52)
at org.eclipse.m2e.core.internal.builder.MavenBuilderImpl.build(MavenBuilderImpl.java:137)
at org.eclipse.m2e.core.internal.builder.MavenBuilder$1.method(MavenBuilder.java:172)
at org.eclipse.m2e.core.internal.builder.MavenBuilder$1.method(MavenBuilder.java:1)
at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod$1$1.call(MavenBuilder.java:115)
at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)
at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:112)
at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod$1.call(MavenBuilder.java:105)
at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)
at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)
at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99)
at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod.execute(MavenBuilder.java:86)
at org.eclipse.m2e.core.internal.builder.MavenBuilder.build(MavenBuilder.java:200)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.apache.maven.plugin.PluginContainerException: Unable to load the mojo 'generate' (or one of its required components) from the plugin 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.12.3'
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:497)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:119)
... 31 more
Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException
role: org.apache.maven.plugin.Mojo
roleHint: org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.12.3:generate
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:267)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:464)
... 32 more
Caused by: java.util.NoSuchElementException
at org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:118)
at org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:1)
at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76)
at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
... 34 more

Missing method classes from wsdl

Hello,

I tried to compile a wsdl file I got today. All the types for use in the service calls are generated correctly, as well as the responses. But the classes for the actual calls to the service are not generated.

Here is the wsdl file: https://dosicon.helmholtz-muenchen.de/gksst/V12x/demo/GkSstServer?wsdl

I'm working with the Spring WS Tutorial: https://spring.io/guides/gs/consuming-web-service/

I have no Idea why this is the case. Is this a problem with this project, or is the wsdl wrong?

What I could tell, comparing the weather wsdl from the tutorial and mine, is that the method calls in my wsdl are not defined as types. Just the accompanying message and operations.

When using SoapUI, the method calls are constructed correctly. So I presume a problem with the generation in this project.

Add classpath rewrite handling to mavencatalogresolver

Running into an issue with multiple level of dependencies (C->B->A). It would be helpful if the MavenCatalogResolver would also handle the classpath protocols so that schemaLocations can remain as urls to be rewritten into maven uris in downstream projects.

Transitive Dependencies - "maven" rewrite doesn't resolve the schema

Hi!
First of all, thanks for your effort producing a great plugin!

I Think I have found an issue, however. It seems that the maven resolver doesn't honor transitive dependencies.

I have an "A-schema.jar" dependent on "B-schema.jar" dependent on a "C-schema.jar". Maven rewrites (catalog) into "B-schema.jar" works fine, but maven rewrites to "C-schema.jar" aren't resolved.

If I make "C-schema.jar" an explicit dependency of "A-schema.jar" it resolves fine; so it's not a show stopper.

Regards!

JAXB episode compilation with include does not work

I have 2 schemas A, B. I'm reusing some A elements in B. I do not use namespaces.

I'm using

<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>0.9.0</version>

I have have defined an inclusion of schema A in schema B as:

<xs:include schemaLocation="classpath:my.schema.A.xsd"/>

and the catalog as

REWRITE_SYSTEM "classpath:my.schema.A.xsd" "maven:my.schema:schema-a!/A.xsd"

The jaxb configuration goes:

<configuration>
    <generatePackage>my.schema.b</generatePackage>
    <schemaIncludes>
        <includes>B.xsd</includes>
    </schemaIncludes>
    <episodes>
        <episode>
            <groupId>my.schema</groupId>
            <artifactId>schema-a</artifactId>
        </episode>
    </episodes>
    <catalog>src/main/catalog/catalog.cat</catalog>
</configuration>

The issue is that whenever I specify the episode dependency the schema does not generate any classes even though it contains some B elements I want to generate the classes for.

[INFO] Parsing input schema(s)...
[INFO] Compiling input schema(s)...
[INFO] Cleaning package directories.
[INFO] Finished execution.

When I remove the episode it works well and generates classes for schema A as well - which I indeed want to avoid.

Do you have any suggestions?

A sample was published in Jaxb episodic compilation

Taking care of the "SCD "x-schema::tns" didnt match any schema component" error

Hi,

I faced the error "SCD "x-schema::tns" didnt match any schema component" that happens when an episode declares namespaces not used in the xsd of the project using that episode.

This is very annoying and I found out that it is an old bug never fixed: http://metro.1045641.n5.nabble.com/Re-JAXB-2-1-unused-namespaces-in-episode-file-raise-an-exception-td1054910.html

In this thread, they propose as a workaround to add an extra attribute in the generated episode file to the scd elements in order to have them getting ignored later.

Do you think there could be anyway that such a workaround is enforced by maven-jaxb2-plugin? With some kind of post-processing of the generated episode file for example.

Thank you

[0.12.0 on JDK 8] required class com.sun.tools.internal.xjc.outline.Aspect missing

Attempting to run generate using Oracle / OS X JDK 8, getting the error below. Note that the only Aspect I was able to find is tools.jar as com.sun.tools.internal.xjc.outline.Aspect

ERROR] Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.12.0:generate (jaxb-YAOfferIngestionService) on project castanealabs-core: Execution jaxb-YAOfferIngestionService of goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.12.0:generate failed: A required class was missing while executing org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.12.0:generate: com/sun/tools/xjc/outline/Aspect
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.12.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/nikita/.m2/repository/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin/0.12.0/maven-jaxb2-plugin-0.12.0.jar
[ERROR] urls[1] = file:/Users/nikita/.m2/repository/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin-core/0.12.0/maven-jaxb2-plugin-core-0.12.0.jar
[ERROR] urls[2] = file:/Users/nikita/.m2/repository/com/sun/org/apache/xml/internal/resolver/20050927/resolver-20050927.jar
[ERROR] urls[3] = file:/Users/nikita/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
[ERROR] urls[4] = file:/Users/nikita/.m2/repository/junit/junit/4.8.1/junit-4.8.1.jar
[ERROR] urls[5] = file:/Users/nikita/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
[ERROR] urls[6] = file:/Users/nikita/.m2/repository/org/jvnet/jaxb2/maven2/maven-jaxb22-plugin/0.12.0/maven-jaxb22-plugin-0.12.0.jar
[ERROR] urls[7] = file:/Users/nikita/.m2/repository/com/sun/xml/bind/jaxb-core/2.2.11/jaxb-core-2.2.11.jar
[ERROR] urls[8] = file:/Users/nikita/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.11/jaxb-impl-2.2.11.jar
[ERROR] urls[9] = file:/Users/nikita/.m2/repository/com/sun/xml/bind/jaxb-xjc/2.2.11/jaxb-xjc-2.2.11.jar
[ERROR] urls[10] = file:/Users/nikita/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.2/maven-plugin-annotations-3.2.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: com.sun.tools.xjc.outline.Aspect
[ERROR]

<dependencies>
 <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-impl</artifactId>
            <version>2.2.11</version>
        </dependency>
</dependencies>
 <build>
        <plugins>
            <!-- generate Java classes from YA web service XSDs using JAXB2 -->
            <plugin>
                <groupId>org.jvnet.jaxb2.maven2</groupId>
                <artifactId>maven-jaxb2-plugin</artifactId>
                <version>0.12.0</version>
                <executions>
                    <execution>
                        <id>jaxb1</id>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                        <configuration>

Add ability to define endorsed dirs in order to select specific JAXB implementations

Other plugin artifacts, for instance maven-compiler-plugin, allow arguments to be added which set the compiler's endorsed dirs.

${endorsed.dir}

That allows one build machine using one JRE to switch which JAXB implementation to use.

I would like to do similar in maven-jaxb2-plugin.

I tried:

-Djava.endorsed.dirs=${endorsed.dir}

but the JAXB API is still loaded from the system's Java and not from the ${endorsed.dir}

[INFO] Started execution.
[INFO] JAXB API is loaded from the [jar:file:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar!].
[INFO] Detected JAXB API version [2.1].

[JAXB-1045] "Item" is already defined error with catalogs, bindings and mixed absolute and relative URLs

Hello,

I have a question about catalog and import.
In the sample project ( org.jvnet.jaxb2.maven2:maven-jaxb2-plugin-sample-catalog-maven)
there is this part in project-pom.xml

<configuration>
    <catalog>src/main/resources/catalog.cat</catalog>
    <schemaIncludes>
        <schemaInclude>schema_b.xsd</schemaInclude>
    </schemaIncludes>
</configuration>

but if we do something like that:

<configuration>
    <catalog>src/main/resources/catalog.cat</catalog>
    <schemaIncludes>
        <schemaInclude>*.xsd</schemaInclude>
    </schemaIncludes>
</configuration>

you will have this error

[INFO] Sources are not up-to-date, XJC will be executed.
[ERROR] Error while parsing schema(s).Location [ http://example.org/schemas/schema_a.xsd http://example.org/A{8,13}].
org.xml.sax.SAXParseExceptionpublicId: http://example.org/A; systemId: http://example.org/schemas/schema_a.xsd; lineNumber: 8; columnNumber: 13; 'SomeComplexType' is already defined
    at com.sun.xml.xsom.impl.parser.ParserContext$1.reportError(ParserContext.java:180)
    at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.reportError(NGCCRuntimeEx.java:175)
    at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.reportError(NGCCRuntimeEx.java:178)
    at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.checkDoubleDefError(NGCCRuntimeEx.java:150)
    at com.sun.xml.xsom.impl.parser.state.Schema.action5(Schema.java:127)
    at com.sun.xml.xsom.impl.parser.state.Schema.onChildCompleted(Schema.java:1286)
...
[ERROR] Error while parsing schema(s).Location [ file:/C:/Users/toto/git/maven-jaxb2-plugin/samples/catalog/src/main/resources/schema_a.xsd{6,42}].
org.xml.sax.SAXParseException; systemId: file:/C:/Users/toto/git/maven-jaxb2-plugin/samples/catalog/src/main/resources/schema_a.xsd; lineNumber: 6; columnNumber: 42; (related to above error) the first definition appears here
    at com.sun.xml.xsom.impl.parser.ParserContext$1.reportError(ParserContext.java:180)
    at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.reportError(NGCCRuntimeEx.java:175)
    at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.checkDoubleDefError(NGCCRuntimeEx.java:151)
    at com.sun.xml.xsom.impl.parser.state.Schema.action5(Schema.java:127)
...

and in case if i change in the xsd the shemaLocation

    <xs:import namespace="http://example.org/A" schemaLocation="http://example.org/schemas/schema_a.xsd"/>

to

    <xs:import namespace="http://example.org/A" schemaLocation="./schema_a.xsd"/>

(still have *.xsd in schemaInclude)
It's working.

So i guess the catalog rewrite doesn't work very well ?
Do you think it could be fixed in the plugin ?

What is possible using bindings files?

Hi,

I didnt find another way to contact you. This is why I ask you this question here.

I am trying to generate Java-stubs from a DTD file. The problem is that i get ugly
List studentOrTeacherOrProfOr... class members.

I didnt find a way using the mojo... plugin so I tried your plugin, because I saw the binding files for DTD.

In your hibernate DTD example you rename the "class" DTD element to a "Clazz" Java class.

Is it only possible to rename things at generation time?

If there is a way to split the above example into 3 member variables it would be great.

Hope you can help me!

best regards

Ignore few classes while generating sources

Hi

I have a common xsd file to be used across my webserive wsdl files. i do not want to generate all the classes in along with wsimport of wsdl file in each webservice. Instead i created a single jar file of xsd and want to use it in all projects.

I want to ignore the classes of common xsd file while using wsimport into target/generated-sources folder.

please suggest solution

m2e: plugin should be run on configuration

Hi,

Because the plugin adds a source directory, the lifecycle configuration should be run on configuration for m2e to pick-up the extra source folder.

The change would be trivial in lifecycle-mapping-metadata.xml

Note that it seems that the default plugin maven-jaxb2-plugin is ok, but the jaxb20, jaxb21 and jaxb22 are wrong.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.