[Building Sakai] Building Sakai trunk on MacOSX (mvn 3.0.2)

Earle Nietzel earle.nietzel at gmail.com
Sat Apr 16 09:30:18 PDT 2011


Hi Stephen,

I just built trunk with maven3 successfully.

[INFO] Sakai User Membership  Project .................... SUCCESS [0.021s]
[INFO] sakai-usermembership-api .......................... SUCCESS [0.432s]
[INFO] sakai-usermembership-help ......................... SUCCESS [0.365s]
[INFO] sakai-usermembership-impl ......................... SUCCESS [0.404s]
[INFO] sakai-usermembership-pack ......................... SUCCESS [0.323s]
[INFO] sakai-usermembership-tool ......................... SUCCESS [1.113s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3:08.831s
[INFO] Finished at: Sat Apr 16 12:19:44 EDT 2011
[INFO] Final Memory: 153M/294M
[INFO]
------------------------------------------------------------------------
[urne at localhost sakai-src]$ mvn3 -version
/usr/lib/jvm/java
Apache Maven 3.0.3 (rNON-CANONICAL_2011-03-16_09-01_mockbuild; 2011-03-16
05:01:51-0400)
Maven home: /usr/share/maven
Java version: 1.6.0_22, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.38.2-9.fc15.i686.pae", arch: "i386", family:
"unix"

It looks as though your build failed in reference project and it referenced
a 2.8-SNAPSHOT so it looks like your pom is out of date maybe.

I bulit reference and here is the ouput:

[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Sakai Library Project
[INFO] Sakai Library
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building Sakai Library Project 2.9-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
reference-base ---
[INFO] Installing /home/urne/local/src/sakai-src/reference/pom.xml to
/home/urne/.m2/repository/org/sakaiproject/reference-base/2.9-SNAPSHOT/reference-base-2.9-SNAPSHOT.pom
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building Sakai Library 2.9-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
library ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/urne/local/src/sakai-src/reference/library/src/java
[INFO] skip non existing resourceDirectory
/home/urne/local/src/sakai-src/reference/library/src/bundle
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ library
---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources
(default-testResources) @ library ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/urne/local/src/sakai-src/reference/library/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
library ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.6:test (default-test) @ library ---
[INFO] No tests to run.
[INFO] Surefire report directory:
/home/urne/local/src/sakai-src/reference/library/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-war-plugin:2.0:war (default-war) @ library ---
[INFO] Exploding webapp...
[INFO] Copy webapp webResources to
/home/urne/local/src/sakai-src/reference/library/target/library-2.9-SNAPSHOT
[INFO] Assembling webapp library in
/home/urne/local/src/sakai-src/reference/library/target/library-2.9-SNAPSHOT
[INFO] Expanding:
/home/urne/.m2/repository/org/sakaiproject/sakai-fck-connector/2.9-SNAPSHOT/sakai-fck-connector-2.9-SNAPSHOT.war
into
/home/urne/local/src/sakai-src/reference/library/target/war/work/sakai-fck-connector-2.9-SNAPSHOT
[INFO] Overlaying 1 war(s).
[INFO] Generating war
/home/urne/local/src/sakai-src/reference/library/target/library-2.9-SNAPSHOT.war
[INFO] Building war:
/home/urne/local/src/sakai-src/reference/library/target/library-2.9-SNAPSHOT.war
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ library
---
[INFO] Installing
/home/urne/local/src/sakai-src/reference/library/target/library-2.9-SNAPSHOT.war
to
/home/urne/.m2/repository/org/sakaiproject/library/2.9-SNAPSHOT/library-2.9-SNAPSHOT.war
[INFO] Installing /home/urne/local/src/sakai-src/reference/library/pom.xml
to
/home/urne/.m2/repository/org/sakaiproject/library/2.9-SNAPSHOT/library-2.9-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Sakai Library Project ............................. SUCCESS [0.334s]
[INFO] Sakai Library ..................................... SUCCESS [4.697s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5.773s
[INFO] Finished at: Sat Apr 16 12:24:55 EDT 2011
[INFO] Final Memory: 9M/309M
[INFO]
------------------------------------------------------------------------



On Sat, Apr 16, 2011 at 6:42 AM, Stephen Marquard <
stephen.marquard at uct.ac.za> wrote:

> This fails for me at the moment. I thought trunk was now buildable with
> maven3?
>
> Apache Maven 3.0.2 (r1056850; 2011-01-09 02:58:10+0200)
> Java version: 1.6.0_24, vendor: Apple Inc.
> Java home:
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x", version: "10.6.7", arch: "x86_64", family: "mac"
>
> Any ideas? Also I would have thought that 2.8 dependencies shouldn't be
> showing up in trunk (2.9).
>
> [INFO] Scanning for projects...
> Downloading:
>
> http://source.sakaiproject.org/maven2/org/sakaiproject/maven/plugins/sakai/1.2.0/sakai-1.2.0.pom
> Downloaded:
>
> http://source.sakaiproject.org/maven2/org/sakaiproject/maven/plugins/sakai/1.2.0/sakai-1.2.0.pom
> (3 KB at 0.9 KB/sec)
> Downloading:
>
> http://source.sakaiproject.org/maven2/org/sakaiproject/maven/plugins/1.2.0/plugins-1.2.0.pom
> Downloaded:
>
> http://source.sakaiproject.org/maven2/org/sakaiproject/maven/plugins/1.2.0/plugins-1.2.0.pom
> (2 KB at 0.6 KB/sec)
> Downloading:
>
> http://source.sakaiproject.org/maven2/org/sakaiproject/maven/plugins/sakai/1.2.0/sakai-1.2.0.jar
> Downloaded:
>
> http://source.sakaiproject.org/maven2/org/sakaiproject/maven/plugins/sakai/1.2.0/sakai-1.2.0.jar
> (33 KB at 12.7 KB/sec)
> Downloading:
>
> http://source.sakaiproject.org/maven2-snapshots/org/sakaiproject/kernel/1.3.0-SNAPSHOT/maven-metadata.xml
> Downloaded:
>
> http://source.sakaiproject.org/maven2-snapshots/org/sakaiproject/kernel/1.3.0-SNAPSHOT/maven-metadata.xml
> (314 B at 0.2 KB/sec)
> Downloading:
>
> http://source.sakaiproject.org/maven2-snapshots/org/sakaiproject/kernel/1.3.0-SNAPSHOT/kernel-1.3.0-SNAPSHOT.pom
> Downloaded:
>
> http://source.sakaiproject.org/maven2-snapshots/org/sakaiproject/kernel/1.3.0-SNAPSHOT/kernel-1.3.0-SNAPSHOT.pom
> (45 KB at 20.9 KB/sec)
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project org.sakaiproject:reference-base:2.8-SNAPSHOT
> (/data/build/sakai2/reference/pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact
> org.sakaiproject:base:pom:2.8-SNAPSHOT and 'parent.relativePath' points
> at wrong local POM @ line 4, column 11 -> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [ERROR] [Help 2]
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
>
> Cheers
> Stephen
>
>
>
> --
> Stephen Marquard, Learning Technologies Co-ordinator
> Centre for Educational Technology, University of Cape Town
> http://www.cet.uct.ac.za
> Email / IM (Jabber/XMPP): stephen.marquard at uct.ac.za
> Phone: +27-21-650-5037 Cell: +27-83-500-5290
>
>
>
>
>
> ###
> UNIVERSITY OF CAPE TOWN
>
> This e-mail is subject to the UCT ICT policies and e-mail disclaimer
> published on our website at
> http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from
> +27 21 650 9111. This e-mail is intended only for the person(s) to whom
> it is addressed. If the e-mail has reached you in error, please notify
> the author. If you are not the intended recipient of the e-mail you may
> not use, disclose, copy, redirect or print the content. If this e-mail
> is not related to the business of UCT it is sent by the sender in the
> sender's individual capacity.
>
> ###
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110416/ebb1c7fb/attachment.html 


More information about the sakai-dev mailing list