Guten Tag Thorsten Schöning,
am Montag, 18. September 2017 um 12:48 schrieben Sie:

> Thanks, that was the part I was missing, because the source files are
> actually still there. I'll file a bug in the jaxb2-maven-plugin then
> linking to this thread.

The problem has been reported before already and for some situations
and people version 2.3 of the plugin fixes it. Not for me and the
thing I'm seeing, but a workaround is available. I'm attaching a
patch if you would like to integrate it.

https://github.com/mojohaus/jaxb2-maven-plugin/issues/35
https://github.com/mojohaus/jaxb2-maven-plugin/issues/44#issuecomment-272956618

> Index: pom.xml
> ===================================================================
> --- pom.xml     (Revision 20687)
> +++ pom.xml     (Arbeitskopie)
> @@ -219,6 +219,24 @@
>                  </executions>
>              </plugin>
>              <plugin>
> +                <!-- 
> https://github.com/mojohaus/jaxb2-maven-plugin/issues/35 -->
> +                <groupId>org.codehaus.mojo</groupId>
> +                <artifactId>build-helper-maven-plugin</artifactId>
> +                <executions>
> +                    <execution>
> +                        <phase>generate-sources</phase>
> +                        <goals>
> +                            <goal>add-source</goal>
> +                        </goals>
> +                        <configuration>
> +                            <sources>
> +                                
> <source>${project.build.directory}/generated-test-sources/jaxb</source>
> +                            </sources>
> +                        </configuration>
> +                    </execution>
> +                </executions>
> +            </plugin>
> +            <plugin>
>                  <groupId>org.apache.maven.plugins</groupId>
>                  <artifactId>maven-antrun-plugin</artifactId>
>                  <executions>

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail: [email protected]
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow

Attachment: pom.xml.patch
Description: Binary data

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

Reply via email to