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 Android part must be deleted 
from the sources? What do you think ?
...
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.004 s
[INFO] Finished at: 2017-11-01T19:15:50+01:00
[INFO] Final Memory: 13M/144M
[INFO] ------------------------------------------------------------------------
[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] 
/home/martin/rpmbuild/BUILD/okhttp-parent-3.9.0/okhttp/src/main/java/okhttp3/internal/platform/AndroidPlatform.java:[41,19]
 error: class, interface, or enum expected
[ERROR] 
/home/martin/rpmbuild/BUILD/okhttp-parent-3.9.0/okhttp/src/main/java/okhttp3/internal/platform/AndroidPlatform.java:[43,2]
 error: class, interface, or enum expected
[ERROR] 
/home/martin/rpmbuild/BUILD/okhttp-parent-3.9.0/okhttp/src/main/java/okhttp3/internal/platform/AndroidPlatform.java:[45,19]
 error: class, interface, or enum expected
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to