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?

--Gary

-----Original Message-----
From: [email protected] [mailto:[email protected]] 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:im
> 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
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs
<settings>
 <profiles>
   <profile>
     <id>xwiki</id>
     <repositories>
       <repository>
         <id>xwiki-snapshots</id>
         <name>XWiki Nexus Snapshot Repository Proxy</name>
         <url>http://nexus.xwiki.org/nexus/content/groups/public-snapshots</url>
         <releases>
           <enabled>false</enabled>
         </releases>
         <snapshots>
           <enabled>true</enabled>
         </snapshots>
       </repository>
       <repository>
         <id>xwiki-releases</id>
         <name>XWiki Nexus Releases Repository Proxy</name>
         <url>http://nexus.xwiki.org/nexus/content/groups/public</url>
         <releases>
           <enabled>true</enabled>
         </releases>
         <snapshots>
           <enabled>false</enabled>
         </snapshots>
       </repository>
     </repositories>
     <pluginRepositories>
       <pluginRepository>
         <id>xwiki-plugins-snapshots</id>
         <name>XWiki Nexus Plugin Snapshot Repository Proxy</name>
         <url>http://nexus.xwiki.org/nexus/content/groups/public-snapshots</url>
         <releases>
           <enabled>false</enabled>
         </releases>
         <snapshots>
           <enabled>true</enabled>
         </snapshots>
       </pluginRepository>
       <pluginRepository>
         <id>xwiki-plugins-releases</id>
         <name>XWiki Nexus Plugin Releases Repository Proxy</name>
         <url>http://nexus.xwiki.org/nexus/content/groups/public</url>
         <releases>
           <enabled>true</enabled>
         </releases>
         <snapshots>
           <enabled>false</enabled>
         </snapshots>
       </pluginRepository>
     </pluginRepositories>
   </profile>
 </profiles>
 <activeProfiles>
   <activeProfile>xwiki</activeProfile>
 </activeProfiles>
</settings>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to