Thanks. That appears to work. However, this is all black magic to me, and it
is not something that I can suggest to upstream. What is this doing that
fixes the javadoc build, and can I achieve the same via mvn?
On 11/20/2016 02:00 PM, gil wrote:
> Sorry for the noise
>
> can you use:
>
> xmvn --batch-mode --offline -Dproject.build.sourceEncoding=UTF-8 package
> org.fedoraproject.xmvn:xmvn-mojo:install
> org.apache.maven.plugins:maven-javadoc-plugin:aggregate
> org.fedoraproject.xmvn:xmvn-mojo:builddep
>
> and remove maven-shade-plugin to avoid bundle protobuf-java classes
>
> %pom_remove_plugin :maven-shade-plugin src/java/mesos.pom.in
>
>
> Il 20/11/2016 21:06, Orion Poplawski ha scritto:
>> I'm trying to update mesos to 1.1.0 and running into issues with the java
>> maven build. mesos runs mvn directly, so I'm having it run
>> /usr/share/xmvn/bin/mvn in order to build locally. I managed to get part of
>> it working with this, but now getting:
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar
>> (build-and-attach-javadocs) on project mesos: Execution
>> build-and-attach-javadocs of goal
>> org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar failed: Plugin
>> org.apache.maven.plugins:maven-javadoc-plugin:2.10.3 or one of its
>> dependencies could not be resolved: Failed to collect dependencies at
>> org.apache.maven.plugins:maven-javadoc-plugin:jar:2.10.3 ->
>> org.apache.maven.doxia:doxia-site-renderer:jar:1.4 ->
>> org.apache.velocity:velocity-tools:jar:2.0 ->
>> commons-chain:commons-chain:jar:1.1 ->
>> org.jboss.spec.javax.faces:jboss-jsf-api_2.1_spec:jar:any ->
>> com.sun:tools:jar:any: Failed to read artifact descriptor for
>> com.sun:tools:jar:any: Could not transfer artifact com.sun:tools:pom:any
>> from/to central (https://repo.maven.apache.org/maven2) No connector
>> factories available -> [Help 1]
>>
>> As I understand it, com.sun:tools is really provided by the jdk itself and
>> so should be resolved.
>>
>> Any thoughts?
>>
>> http://koji.fedoraproject.org/koji/taskinfo?taskID=16548766
>> https://www.cora.nwra.com/~orion/fedora/mesos-1.1.0-1.fc26.src.rpm
>>
>
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301 http://www.nwra.com
I'm building protobuf 3.1.0 for rawhide. The arm build is incredibly slow.
See http://koji.fedoraproject.org/koji/taskinfo?taskID=16512668
Entire x86_64 build took 21 minutes. Steps in the isValidUtf8Test look like:
Nov 18, 2016 4:18:01 PM com.google.protobuf.IsValidUtf8TestUtil testBytes
INFO: Round tripped 18304 of 65536
Nov 18, 2016 4:18:01 PM com.google.protobuf.IsValidUtf8TestUtil testBytes
INFO: Round tripped 18304 of 65536
Nov 18, 2016 4:18:02 PM com.google.protobuf.IsValidUtf8TestUtil testBytes
It's been running for over 11.5 hours on arm, and test steps look like:
Nov 18, 2016 6:06:31 PM com.google.protobuf.IsValidUtf8TestUtil testBytes
INFO: Round tripped 18304 of 65536
Nov 18, 2016 6:07:50 PM com.google.protobuf.IsValidUtf8TestUtil testBytes
INFO: Round tripped 18304 of 65536
Nov 18, 2016 6:09:15 PM com.google.protobuf.IsValidUtf8TestUtil testBytes
and has increased in time to:
Nov 19, 2016 2:52:51 AM com.google.protobuf.IsValidUtf8TestUtil testBytes
INFO: Processed 15 million characters
Nov 19, 2016 3:15:25 AM com.google.protobuf.IsValidUtf8TestUtil testBytes
INFO: Processed 16 million characters
Nov 19, 2016 3:32:52 AM com.google.protobuf.IsValidUtf8TestUtil testBytes
INFO: Round tripped 2650112 of 16777216
Have there been any other reports of issues like this on arm?
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
I'm trying to update mesos to 1.1.0 and running into issues with the
java maven build. mesos runs mvn directly, so I'm having it run
/usr/share/xmvn/bin/mvn in order to build locally. I managed to get
part of it working with this, but now getting:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar
(build-and-attach-javadocs) on project mesos: Execution
build-and-attach-javadocs of goal
org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar failed: Plugin
org.apache.maven.plugins:maven-javadoc-plugin:2.10.3 or one of its
dependencies could not be resolved: Failed to collect dependencies at
org.apache.maven.plugins:maven-javadoc-plugin:jar:2.10.3 ->
org.apache.maven.doxia:doxia-site-renderer:jar:1.4 ->
org.apache.velocity:velocity-tools:jar:2.0 ->
commons-chain:commons-chain:jar:1.1 ->
org.jboss.spec.javax.faces:jboss-jsf-api_2.1_spec:jar:any ->
com.sun:tools:jar:any: Failed to read artifact descriptor for
com.sun:tools:jar:any: Could not transfer artifact com.sun:tools:pom:any
from/to central (https://repo.maven.apache.org/maven2) No connector
factories available -> [Help 1]
As I understand it, com.sun:tools is really provided by the jdk itself
and so should be resolved.
Any thoughts?
http://koji.fedoraproject.org/koji/taskinfo?taskID=16548766https://www.cora.nwra.com/~orion/fedora/mesos-1.1.0-1.fc26.src.rpm
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
I've just updated Maven in rawhide (Fedora 26) to latest upstream
snapshot (3.4.0). Please let me know if it causes any problems.
I'm not planning to update Maven in older Fedora versions.
Current list of changes (bugfixes, new features) can be found at Apache
JIRA:
https://issues.apache.org/jira/issues/?jql=project%20%3D%20MNG%20AND%20fixV…
--
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk