axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Veithen <andreas.veit...@gmail.com>
Subject Re: [AXIS2] Some project builds fail if goal "clean" is not used
Date Tue, 19 Sep 2017 20:39:21 GMT
I've sent a pull request with a proper fix for jaxb2-maven-plugin:

https://github.com/mojohaus/jaxb2-maven-plugin/pull/94

Andreas

On Tue, Sep 19, 2017 at 9:30 AM, Thorsten Schöning
<tschoening@am-soft.de> wrote:
> 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: Thorsten.Schoening@AM-SoFT.de
> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message