Re: Building of OkHttp 3.9.0 fails

2017-11-02 Thread Martin Gansser
%pom_disable_plugin isn't a existing command, but %pom_remove_plugin is a existing macro, that i have already in the spec file. %pom_remove_plugin org.codehaus.mojo:animal-sniffer-maven-plugin ___ devel mailing list -- devel@lists.fedoraproject.org To

Re: Building of OkHttp 3.9.0 fails

2017-11-02 Thread Martin Gansser
i added the mentioned line, but the compilation fails. # Plugin prevents build /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin org.codehaus.mojo:animal-sniffer-maven-plugin # disabling animal-sniffer %pom_disable_plugin :animal-sniffer-maven-plugin ...

Re: Building of OkHttp 3.9.0 fails

2017-11-02 Thread Mikolaj Izdebski
On 11/02/2017 01:33 PM, Martin Gansser wrote: > maybe i'am wrong, i have added this 3 lines to delete the sample modules. > > %pom_disable_module guide samples > %pom_disable_module simple-client samples > %pom_disable_module slack samples > > the package build breaking at the end ... > [1]

Re: Building of OkHttp 3.9.0 fails

2017-11-02 Thread Martin Gansser
maybe i'am wrong, i have added this 3 lines to delete the sample modules. %pom_disable_module guide samples %pom_disable_module simple-client samples %pom_disable_module slack samples the package build breaking at the end ... [1] https://martinkg.fedorapeople.org/Packages/okhttp3/okhttp.spec [2]

Re: Building of OkHttp 3.9.0 fails

2017-11-02 Thread Jonny Heggheim
On 11/02/2017 10:31 AM, Martin Gansser wrote: > Hi, > > i just took the old patch from okhttp2 and port it to okhttp3. Then it makes sense, looks like Platform.java was splitted into several smaller files. > Now i have updated okio to 1.13.0 on my local machine and took your patch. > > the

Re: Building of OkHttp 3.9.0 fails

2017-11-02 Thread Martin Gansser
Hi, i just took the old patch from okhttp2 and port it to okhttp3. Now i have updated okio to 1.13.0 on my local machine and took your patch. the compilation breaks now at Sample: Guide [1] https://martinkg.fedorapeople.org/Packages/okhttp3/okhttp.spec [2]

Re: Building of OkHttp 3.9.0 fails

2017-11-01 Thread Jonny Heggheim
On 11/01/2017 09:46 PM, Jonny Heggheim wrote: > It looks like your patch is corrupting AndroidPlatform.java, how/why did > you create it? Or did you port it from okhttp2? I think this patch would work better https://jonny.fedorapeople.org/okhttp-3.9.0-rm-android-stuff.patch Another issue; is

Re: Building of OkHttp 3.9.0 fails

2017-11-01 Thread Jonny Heggheim
Hi Martin! On 11/01/2017 07:22 PM, Martin Gansser wrote: > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile > (default-compile) on project okhttp: Compilation failure: Compilation failure: > [ERROR] >

Re: Building of OkHttp 3.9.0 fails

2017-11-01 Thread Martin Gansser
thanks for your explanation, i added the two line as you mentioned. %pom_xpath_remove 'pom:plugin[pom:artifactId="maven-compiler-plugin"]//pom:compilerId' %pom_xpath_remove 'pom:plugin[pom:artifactId="maven-compiler-plugin"]//pom:dependencies' have the next bugs to do with the fact that the

Re: Building of OkHttp 3.9.0 fails

2017-11-01 Thread Michael Šimáček
On 2017-11-01 15:45, Martin Gansser wrote: Hi, when trying to compile okhttp with the okhttp.spec file from [1] i get this error messages: ... [WARNING] Some problems were encountered while building the effective model for com.squareup.okhttp3.sample:guide:jar:3.9.0 [WARNING]

Building of OkHttp 3.9.0 fails

2017-11-01 Thread Martin Gansser
Hi, when trying to compile okhttp with the okhttp.spec file from [1] i get this error messages: ... [WARNING] Some problems were encountered while building the effective model for com.squareup.okhttp3.sample:guide:jar:3.9.0 [WARNING] 'build.plugins.plugin.version' for