[Portfolio] Error building portfolio

Maurer, Christopher Wayne chmaurer at iupui.edu
Fri Nov 5 09:58:07 PDT 2010


David,
Is this a fresh source checkout or was it already existing?  It looks to
me like it was in an existing build, possibly prior to the start of 2.8
and therefore you have no 2.9-SNAPSHOT artifacts in your repo.  I'd
suggest updating and doing a full rebuild (into a fresh tomcat).

Chris

On 11/5/10 3:05 AM, "DAVID ROLDAN MARTINEZ" <darolmar at upvnet.upv.es> wrote:

>         Hi all,
>
>        I've just updated OSP module. When I try to deploy it, I'm always
>getting the error bellow. Any idea of what is happening? I need to build
>portfolio assap because I'm about to start fixing SAK-19184.
>        Thank you very much in advance.
>        David
>
>[INFO] snapshot org.sakaiproject.jsf:jsf-widgets:2.9-SNAPSHOT: checking
>for upda
>tes from sakai-maven2-snapshots
>Downloading: 
>http://source.sakaiproject.org/maven2/org/apache/commons/xml-resolv
>er/1.2/xml-resolver-1.2.pom
>Downloading: 
>http://source.sakaiproject.org/maven2-snapshots/org/apache/commons/
>xml-resolver/1.2/xml-resolver-1.2.pom
>Downloading: 
>http://repo1.maven.org/maven2/org/apache/commons/xml-resolver/1.2/x
>ml-resolver-1.2.pom
>Downloading: 
>http://repo1.maven.org/maven2/org/apache/commons/xml-resolver/1.2/x
>ml-resolver-1.2.pom
>Downloading: 
>http://source.sakaiproject.org/maven2/javax/servlet/jsp/jsp-api/1.2
>/jsp-api-1.2.jar
>Downloading: 
>http://source.sakaiproject.org/maven2-snapshots/javax/servlet/jsp/j
>sp-api/1.2/jsp-api-1.2.jar
>Downloading: 
>http://repo1.maven.org/maven2/javax/servlet/jsp/jsp-api/1.2/jsp-api
>-1.2.jar
>Downloading: 
>http://repo1.maven.org/maven2/javax/servlet/jsp/jsp-api/1.2/jsp-api
>-1.2.jar
>Downloading: 
>http://source.sakaiproject.org/maven2/javax/servlet/jsp/jstl/jstl/1
>.1/jstl-1.1.jar
>Downloading: 
>http://source.sakaiproject.org/maven2-snapshots/javax/servlet/jsp/j
>stl/jstl/1.1/jstl-1.1.jar
>Downloading: 
>http://repo1.maven.org/maven2/javax/servlet/jsp/jstl/jstl/1.1/jstl-
>1.1.jar
>Downloading: 
>http://repo1.maven.org/maven2/javax/servlet/jsp/jstl/jstl/1.1/jstl-
>1.1.jar
>[INFO] 
>------------------------------------------------------------------------
>[ERROR] BUILD ERROR
>[INFO] 
>------------------------------------------------------------------------
>[INFO] Failed to resolve artifact.
>
>Missing:
>----------
>1) javax.servlet.jsp:jsp-api:jar:1.2
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=javax.servlet.jsp
>-DartifactId=jsp-api
>-Dversion=1.2 -Dpackaging=jar -Dfile=/path/to/file
>
>  Alternatively, if you host your own repository you can deploy the file
>there:
>
>      mvn deploy:deploy-file -DgroupId=javax.servlet.jsp
>-DartifactId=jsp-api -D
>version=1.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
>-DrepositoryId=[id]
>
>
>  Path to dependency:
>        1) org.sakaiproject.osp:osp-common-tool-lib:jar:2.9-SNAPSHOT
>        2) org.sakaiproject.jsf:jsf-widgets-sun-depend:pom:2.9-SNAPSHOT
>        3) org.sakaiproject.jsf:jsf-widgets-sun:jar:2.9-SNAPSHOT
>        4) javax.faces:jsf-api:jar:1.1_02
>        5) javax.servlet.jsp:jsp-api:jar:1.2
>
>2) javax.servlet.jsp.jstl:jstl:jar:1.1
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=javax.servlet.jsp.jstl
>-DartifactId=jst
>l -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
>
>  Alternatively, if you host your own repository you can deploy the file
>there:
>
>      mvn deploy:deploy-file -DgroupId=javax.servlet.jsp.jstl
>-DartifactId=jstl
>-Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
>-DrepositoryId=[i
>d]
>
>  Path to dependency:
>        1) org.sakaiproject.osp:osp-common-tool-lib:jar:2.9-SNAPSHOT
>        2) org.sakaiproject.jsf:jsf-widgets-sun-depend:pom:2.9-SNAPSHOT
>        3) org.sakaiproject.jsf:jsf-widgets-sun:jar:2.9-SNAPSHOT
>        4) javax.faces:jsf-api:jar:1.1_02
>        5) javax.servlet.jsp.jstl:jstl:jar:1.1
>
>----------
>2 required artifacts are missing.
>
>for artifact:
>  org.sakaiproject.osp:osp-common-tool-lib:jar:2.9-SNAPSHOT
>
>from the specified remote repositories:
>  default (http://repo1.maven.org/maven2),
>  sakai-maven (http://source.sakaiproject.org/maven2),
>  sakai-maven2-snapshots
>(http://source.sakaiproject.org/maven2-snapshots),
>  central (http://repo1.maven.org/maven2)
>
>
>
>[INFO] 
>------------------------------------------------------------------------
>[INFO] For more information, run Maven with the -e switch
>[INFO] 
>------------------------------------------------------------------------
>[INFO] Total time: 1 minute 32 seconds
>[INFO] Finished at: Fri Nov 05 07:55:18 CET 2010
>[INFO] Final Memory: 45M/302M
>[INFO] 
>------------------------------------------------------------------------
>E:\sakai\sakai-trunk\osp>
>_______________________________________________
>portfolio mailing list
>portfolio at collab.sakaiproject.org
>http://collab.sakaiproject.org/mailman/listinfo/portfolio
>
>TO UNSUBSCRIBE: send email to
>portfolio-unsubscribe at collab.sakaiproject.org with a subject of
>"unsubscribe"



More information about the portfolio mailing list