mojohaus / jaxb2-maven-plugin

JAXB2 Maven Plugin
https://www.mojohaus.org/jaxb2-maven-plugin/
Apache License 2.0
106 stars 77 forks source link

generated sources path is not visible #51

Closed alexey-su closed 7 years ago

alexey-su commented 8 years ago

The project uses jaxb2-maven-plugin v2.2

<configuration>
  <noGeneratedHeaderComments>true</noGeneratedHeaderComments>
  <sources>
    <source>src/main/xsd/Integration.xsd</source>
    <source>src/main/xsd/IntegrationTypes.xsd</source>
  </sources>
  <xjbSources>
    <xjbSource>src/main/xjb/Integration.xjb</xjbSource>
  </xjbSources>
</configuration>
<executions>
  <execution>
    <goals>
      <goal>xjc</goal>
    </goals>
  </execution>
</executions>

I perform "mvn clean install". The project is going. I perform "mvn install". The project is not going.

[INFO] --- jaxb2-maven-plugin:2.2:xjc (default) @ myproject ---
[INFO] No changes detected in schema or binding files - skipping JAXB generation.
...
[ERROR] /home/myname/Projects/myproject/src/main/java/com/company/impl/model/FactoryLoader.java:[5,48] package com.company.model.types does not exist

This package is present in target/generated-sources/jaxb How do I get connected director?

alexey-su commented 8 years ago

This report is a duplicate of #44, #35. When will the correction?

lennartj commented 8 years ago

It is already fixed in the codebase.