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@xxxxxxxx Boulder, CO 80301 http://www.nwra.com _______________________________________________ java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx