[Building Sakai] Problem in building S akai 2.5
Steve Swinsburg
s.swinsburg at lancaster.ac.uk
Thu Apr 30 01:01:32 PDT 2009
Hi,
Might just be a typo but you've installed it as
DartifactId=commonsbeanutils, when it should be DartifactId=commons-
beanutils:
You have:
> mvn install:install-file -DgroupId=commons-beanutils -
> DartifactId=commonsbeanutils -Dversion=1.7.0 -Dpackaging=jar -
> Dfile=C:\downloads\commons-beanutils-1.7.0.jar
Maven asks for:
> mvn install:install-file -DgroupId=commons-beanutils -
> DartifactId=commons-
> beanutils -Dversion=1.7.0 -Dpackaging=jar -Dfile=/path/to/file
cheers,
Steve
On 30/04/2009, at 8:37 AM, m_yaghmaie at modares.ac.ir wrote:
> Hi,
>
> I have a problem in building the Sakai source 2.5.3. >From maven
> 2.0.9 log (attached to the end of email) I can see that "commons-
> beanutils:commons-beanutils:jar:1.7.0" is missing. So I followed the
> instruction and downloaded this jar file and used maven to install it:
> mvn install:install-file -DgroupId=commons-beanutils -
> DartifactId=commonsbeanutils -Dversion=1.7.0 -Dpackaging=jar -
> Dfile=C:\downloads\commons-beanutils-1.7.0.jar
>
> The installation seems to finish successfully since no error or
> warning is shown. But when I build the source again, maven keeps
> prompting the same error ('Some artifacts are missing: commons-
> beanutils:jar:1.7.0').
> Would you please help me through this?
>
> Maven Log:
> Missing:
> ----------
> 1) commons-beanutils:commons-beanutils:jar:1.7.0
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=commons-beanutils -
> DartifactId=commons-
> beanutils -Dversion=1.7.0 -Dpackaging=jar -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the
> file there:
>
> mvn deploy:deploy-file -DgroupId=commons-beanutils -
> DartifactId=commons-be
> anutils -Dversion=1.7.0 -Dpackaging=jar -Dfile=/path/to/file -
> Durl=[url] -Drepos
> itoryId=[id]
>
> Path to dependency:
> 1) org.sakaiproject:sakai-jsf-widgets-myfaces:jar:2.5.3
> 2) org.apache.myfaces.core:myfaces-api:jar:1.1.5
> 3) commons-beanutils:commons-beanutils:jar:1.7.0
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
> org.sakaiproject:sakai-jsf-widgets-myfaces:jar:2.5.3
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> apache-repo (http://myfaces.zones.apache.org/dist/maven-repository),
> sakai-ibiblio-mirror (http://source.sakaiproject.org/maven2-
> ibiblio),
> default (http://repo1.maven.org/maven2),
> sakai-maven (http://source.sakaiproject.org/maven2)
>
> Thanks in advance,
> Mahkameh
> _______________________________________________
> 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 --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2437 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090430/fa2999f7/attachment.bin
More information about the sakai-dev
mailing list