Sergiu,
Must have been a problem of timing, hitting the server while it was down. I
ran a clean and then re-ran install (in order to get a complete log using
-l) and it succeeded this time. FWIW, there's no reference to
xwiki-commons-tools in the build output.
--Gary
-----Original Message-----
From: devs-bounces(a)xwiki.org [mailto:devs-bounces@xwiki.org] On Behalf Of
Sergiu Dumitriu
Sent: Tuesday, July 24, 2012 12:21 PM
To: XWiki Developers
Subject: Re: [xwiki-devs] Enterprise Build Problem (quartz?)
On 07/24/2012 01:52 PM, Gary Kopp wrote:
Vincent,
Stop spoiling me with such rapid responses <g>. I built settings.xml
from the one shown at
http://dev.xwiki.org/xwiki/bin/view/Community/Building.
I've attached my copy for reference (which simply
duplicates what is
on that web page). I know it is being read by Maven, because install
ran forever, downloading quite a bit before finally failing. So, is
this settings.xml missing one or more needed repositories?
The file looks correct, it is exactly what I have.
Maybe the location is not the right one? Maybe you tried to build at a time
when the nexus machine was down?
In the console, there should be some lines above looking like:
Downloading:
http://nexus.xwiki.org/nexus/content/groups/public-snapshots/org/xwiki
/commons/xwiki-commons-tools/4.2-SNAPSHOT/xwiki-commons-tools-4.2-2012
0724.053917-102.pom
Downloaded:
http://nexus.xwiki.org/nexus/content/groups/public-snapshots/org/xwiki
/commons/xwiki-commons-tools/4.2-SNAPSHOT/xwiki-commons-tools-4.2-2012
0724.053917-102.pom (3 KB at 4.9 KB/sec)
Do you have the "Downloading" part? If not, then it means that the
configuration for the nexus repository is not taken into account ->
settings.xml is ignored somehow.
Do you have the "Downloaded" part, or does it fail to download resources
from the server? If it's not downloading them, then the server was
unreachable. Can you open
http://nexus.xwiki.org/nexus/content/groups/public/ in a browser?
--Gary
-----Original Message-----
From: devs-bounces(a)xwiki.org [mailto:devs-bounces@xwiki.org] On Behalf
Of Vincent Massol
Sent: Tuesday, July 24, 2012 11:42 AM
To: XWiki Developers
Subject: Re: [xwiki-devs] Enterprise Build Problem (quartz?)
Hi Gary,
On Jul 24, 2012, at 7:35 PM, Gary Kopp wrote:
I finally found and fixed my stupid error in
getting XWiki builds to
run from the command line (the presence of non-breaking space
characters in settings.xml I copied and pasted from the web page), so
I decided to start at the top and run mvn install against
xwiki-enterprise. I didn't use any profile, although maybe I should.
The
build reported the following failure:
[ERROR] Failed to execute goal
org.xwiki.platform:xwiki-platform-tool-packager-plugin:4.2-SNAPSHOT:i
m
port
(default) on p
roject xwiki-enterprise-database-hsqldb: Execution default of goal
org.xwiki.platform:xwiki-platform-tool-packager-plugi
n:4.2-SNAPSHOT:import failed: Plugin
org.xwiki.platform:xwiki-platform-tool-packager-plugin:4.2-SNAPSHOT
or one of its d ependencies could not be resolved: The following
artifacts could not be
resolved: org.opensymphony.quartz:quartz:jar:1.6
.5, com.google:googleapi:jar:xwiki:UNKNOWN,
info.informatica:css4j:jar:0.13, info.informatica:jclf:jar:2.3.0,
jtidy:jtid y:jar:8.0-20060801.131059-3-dev,
org.codehaus.swizzle:swizzle-confluence:jar:xwiki:1.2-20080419,
com.yahoo.platform.yui:
yuicompressor:jar:2.4.2-xwiki,
edu.emory.mathcs.util:emory-util-classloader:jar:2.1,
edu.emory.mathcs.util:emory-util-io
:jar:2.1, edu.emory.mathcs.util:emory-util-security:jar:2.1,
uk.ac.ed.ph.snuggletex:snuggletex-core:jar:1.1.0, uk.ac.ed.
ph.snuggletex:snuggletex-jeuclid:jar:1.1.0,
org.artofsolving.jodconverter:jodconverter-core:jar:3.0-beta-4-xwiki-
2
011082
2: Could not find artifact org.opensymphony.quartz:quartz:jar:1.6.5
in central (
http://repo.maven.apache.org/maven2) ->
The reason all those JARs are not found is because the XWiki Remote
Maven Repository is not active in your settings.xml somehow (all those
jars are in our repo).
Thanks
-Vincent
> I guess if you distill that all down Maven is really complaining
> about the quartz jar. I'm running Maven 3.0.4 on 64-bit Windows 7
> with JDK 1.7. I used the master branch, which I re-pulled a couple of
> hours ago. Did I miss a step?
>
> --Gary
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs