[Building Sakai] 3akai Build Error
jjohnson at wustl.edu
jjohnson at wustl.edu
Mon Aug 17 08:04:12 PDT 2009
I'm getting an error trying to build 3akai Milestone 1 release. I've tried
starting with the .zip sakai-src archive as well getting the code through
Subversion. In either case, I will end up with the error listed below, as
one of the resources isn't in the archives, and isn't on the source
website.
I'm not a Subversion/Maven expert (far from it--I just follow the
cookbook), so I don't know how to proceed.
Any suggestions, or is the problem with the project definitions?
Thanks!
Maven build error:
[INFO]
------------------------------------------------------------------------
[INFO] Building sakai-sections-integrationsupport
[INFO] task-segment: [clean, install, sakai:deploy]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources,
i.e. build is platform dependent!
[INFO] Copying 3 resources
Downloading:
http://source.sakaiproject.org/maven2/org/sakaiproject/kernel/impl
sakai-util-impl/1.0RC2-SNAPSHOT/sakai-util-impl-1.0RC2-SNAPSHOT.pom
[INFO] Unable to find resource
'org.sakaiproject.kernel.impl:sakai-util-impl:po
:1.0RC2-SNAPSHOT' in repository sakai-maven (
http://source.sakaiproject.org/mav
n2)
Downloading:
http://source.sakaiproject.org/maven2/org/sakaiproject/kernel/impl
sakai-util-impl/1.0RC2-SNAPSHOT/sakai-util-impl-1.0RC2-SNAPSHOT.jar
[INFO] Unable to find resource
'org.sakaiproject.kernel.impl:sakai-util-impl:ja
:1.0RC2-SNAPSHOT' in repository sakai-maven (
http://source.sakaiproject.org/mav
n2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.sakaiproject.kernel.impl:sakai-util-impl:jar:1.0RC2-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.sakaiproject.kernel.impl
-Dartifac
Id=sakai-util-impl -Dversion=1.0RC2-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/fi
e
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.sakaiproject.kernel.impl
-DartifactI
=sakai-util-impl -Dversion=1.0RC2-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1)
org.sakaiproject:sakai-sections-integrationsupport:jar:3.0.0-milesto
e01
2)
org.sakaiproject.kernel.impl:sakai-util-impl:jar:1.0RC2-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.sakaiproject:sakai-sections-integrationsupport:jar:3.0.0-milestone01
from the specified remote repositories:
default (http://repo1.maven.org/maven2),
central (http://repo1.maven.org/maven2),
sakai-maven (http://source.sakaiproject.org/maven2),
sakai-ibiblio-mirror (http://source.sakaiproject.org/maven2-ibiblio),
apache-repo (http://myfaces.zones.apache.org/dist/maven-repository)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 minutes 16 seconds
[INFO] Finished at: Sun Aug 16 23:19:06 CDT 2009
[INFO] Final Memory: 312M/558M
[INFO]
------------------------------------------------------------------------
C:\opt\sakai-src>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090817/4d01a329/attachment.html
More information about the sakai-dev
mailing list